MCPOutils MCP/Avis/list_competitors
list_competitors
Readreviews:read
List competitors tracked for a location — or, with only clientId, for the whole client (the roll-up competitors shown across all its locations, the ones add_client_competitor creates): name, rating, review count, sentiment. The result says which (`scope`: location | client). Use for competitor lookup, competitive landscape.
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 the client-wide roll-up. Accepts the database ID or public loc- ID. IDs must belong to the authenticated agency and permitted client.
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_competitors",
"arguments": {
"clientId": "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.