Skip to main content
Glama
HasData

Google Maps MCP Server

google_maps_photos: GET /

hasdata_google_maps_photos_getMapPhotos

Fetch Google Maps place photos by dataId or placeId, paginated and filtered by category. Use for extracting restaurant menus, auditing venue visuals, or enriching POI listings with up-to-date imagery.

Instructions

Get Place Photos

Fetches the photo gallery of a Google Maps place by dataId or placeId, paginated with nextPageToken and filterable by categoryId (all, latest, menu, by owner, videos, street view). Returns each photo with image URL, thumbnail, upload date, uploader, and photoId. Use for restaurant-menu extraction, venue/ambience visual audits, building rich place detail pages, and sourcing up-to-date imagery for POI listings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hlNoThe two-letter language code for the language you want to use for the search. Provide one exact documented value (159 allowed), e.g. `af`, `ak`.
dataIdNoGoogle Maps data ID. Either dataId or placeId should be set.
placeIdNoUnique reference to a place on Google Maps. Either dataId or placeId should be set.
categoryIdNoFilters photos by category.
nextPageTokenNoToken for fetching the next page of photos.
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explicitly mentions pagination via nextPageToken, filtering via categoryId (listing values like 'all, latest, menu, by owner, videos, street view'), and the return fields (image URL, thumbnail, upload date, uploader, photoId). This gives the agent a clear picture of what happens when called, though it does not cover rate limits, authentication, or error behavior.

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

Conciseness5/5

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

The description is compact and front-loaded: the title 'Get Place Photos' immediately states the action, followed by a single paragraph that packs all essential details without redundancy. Each sentence contributes new information—pagination, filtering, return fields, and use cases. No wasted words.

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 the tool's complexity (5 parameters, no output schema, no annotations), the description covers the key aspects: purpose, parameters, pagination, filtering, and return data. It could be improved by mentioning edge cases (e.g., handling of no results, or interaction between dataId and placeId) but the core information an agent needs to call it correctly is present.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description adds meaningful semantics beyond the schema: it explains how dataId/placeId identify the place, what categoryId filters (with explicit values), and how nextPageToken drives pagination. It also clarifies the shape of the return object, which is not in the schema. This goes beyond simply restating parameter names.

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

Purpose5/5

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

The description opens with a clear verb-resource pairing: 'Fetches the photo gallery of a Google Maps place'. It specifies the two identifying parameters (dataId/placeId) and distinguishes itself from sibling tools (reviews, details, posts, search) by focusing solely on photos. The purpose is unambiguous and not a tautology.

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?

The description gives concrete use cases ('restaurant-menu extraction, venue/ambience visual audits, building rich place detail pages, and sourcing up-to-date imagery for POI listings'), which clearly contextualize when to use this tool. However, it does not explicitly name alternative tools or state when not to use it, so it falls short of a 5 but is well above vague guidance.

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/HasData/google-maps-mcp'

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