MCPHerramientas MCP/Seguimiento de posicionamiento SEO/download_seo_report

download_seo_report

Readlistings:read

Build the branded, section-configurable SEO ranking report — the same "Download Report" action in the app. Returns rendered HTML, not a binary PDF file: there's no headless-Chrome renderer available server-side, so turning this into an actual PDF (as the app's own UI does, client-side) is on the caller. preset controls the date window (e.g. "lastMonth"; pass from/to instead for a custom range). sections lets you include/exclude report sections by key: coverPage, executiveSummary, performanceSnapshot, agencyActivityLog, gridRankSnapshots, keywordPerformanceTable, monthOverMonthTrend, competitorLandscape, aiRecommendations — omitted keys use the report's own defaults. Distinct from generate_seo_report, which only enqueues a background rank-grid scan and returns no document.

Parámetros
locationIdstringobligatorio
Location id — the id from list_locations. Either id shape works. Required.
preset"lastMonth" | "last3Months" | "last6Months" | "last12Months" | "custom"opcional
Date-range preset (default "lastMonth"). Use "custom" with from/to for an arbitrary range.
fromstringopcional
Custom range start (ISO date). Requires to.
tostringopcional
Custom range end (ISO date). Requires from.
keywordsstring[]opcional
Limit to these tracked keyword ids (from get_ranking_overview's keywords[]). Omit for all.
sectionsobjectopcional
Which report sections to include, by key (see the tool description for the full key list). Omitted keys use the report's own defaults.
coverPagebooleanopcional
Include the coverPage section.
executiveSummarybooleanopcional
Include the executiveSummary section.
performanceSnapshotbooleanopcional
Include the performanceSnapshot section.
agencyActivityLogbooleanopcional
Include the agencyActivityLog section.
gridRankSnapshotsbooleanopcional
Include the gridRankSnapshots section.
keywordPerformanceTablebooleanopcional
Include the keywordPerformanceTable section.
monthOverMonthTrendbooleanopcional
Include the monthOverMonthTrend section.
competitorLandscapebooleanopcional
Include the competitorLandscape section.
aiRecommendationsbooleanopcional
Include the aiRecommendations section.
notesstringopcional
Free-text notes to include on the report.
locale"en" | "es" | "fr" | "de" | "pt"opcional
Language for the rendered report (default "en").
Solicitud de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "download_seo_report",
    "arguments": {
      "locationId": "string"
    }
  }
}
Respuesta de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forma de la respuesta se muestra a modo ilustrativo — el contenido real depende de la herramienta y de tus datos.