Skip to main content
Glama
UHQ-Actual
by UHQ-Actual

Search Google Places

places_search

Search for restaurants or other business types in a specified area using Google Places Text Search. Returns deduplicated results with Google Maps URLs for source tracing.

Instructions

Search Google Places (New) Text Search for businesses in an area. Designed as a per-round retrieval primitive for the Restaurant Research Agent. Returns deduplicated results with googleMapsUrl for source-tracing. Auto-pages up to maxResults (Google caps at ~60 per query). Defaults to includedTypes=['restaurant'] and excludeClosed=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesFree-text search, e.g. 'restaurants in Hillsdale, MI'.
dryRunNoReturn sample places without calling Google. Defaults to true when no key is configured.
minRatingNoFilter on rating. Places with no rating are kept.
cityFilterNoDrop any place whose formatted address does not contain this substring (case-insensitive). Use 'Hillsdale, MI' to keep only in-town results when Google's text search spills into adjacent municipalities.
maxResultsNoMaximum places to return (1-60). Auto-pages until reached or no more pages.
regionCodeNoISO 3166-1 alpha-2 region code. Defaults to 'US'.
excludeClosedNoDrop CLOSED_PERMANENTLY and CLOSED_TEMPORARILY. Defaults to true.
excludedTypesNoOptional exclusion types, e.g. ['lodging'].
includedTypesNoGoogle place types to include. Pass [] to disable type filtering. Defaults to ['restaurant'].
Behavior4/5

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

With no annotations, the description discloses auto-paging up to maxResults, deduplication, source-tracing via googleMapsUrl, and default filters. However, it does not mention idempotency, rate limits, or authentication, which are relevant for a read operation.

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 four concise sentences, front-loaded with the core function, followed by context, behavior, and defaults. Every sentence adds value with no redundancy.

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 9 parameters and no output schema, the description covers key behaviors and defaults but does not fully describe the return structure beyond 'deduplicated results with googleMapsUrl'. It could mention pagination token handling or location bias, but overall adequate.

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 contextual value: explains auto-paging behavior for maxResults, defaults for includedTypes, excludeClosed, regionCode, and the cityFilter's purpose to handle spillover from Google's text search. This goes beyond basic schema descriptions.

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 clearly states 'Search Google Places (New) Text Search for businesses in an area' and specifies it returns deduplicated results with googleMapsUrl. It distinguishes from siblings like places_detail by framing it as a retrieval primitive for the Restaurant Research Agent.

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?

While the description notes it's 'Designed as a per-round retrieval primitive for the Restaurant Research Agent', it does not explicitly contrast with sibling tools like places_detail or state when not to use it. Implied usage is present but no exclusions or alternatives are given.

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/UHQ-Actual/DOL_MCP'

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