Skip to main content
Glama

Places text search

places_search_text
Read-onlyIdempotent

Find places by free text: a business name, a category, or "X in/near Y" (e.g. "coffee in Porto", "pharmacies near Lisbon Oriente"). Default choice for finding places. Use places_nearby only when you already have exact coordinates. Returns up to 20 places, each with place_id, name, formatted address, lat/lng, types, rating, opening hours (open_now and weekly hours), and attributions. Pass a place_id to places_details for phone or website.

Input Schema

NameRequiredDescriptionDefault
queryYesFree-text query, e.g. 'coffee in Austin'
radiusNoOptional location bias radius in meters
latitudeNoOptional location bias latitude
longitudeNoOptional location bias longitude
field_maskNo
included_typeNoOptional Places type filter
language_codeNo
max_result_countNo1-20

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld, so safety is covered; the description adds the result cap ('up to 20 places') and enumerates the returned fields, which is real behavioral context beyond the annotations. It doesn't mention rate limits or pagination, keeping it short of a 5.

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?

Four sentences, front-loaded with the core selection rule, then alternative routing, then return shape, then the handoff. No filler and no repetition of the tool name.

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?

For a search tool with no output schema, the description supplies return-field detail and the downstream chain to places_details, which is what an agent needs to plan a call. It stops short of covering the two undocumented parameters or pagination behavior.

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

Parameters3/5

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

Schema coverage is 75% and the schema already documents query, radius, lat/lng, included_type and max_result_count. The description adds only the max=20 constraint and positional bias intent, which is roughly baseline for this coverage level. field_mask and language_code remain undocumented in both places.

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?

Opens with a specific verb+resource ('Find places by free text') and immediately disambiguates the sibling by naming places_nearby and the exact condition that selects it ('only when you already have exact coordinates'). An agent can route between the two tools without opening either schema.

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

Usage Guidelines5/5

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

Explicitly declares itself the 'Default choice for finding places' and gives the exclusion rule for the alternative tool. It also hands off to places_details for phone/website, so the multi-step workflow is covered.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources