Skip to main content
Glama
HasData

hasdata-mcp

Official

google_maps_photos: GET /

hasdata_google_maps_photos_getMapPhotos

Retrieve Google Maps place photos using dataId or placeId. Supports pagination and filtering by category. Use for extracting restaurant menus, conducting venue visual audits, and 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
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.
hlNoThe two-letter language code for the language you want to use for the search.
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?

Discloses key behaviors: pagination, category filtering, returned fields (image URL, thumbnail, upload date, uploader, photoId). No side effects are mentioned, but as a read-only fetch, the description is sufficient.

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?

Front-loaded with purpose, followed by clear explanation and bulleted use cases. Could trim redundant phrasing, but overall well-structured and not overly verbose.

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?

Covers output fields, pagination, filtering, and use cases. Lacks mention of the 'hl' parameter and error behavior, but given the tool's simplicity and no output schema, it is fairly complete.

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?

Adds value beyond schema by enumerating category filter options (all, latest, menu, etc.) and explaining pagination. Schema already covers 100% of parameters, so baseline is 3; the extra detail justifies a 4.

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?

Description clearly states 'Fetches the photo gallery of a Google Maps place by dataId or placeId', using a specific verb and resource, and distinguishes from sibling tools (e.g., search, reviews) by focusing on photos.

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

Usage Guidelines3/5

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

Provides explicit use cases (e.g., restaurant-menu extraction, visual audits) but does not mention when not to use or contrast with alternatives like other Google Maps tools.

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/hasdata-mcp'

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