MCPOutils MCP/Suivi du positionnement 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.

Paramètres
locationIdstringobligatoire
Location id — the id from list_locations. Either id shape works. Required.
preset"lastMonth" | "last3Months" | "last6Months" | "last12Months" | "custom"facultatif
Date-range preset (default "lastMonth"). Use "custom" with from/to for an arbitrary range.
fromstringfacultatif
Custom range start (ISO date). Requires to.
tostringfacultatif
Custom range end (ISO date). Requires from.
keywordsstring[]facultatif
Limit to these tracked keyword ids (from get_ranking_overview's keywords[]). Omit for all.
sectionsobjectfacultatif
Which report sections to include, by key (see the tool description for the full key list). Omitted keys use the report's own defaults.
coverPagebooleanfacultatif
Include the coverPage section.
executiveSummarybooleanfacultatif
Include the executiveSummary section.
performanceSnapshotbooleanfacultatif
Include the performanceSnapshot section.
agencyActivityLogbooleanfacultatif
Include the agencyActivityLog section.
gridRankSnapshotsbooleanfacultatif
Include the gridRankSnapshots section.
keywordPerformanceTablebooleanfacultatif
Include the keywordPerformanceTable section.
monthOverMonthTrendbooleanfacultatif
Include the monthOverMonthTrend section.
competitorLandscapebooleanfacultatif
Include the competitorLandscape section.
aiRecommendationsbooleanfacultatif
Include the aiRecommendations section.
notesstringfacultatif
Free-text notes to include on the report.
locale"en" | "es" | "fr" | "de" | "pt"facultatif
Language for the rendered report (default "en").
Exemple de requête
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "download_seo_report",
    "arguments": {
      "locationId": "string"
    }
  }
}
Exemple de réponse
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forme de la réponse est indicative — le contenu réel dépend de l'outil et de vos données.