MCPFerramentas MCP/Anúncios em diretórios/get_listing_issues

get_listing_issues

Readlistings:read

What blocks a location's listings, as a deduplicated list of FIXES (not listings): each issue is one edit, sign-in or outside step, with `problem`, `tier` (1 blocks publishing, 2 a rejected update, 3 preventive/unidentified), `fix` (edit section/field/tab, connect, account renew, verify, external link, or explain), `capability` (whether this caller may start it, and why not), `publishers` it would unblock and `state` (`update_in_flight` = a newer send is pending, not fixed). `reasonKey` is the publisher's reason as a message key; `reason` is its English text. With `locationId`: that location, complete. Without: a roll-up across the client (or the agency), read in pages of locations — keep calling with `cursor: page.nextCursor` and the SAME other arguments until `page.nextCursor` is null (`page.lastPage` true). `complete` and `totals` are set only when one call covered the whole scope; across several pages `totals` stays null, so never present a page's counts as the total — merge the pages' issues by `id`, fixes by `fixKey` and groups by `groupKey`, then count. `groups` folds the same problem across locations; one shared account is one group and one fix whatever each location's symptom. `clientName`/`locationCity` tell same-named locations apart. Read-only: nothing is fixed, retried or sent by this call.

Parâmetros
locationIdstringopcional
Location database ID or public loc_ ID. Omit for a roll-up. Accepts the database ID or public loc- ID. IDs must belong to the authenticated agency and permitted client.
clientIdstringopcional
Roll-up: limit to one client (from list_clients). Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
tagstringopcional
Roll-up: one internal tag NAME (from list_location_tags). A name that matches no tag returns no locations.
problemstring[]opcional
Only these problem keys.
family("access" | "identity" | "hours" | "content" | "media" | "map" | "other")[]opcional
Only these families.
qstringopcional
Roll-up: location name contains (at most 100 characters).
cursorstringopcional
Roll-up: `page.nextCursor` from the previous call, with the same arguments.
Exemplo de solicitação
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_listing_issues",
    "arguments": {}
  }
}
Exemplo de resposta
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

O formato da resposta é ilustrativo — o conteúdo real depende da ferramenta e dos seus dados.