MCPMCP Tools/Posts/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.

Parameters
locationIdstringrequired
Accepts the database ID or public loc- ID. IDs must belong to the authenticated agency and permitted client.
fromstringoptional
tostringoptional
Example request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_location_post_analytics",
    "arguments": {
      "locationId": "string"
    }
  }
}
Example response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

Response shape shown for illustration — the actual content depends on the tool and your data.