MCPOutils MCP/Avis/get_competitor

get_competitor

Readreviews:read

Get one tracked competitor's profile (rating, review count, sentiment, etc.). Pass competitorId (from list_competitors) with clientId and locationId for a location's competitor, or with clientId alone for a client-wide roll-up competitor.

Paramètres
clientIdstringobligatoire
The client's id (from list_clients). Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
locationIdstringfacultatif
The location's id (from list_locations). Omit for a client-wide roll-up competitor. Accepts the database ID or public loc- ID. IDs must belong to the authenticated agency and permitted client.
competitorIdstringobligatoire
Competitor id from list_competitors
Exemple de requête
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_competitor",
    "arguments": {
      "clientId": "string",
      "competitorId": "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.