MCPOutils MCP/Publications/get_location_post_analytics
get_location_post_analytics
Readposts:read
Read Google and Facebook local post views, clicks, daily trends and top posts for a location. Requires an active agency user with Social and owning-client access. Reads stored results only and never publishes or creates ad spend. Date filters, where supported, default to the last 30 days.
Paramètres
locationIdstringobligatoire
Accepts the database ID or public loc- ID. IDs must belong to the authenticated agency and permitted client.
fromstringfacultatif
tostringfacultatif
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_location_post_analytics",
"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.