MCPOutils MCP/Suivi du positionnement SEO/update_seo_grid_config
update_seo_grid_config
Writelistings:write
Update a location's rank-grid measurement config: grid size, distance between points, excluded grid points, or whether water points count toward stats (includeWaterPoints — water cells are always scraped either way; this only controls whether they're counted and shown). Pass only the fields you want to change. Config set here takes effect going forward, same as passing gridSize/distanceKm/excluded to add_seo_keywords the first time a location's grid is configured.
Paramètres
locationIdstringobligatoire
Location id — the id from list_locations. Either id shape works. Required.
gridSize3 | 5 | 7facultatif
Grid size.
distanceKmnumberfacultatif
Distance between grid points in km.
excludedobject[]facultatif
Grid points to exclude from measurement, as {row, col} pairs.
rownumberfacultatif
Row index, 0-indexed.
colnumberfacultatif
Column index, 0-indexed.
includeWaterPointsbooleanfacultatif
Whether water grid points count toward stats.
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_seo_grid_config",
"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.