MCPFerramentas MCP/Rastreamento de ranking 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. The app's rules apply: gridSize 3, 5 or 7; distanceKm 0.4 to 8; excluded cells on the grid, leaving at least one point on. Anything else is refused (nothing is saved), never ignored. 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.
Parâmetros
locationIdstringobrigatório
Location database ID or public loc_ ID from list_locations. Required. Accepts the database ID or public loc- ID. IDs must belong to the authenticated agency and permitted client.
gridSize3 | 5 | 7opcional
Grid size: 3, 5 or 7.
distanceKmnumberopcional
Distance between grid points in km, 0.4 to 8.
excludedobject[]opcional
Grid points to exclude from measurement, as {row, col} pairs.
rownumberopcional
Row index, 0-indexed.
colnumberopcional
Column index, 0-indexed.
includeWaterPointsbooleanopcional
Whether water grid points count toward stats.
Exemplo de solicitação
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_seo_grid_config",
"arguments": {
"locationId": "string"
}
}
}Exemplo de resposta
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}O formato da resposta é ilustrativo — o conteúdo real depende da ferramenta e dos seus dados.