MCPMCP-Tools/Medien/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.

Parameter
locationIdstringoptional
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.
clientIdstringoptional
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"optional
owner = business-uploaded photos, ugc = customer-contributed photos. Omit for both.
categorystringoptional
Google category, or several comma-separated (e.g. EXTERIOR,TEAMS). Case-insensitive.
uploadedAfterstringoptional
Only photos uploaded to Google at or after this ISO date/time (e.g. 2026-01-01).
uploadedBeforestringoptional
Only photos uploaded to Google before this ISO date/time.
sort"recent" | "uploaded"optional
recent (default) = newest stored first; uploaded = newest Google upload first.
limitnumberoptional
Page size, a whole number from 1 to 100. Default 50.
cursorstringoptional
nextCursor from the previous page. Only valid with the same filters.
Beispielanfrage
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_google_location_media",
    "arguments": {
      "locationId": "loc_456",
      "kind": "owner",
      "limit": 25
    }
  }
}
Beispielantwort
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

Die Antwortform dient nur zur Veranschaulichung — der tatsächliche Inhalt hängt vom Tool und Ihren Daten ab.