MCPHerramientas MCP/Ubicaciones/list_location_media

list_location_media

Readlocations:read

List locations together with their photos, newest first. Same filters as list_locations (client, status, tags, categories, verification, search, created range) — use it to answer things like "which locations have no photos?" or "show the media for this client's active locations". Each row has the location's id, name, logo, full media grouped by category, and a photo count. Returns up to 100 per page with a `nextCursor` for more. You don't pass an agency — it comes from your credentials.

Parámetros
clientIdstringopcional
Limit to a single client's locations. Omit for all of the agency's locations.
searchstringopcional
Free-text search over name, street address, city, or phone.
status"all" | "active" | "archived" | "archival_pending" | "verification_pending" | "unapproved" | "requires_action"opcional
A single status bucket: "all", "active", "archived", "archival_pending", "verification_pending", "unapproved", "requires_action".
tagsstring[]opcional
Internal tags — matches a location that has any of these.
categoriesstring[]opcional
Category names — matches a location whose general or Google category is any of these.
verification("verified" | "pending" | "unverified" | "unknown")[]opcional
Google verification: "verified", "pending", "unverified", "unknown".
createdAfterstringopcional
Only locations created on or after this date (e.g. "2026-01-01").
createdBeforestringopcional
Only locations created on or before this date.
cursorstringopcional
Leave empty for the first page; pass the previous `nextCursor` for the next page.
limitnumberopcional
How many locations per page (1–100, default 100).
Solicitud de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_location_media",
    "arguments": {}
  }
}
Respuesta de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forma de la respuesta se muestra a modo ilustrativo — el contenido real depende de la herramienta y de tus datos.