MCPHerramientas MCP/Multimedia/list_google_location_media

list_google_location_media

Readmedia:read

List the Google Business Profile photos already STORED for locations: owner-uploaded (kind "owner") and customer-contributed (kind "ugc"). Returns each photo's Google URL, full Google media id, Google category (or null), kind, when it was uploaded to Google (uploadedAt), its caption, size and view count, the customer who posted it (customer photos only), the location it belongs to, and the stored coverage/freshness of the last Google refresh (null means unknown or never attempted, never "complete"). Stored-only: it never calls Google or starts a sync (use fetch_gbp_media to refresh). Pass locationId for one location, clientId for one client; filter by kind, category and upload date (uploadedAfter/uploadedBefore); sort=uploaded for newest Google uploads first; page with the returned nextCursor.

Parámetros
locationIdstringopcional
Location id (any form from list_locations). Omit to read every location you can access. Accepts the database ID or public loc- ID. IDs must belong to the authenticated agency and permitted client.
clientIdstringopcional
Client id (from list_clients) to scope to. Must own locationId when both are given. Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
kind"owner" | "ugc"opcional
owner = business-uploaded photos, ugc = customer-contributed photos. Omit for both.
categorystringopcional
Google category, or several comma-separated (e.g. EXTERIOR,TEAMS). Case-insensitive.
uploadedAfterstringopcional
Only photos uploaded to Google at or after this ISO date/time (e.g. 2026-01-01).
uploadedBeforestringopcional
Only photos uploaded to Google before this ISO date/time.
sort"recent" | "uploaded"opcional
recent (default) = newest stored first; uploaded = newest Google upload first.
limitnumberopcional
Page size, a whole number from 1 to 100. Default 50.
cursorstringopcional
nextCursor from the previous page. Only valid with the same filters.
Solicitud de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_google_location_media",
    "arguments": {
      "locationId": "loc_456",
      "kind": "owner",
      "limit": 25
    }
  }
}
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.