Skip to main content
Glama

google_maps_photos

Retrieve photos for a Google Maps location using its data ID. Optionally filter by category and paginate results.

Instructions

Retrieves photos for a Google Maps location, optionally filtered by category, given a Maps data_id. [Credits: Not explicitly stated on this page (see general Scrapingdog credit pricing).] Notes: To filter by category, first call the endpoint without category_id to obtain the categories array and their id values, then re-call with category_id set. Pagination is cursor-based via next_page_token; the response also returns a ready-made scrapingdog_pagination.next URL for convenience. Returns: JSON with categories array of {name, id}, photos array of {thumbnail, image}, and scrapingdog_pagination {next (full next-page URL), next_page_token}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
data_idYesThe Google Maps data ID for the location, obtained from the google_maps_search endpoint (or its returned photos_link).
languageNoLanguage of the results (e.g. en, es, fr, de). See Google Language Page documentation for full list. (default: en)
category_idNoUnique identifier of a photo category, obtained from the `categories` array returned by a prior call to this same endpoint (e.g. "Food & drink", "Interior").
next_page_tokenNoToken used to fetch the next page of photo results.
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. It describes retrieval behavior, optional filtering, pagination mechanism, and return format. No mention of side effects or authentication, but for a read-only tool, it's sufficiently transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Well-structured with main purpose upfront, then notes and return format. The credit note is minor but not excessive. Every sentence provides value; could be slightly shorter but remains efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description provides a good summary of return structure and pagination. Covers category filter workflow. Lacks error handling or limits, but is fairly complete for a photo retrieval tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, and the description adds substantial meaning: explains how to obtain and use category_id, notes data_id origin from search endpoint, and describes next_page_token usage. This goes well beyond the schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it retrieves photos for a Google Maps location using a data_id, with optional category filtering. It distinguishes from sibling tools like google_maps_search and google_maps_reviews, though it doesn't explicitly name alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit instructions for category filtering (two-step process) and pagination (cursor-based with ready-made URL). Mentions data_id source from google_maps_search. Lacks explicit when-not-to-use or alternatives, but context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alessandrobenigni/ScrapingDog-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server