MCPOutils MCP/Connexions/list_connection_suggestions

list_connection_suggestions

Readconnections:read

List suggested matches: fetched Google/Facebook listings the NAP scorer matched to a location that has no connection on that platform yet — the same list as Settings → Connections → Suggestions (at most one per location, best score first). Each row has the fetchedListingId to pass to confirm_suggested_match, the matched location (locationId = ClientLocation.id), the listing's platformResourceName/platformPageName and the connected account it came from. Filter by platform, clientId or locationId. Read-only.

Paramètres
platform"google" | "facebook"facultatif
Optional — google or facebook
clientIdstringfacultatif
Optional — only suggestions for this client's locations Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
locationIdstringfacultatif
Optional — only the suggestion for this location 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_connection_suggestions",
    "arguments": {}
  }
}
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.