MCPOutils MCP/Emplacements/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.

Paramètres
clientIdstringfacultatif
Limit to a single client's locations. Omit for all of the agency's locations.
searchstringfacultatif
Free-text search over name, street address, city, or phone.
status"all" | "active" | "archived" | "archival_pending" | "verification_pending" | "unapproved" | "requires_action"facultatif
A single status bucket: "all", "active", "archived", "archival_pending", "verification_pending", "unapproved", "requires_action".
tagsstring[]facultatif
Internal tags — matches a location that has any of these.
categoriesstring[]facultatif
Category names — matches a location whose general or Google category is any of these.
verification("verified" | "pending" | "unverified" | "unknown")[]facultatif
Google verification: "verified", "pending", "unverified", "unknown".
createdAfterstringfacultatif
Only locations created on or after this date (e.g. "2026-01-01").
createdBeforestringfacultatif
Only locations created on or before this date.
cursorstringfacultatif
Leave empty for the first page; pass the previous `nextCursor` for the next page.
limitnumberfacultatif
How many locations per page (1–100, default 100).
Exemple de requête
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_location_media",
    "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.