Skip to main content
Glama

goplaces MCP

Google Places and Routes tools for Codex, Claude Code, and Hermes Agent, served by one stdio Model Context Protocol server.

An agent with this server can search for businesses and landmarks, look up hours, phone numbers, reviews, and photos, and calculate directions, travel-time comparisons, and stops along a route, all from live Google data.

Quick start

You need Python 3.11 or newer, uv, and a Google Cloud API key with Places API (New) enabled. Enable the Routes API on the same project as well if you want directions, route search, or travel-time matrices.

  1. Clone the repository and install the locked dependencies:

    git clone https://github.com/jrajasekera/goplaces-mcp
    cd goplaces-mcp
    uv sync
  2. Check that the server starts with your key:

    export GOOGLE_PLACES_API_KEY=your_google_api_key
    uv run goplaces-mcp

    The server speaks MCP over stdin and stdout and waits silently for a client. Nothing is printed, and no Google request is made. Press Ctrl-C to stop it.

  3. Register it with a host using one of the sections under Install into a host. The host launches the server itself from then on. You never run it by hand.

Related MCP server: Google Maps Geocoding MCP Server

Install into a host

Every host launches the same goplaces-mcp command and passes it GOOGLE_PLACES_API_KEY plus any of the optional variables. The bundled skill in skills/goplaces/SKILL.md teaches the agent when to reach for which tool and how to keep Google costs down.

Codex

This repository is a Codex plugin. .codex-plugin/plugin.json registers the skill and the shared .mcp.json server definition.

Install it through a Codex plugin marketplace, or point Codex at the .mcp.json file in a local checkout. The MCP child process inherits GOOGLE_PLACES_API_KEY and the optional variables from the Codex environment, so set them in the shell that starts Codex.

Claude Code

This repository is also a Claude Code plugin. Claude Code discovers .claude-plugin/plugin.json, the root .mcp.json, and the skill when the plugin is installed.

To use a local checkout without installing it:

export GOOGLE_PLACES_API_KEY=your_google_api_key
claude --plugin-dir /absolute/path/to/goplaces-mcp

The server inherits the key from the environment Claude Code starts in.

Hermes Agent

Hermes has its own MCP client, so it uses this server directly rather than a native plugin. The older standalone hermes-goplaces plugin is retired.

  1. Clone the repository on the Hermes host and run uv sync in it.

  2. Add one mcp_servers entry to ~/.hermes/config.yaml:

    mcp_servers:
      goplaces:
        command: /usr/local/bin/uv
        args:
          - run
          - --frozen
          - --directory
          - /absolute/path/to/goplaces-mcp
          - goplaces-mcp
        env:
          GOOGLE_PLACES_API_KEY: ${GOOGLE_PLACES_API_KEY}

    Two details matter here. Hermes passes only an allowlist of variables (PATH, HOME, and similar) to stdio subprocesses, so the key must be named under env. The ${VAR} form resolves from ~/.hermes/.env, which keeps the key out of config.yaml. Use an absolute path for uv because the entry has no working directory and the inherited PATH may differ from your login shell's.

  3. Copy the skill next to it:

    cp -R skills/goplaces ~/.hermes/skills/goplaces
  4. Verify the connection without spending any Google quota:

    hermes mcp test goplaces

Hermes registers the tools into an mcp-goplaces toolset and prefixes each name with mcp_ and the server name, much as Claude Code prefixes MCP tools. The agent therefore sees a longer name than the bare one used in this README. Hermes also decodes the image block from goplaces_photo into a MEDIA: attachment.

Tools

All ten tools are read-only. Place-returning tools accept detail_level, which sets the Google field tier described under Cost.

Tool

Use it when

goplaces_search

Free-form text search for businesses, landmarks, venues, or services, with filters such as open now, rating, and price.

goplaces_nearby

You already have coordinates and a radius, optionally filtered by place type.

goplaces_autocomplete

Turning partial user input into place and query suggestions with place IDs.

goplaces_details

One place ID needs phone, website, hours, business status, reviews, or photo metadata.

goplaces_photo

Fetching the image for a photo name returned by goplaces_details. Returned as an image block.

goplaces_resolve

Turning an address, landmark, or city into candidate place IDs and coordinates.

goplaces_directions

Distance, duration, warnings, and optional steps between two points. Modes: drive (default), walk, bicycle, transit.

goplaces_route_search

Stops such as charging, fuel, coffee, or hotels along a route, ranked by detour time.

goplaces_route_matrix

Ranking several destinations by travel time from one or more origins in a single request.

goplaces_reverse_geocode

Finding out what is at a latitude and longitude, nearest first.

Directions, route search, and route matrix use the Routes API. The rest use the Places API (New).

Every tool publishes a title, an input schema, and an output schema through MCP, and results arrive as structuredContent. The authoritative definitions live in src/goplaces_mcp/schemas.py.

Configuration

The server reads its configuration from environment variables. Only the API key is required.

Variable

Default

Purpose

GOOGLE_PLACES_API_KEY

none, required

Google Cloud API key with Places API (New) enabled.

GOOGLE_PLACES_TIMEOUT_SECONDS

10

Per-request HTTP timeout.

GOOGLE_PLACES_MAX_ATTEMPTS

3

Total attempts for a request that returns 429 or 503.

GOOGLE_PLACES_RETRY_BASE_DELAY_SECONDS

0.5

Base delay for exponential backoff between attempts.

GOPLACES_DEBUG

off

Set to 1 to log request diagnostics to stderr. Stdout stays reserved for MCP.

GOOGLE_PLACES_BASE_URL

https://places.googleapis.com/v1

Places endpoint. For controlled testing only.

GOOGLE_ROUTES_BASE_URL

https://routes.googleapis.com

Routes endpoint. For controlled testing only.

GOOGLE_DIRECTIONS_BASE_URL

same as GOOGLE_ROUTES_BASE_URL

Directions endpoint. For controlled testing only.

Cost

Google bills each Places request at the most expensive field tier named in its field mask, so the fields a tool asks for decide what a call costs. The detail_level argument picks the tier:

detail_level

Fields returned

Google tier

ids

place IDs only

Essentials

basic

name, address, location, type, Maps link

Pro

full (default)

adds rating, price, hours, phone, website

Enterprise

Two further options add the Enterprise + Atmosphere tier and are off by default: include_atmosphere (editorial summary, dine-in, takeout, delivery, accessibility, parking) and include_ev (charging connectors).

The default stays full so that responses never silently lose fields. The bundled skill tells agents to ask for basic when ratings and hours are not needed, and for ids when results only feed another call.

A field that was not requested is absent from the response rather than empty. A missing rating means the tier did not ask for it, not that the place is unrated.

Errors and retries

Errors are returned to the agent as JSON with an error object and are flagged as tool errors over MCP. Handler exceptions never escape the transport.

{"error": {"type": "validation", "field": "location.radius_m", "message": "must be > 0"}}
{"error": {"type": "google_api", "status": 403, "message": "..."}}
  • validation errors are raised before any Google request is made, so a bad argument costs nothing.

  • google_api errors carry Google's HTTP status and message.

  • Responses with status 429 or 503 are retried with exponential backoff up to GOOGLE_PLACES_MAX_ATTEMPTS. Every other status fails immediately.

  • A missing GOOGLE_PLACES_API_KEY is reported as a validation error naming the variable.

How it fits together

One server, three hosts. Codex and Claude Code both read the root .mcp.json. Its launcher shells through /bin/sh to expand ${CLAUDE_PLUGIN_ROOT:-.}: Claude Code supplies that variable, Codex does not, and the fallback to the working directory covers Codex. That is why one manifest serves both hosts, and also why the launcher is POSIX-only. Windows hosts cannot start it as written. Hermes needs no manifest because it has its own MCP client and takes the command from its config file.

Frozen startup. The launcher runs uv run --frozen, so starting the server never resolves or re-locks dependencies. Startup stays fast and deterministic.

Thin adapter, thick client. src/goplaces_mcp/server.py only translates between MCP and the handlers: it attaches read-only annotations, sets isError on payloads carrying an error key, returns structuredContent, and lifts photo bytes into an image block. Everything Google-specific, including validation, field masks, retries, and response mapping, lives in src/goplaces_mcp/tools.py. The client depends only on the MCP transport package.

Validate before you pay. Every argument is checked before the first billable request, and a tool that issues several requests builds all of them before sending any. A mistake in the second request is caught before the first one has cost anything.

Development

uv sync --dev
uv run pytest

Tests never need credentials and never call Google. tests/fake_google.py runs a localhost HTTP server that replays canned Google JSON, wired in through the base-URL variables above, so handler tests exercise the real request-building and response-mapping code.

tests/test_protocol_results.py checks each tool's real output against the output schema it publishes, and tests/test_server.py covers tool listing, annotations, server instructions, error flagging, and both plugin launch modes.

Before handing off a change that touches packaging, schemas, the server, or the manifests, also run:

uv run python -m compileall -q src tests
uv build
git diff --check
claude plugin validate .

AGENTS.md records the project's compatibility invariants and the traps that have produced defects before. Read it before changing a handler.

Attribution and license

The Google client was converted from OpenClaw goplaces by Peter Steinberger. See THIRD_PARTY_NOTICES.md.

Google's terms require attribution when reviews or photos are shown. The responses carry the author attribution, and the bundled skill tells agents to keep it.

MIT licensed. See LICENSE.

Available Tools

10 tools
goplaces_autocompleteAutocomplete a placeA
Read-onlyIdempotent

Autocomplete a partial place or query string using Google Places. Use to turn partial user input into place/query suggestions and place IDs.

ParametersJSON Schema
NameRequiredDescriptionDefault
latNoLatitude for a circular location bias/restriction.
lngNoLongitude for a circular location bias/restriction.
inputYesPartial place or query text, e.g. 'cof' or 'Space Nee'.
limitNoMaximum suggestions to return.
regionNoOptional CLDR region code, for example 'US' or 'DE'.
languageNoOptional BCP-47 language code, for example 'en' or 'en-US'.
radius_mNoRadius in meters for the circular location bias/restriction.
session_tokenNoOptional Google session token for billing consistency.

Output Schema

ParametersJSON Schema
NameRequiredDescription
errorNoPresent only on failure; the result is also flagged isError.
suggestionsNo

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, covering the safety and idempotency profile. The description adds only that it uses Google Places and yields suggestions plus place IDs, which is modest context beyond the structured data and omits things like billing/session implications despite a session_token parameter.

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?

Two short sentences, no filler, purpose front-loaded before the usage clause. Every phrase carries weight.

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?

With a full input schema, an output schema, and rich annotations, the description only needs to state purpose and rough usage, which it does. The main omission is routing guidance against sibling lookup tools, which keeps it from a 5.

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 description coverage is 100%, so every one of the 8 parameters is already documented in the schema. The description adds no extra meaning about input format, bias vs. restriction behavior, or defaults, so the baseline 3 applies.

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 gives a specific verb ('Autocomplete') and resource ('partial place or query string'), plus the backing service ('Google Places'), so the agent knows exactly what the tool produces. It does not explicitly contrast itself with goplaces_search or goplaces_resolve, so it falls short of full sibling differentiation.

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?

'Use to turn partial user input into place/query suggestions and place IDs' gives a clear triggering condition (partial input), which is more than nothing. However, it names no alternatives and no exclusions, so the agent isn't told when to prefer goplaces_search or goplaces_details instead.

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

goplaces_detailsPlace detailsA
Read-onlyIdempotent

Fetch rich Google Place Details by place ID. Use after search, nearby, autocomplete, or resolve when the user needs phone, website, hours, business status, reviews, or photos. Reviews and photos are opt-in because they are heavier fields.

ParametersJSON Schema
NameRequiredDescriptionDefault
regionNoOptional CLDR region code, for example 'US' or 'DE'.
languageNoOptional BCP-47 language code, for example 'en' or 'en-US'.
place_idYesGoogle place ID, with or without a 'places/' prefix.
include_evNoInclude EV charging connectors, charge rates, and availability.
detail_levelNoField tier to request. Google bills at the most expensive tier in the request, so prefer the cheapest that answers the question: 'ids' returns place IDs only, 'basic' adds name, address, location, type, and a Maps link, and 'full' adds rating, price, hours, phone, and website.full
include_photosNoInclude photo metadata in the details response.
include_reviewsNoInclude Google reviews in the details response.
include_atmosphereNoInclude the most expensive tier: editorial summary, dine-in/takeout/delivery/reservable, accessibility, and parking options.

Output Schema

ParametersJSON Schema
NameRequiredDescription
nameNo
errorNoPresent only on failure; the result is also flagged isError.
hoursNo
phoneNo
typesNo
photosNoGoogle requires showing the author attributions with each photo.
ratingNo
addressNo
dine_inNo
parkingNo
reviewsNoGoogle requires showing the author attribution with each review.
takeoutNo
websiteNo
deliveryNo
locationNo
maps_urlNoGoogle Maps link for the place.
open_nowNo
place_idNoPass to goplaces_details or as a directions endpoint.
reservableNo
price_levelNo0 free to 4 very expensive.
price_rangeNo
primary_typeNo
accessibilityNo
directions_urlNo
business_statusNo
distance_metersNoPresent when a routing origin was supplied.
duration_secondsNoPresent when a routing origin was supplied.
editorial_summaryNo
ev_charge_optionsNo
user_rating_countNo
utc_offset_minutesNo
international_phoneNo

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already cover read-only, idempotent, and open-world behavior. The description adds that reviews and photos are opt-in and heavier, which is useful behavioral context beyond annotations, but it doesn't cover other traits like rate limits or exactly what the response contains.

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?

Two sentences, front-loaded with the core action and usage triggers. The second sentence about opt-in reviews/photos is a bit of a tangent but still relevant to invocation cost.

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 an output schema exists, the description needn't explain return values. It covers what the tool does, when to use it, and the opt-in nature of heavy fields. It could mention when to prefer a different detail tool or the cost implications of detail_level, but it is largely complete.

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 description coverage is 100%, so the schema already documents all 8 parameters in detail, including detail_level tiers and billing implications. The description only mentions reviews and photos being opt-in, adding minimal meaning beyond the schema.

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?

States a specific verb (Fetch) and resource (Google Place Details by place ID). It names the sibling tools (search, nearby, autocomplete, resolve) that produce inputs for this tool, distinguishing it from them clearly.

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?

Explicitly says when to use it: after search, nearby, autocomplete, or resolve when the user needs phone, website, hours, business status, reviews, or photos. It does not explicitly state when NOT to use it or name alternative detail tools, but the context is very clear.

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

goplaces_directionsGet directionsA
Read-onlyIdempotent

Get directions, distance, duration, warnings, and optional steps between two locations using Google Routes. Each endpoint can be specified by text, place ID, or latitude/longitude. Supports walk, drive, bicycle, transit, units, departure/arrival time, drive avoid modifiers, and one compare mode.

ParametersJSON Schema
NameRequiredDescriptionDefault
modeNoPrimary travel mode. Defaults to drive; pass walk explicitly for a walking route.drive
unitsNoLocalized distance units.metric
regionNoOptional CLDR region code, for example 'US' or 'DE'.
to_latNoDestination latitude. Must be paired with to_lng.
to_lngNoDestination longitude. Must be paired with to_lat.
to_textNoDestination as an address or place name. Use only one destination form.
from_latNoOrigin latitude. Must be paired with from_lng.
from_lngNoOrigin longitude. Must be paired with from_lat.
languageNoOptional BCP-47 language code, for example 'en' or 'en-US'.
from_textNoOrigin as an address or place name. Use only one origin form.
waypointsNoUp to 25 intermediate stops, in order, as addresses or place names. Text only; place IDs are not accepted here.
avoid_tollsNoAvoid toll roads. Requires drive mode for the affected route.
to_place_idNoDestination Google place ID. Use only one destination form.
alternativesNoReturn alternative routes as well. Cannot be combined with waypoints.
arrival_timeNoOptional RFC3339 transit arrival time. Requires transit mode and is mutually exclusive with departure_time.
compare_modeNoOptional second travel mode to compare with mode.
avoid_ferriesNoAvoid ferries. Requires drive mode for the affected route.
from_place_idNoOrigin Google place ID. Use only one origin form.
include_stepsNoInclude turn-by-turn steps in the response.
transit_modesNoRestrict transit to these vehicle types. Requires transit mode.
avoid_highwaysNoAvoid highways. Requires drive mode for the affected route.
departure_timeNoOptional RFC3339 departure time, e.g. 2030-05-10T18:57:00-03:00. Mutually exclusive with arrival_time.
routing_preferenceNoTraffic handling for drive mode. Defaults to traffic_aware when a departure_time is given, because a traffic-unaware route ignores it.
transit_routing_preferenceNoTransit routing bias. Requires transit mode.

Output Schema

ParametersJSON Schema
NameRequiredDescription
legsNoPresent when waypoints were given.
modeNo
errorNoPresent only on failure; the result is also flagged isError.
stepsNoPresent when include_steps is true. Transit steps carry a transit object with line, headsign, stops, and times.
routesNoPresent instead of a single route when compare_mode is used.
summaryNo
maps_urlNo
warningsNo
end_addressNo
alternativesNo
distance_textNo
duration_textNo
start_addressNo
distance_metersNo
duration_secondsNo

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds some behavioral context (returns warnings, optional steps, supports compare mode) but does not disclose rate limits, auth requirements, or other operational details beyond what the schema and annotations provide.

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?

Two sentences with zero waste. The purpose is front-loaded, followed by a compact list of capabilities. Every sentence earns its place.

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 24 parameters, an output schema, and rich annotations, the description provides a solid high-level overview of the tool's purpose and main features. It omits some parameter groups (e.g., waypoints, alternatives, routing preferences), but those are fully covered by the schema, and the output schema explains return values. Minor gaps like not mentioning intermediate stops keep it from a 5.

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 description coverage is 100%, so the schema already documents every parameter in detail. The description synthesizes endpoint specification forms and lists supported modes, but adds no syntax or format details beyond what the schema provides, making it a baseline case of 3.

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 specifies the verb ('Get directions'), the resource ('directions, distance, duration, warnings, and optional steps'), and the domain ('between two locations using Google Routes'). It does not explicitly distinguish the tool from related siblings such as goplaces_route_search or goplaces_route_matrix, so it falls short of a 5.

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?

Usage is only implied by the phrase 'between two locations' and the list of supported modes. There is no explicit guidance on when to choose this tool over alternatives like route_search or route_matrix, nor are exclusions or prerequisites stated.

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

goplaces_nearbySearch near coordinatesB
Read-onlyIdempotent

Search Google Places near a latitude/longitude within a radius. Use when the user gives coordinates or you already resolved a location. Returns compact place summaries.

ParametersJSON Schema
NameRequiredDescriptionDefault
latYesLatitude for a circular location bias/restriction.
lngYesLongitude for a circular location bias/restriction.
limitNoMaximum number of nearby results.
regionNoOptional CLDR region code, for example 'US' or 'DE'.
rank_byNoResult ordering. Defaults to Google's popularity ranking.
languageNoOptional BCP-47 language code, for example 'en' or 'en-US'.
radius_mYesRadius in meters for the circular location bias/restriction.
include_evNoInclude EV charging connectors, charge rates, and availability.
origin_latNoLatitude to measure travel from. With origin_lng, each result gains distance_meters and duration_seconds, avoiding a directions call per result.
origin_lngNoLongitude to measure travel from. Must be paired with origin_lat.
origin_modeNoTravel mode for origin distances. Google does not support transit here.drive
detail_levelNoField tier to request. Google bills at the most expensive tier in the request, so prefer the cheapest that answers the question: 'ids' returns place IDs only, 'basic' adds name, address, location, type, and a Maps link, and 'full' adds rating, price, hours, phone, and website.full
excluded_typesNoExcluded Google place types.
included_typesNoIncluded Google place types, e.g. ['cafe'] or ['restaurant', 'bar'].
include_atmosphereNoInclude the most expensive tier: editorial summary, dine-in/takeout/delivery/reservable, accessibility, and parking options.

Output Schema

ParametersJSON Schema
NameRequiredDescription
errorNoPresent only on failure; the result is also flagged isError.
resultsNoPlaces inside the radius.

TDQS

B3.4/5.0
Behavior2/5

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

Annotations already declare readOnly/idempotent/openWorld/non-destructive, so the safety profile is covered. Beyond that, the description adds almost nothing behavioral and notably omits billing-sensitive behavior that the schema itself flags (the detail_level and include_atmosphere cost tiers), which is the single most important behavioral fact for this tool. Rate limits and result caps are also unmentioned.

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?

Three sentences, front-loaded with the core operation, and no filler. The return-format sentence is placed after usage guidance, which is reasonable; slightly could be trimmed but generally efficient.

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

Completeness3/5

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

With a rich schema, output schema, and full annotation coverage, the description does not need to explain parameters or return values. However, for a 15-parameter, cost-sensitive tool, it omits the billing-tier warning and sibling differentiation that an agent selecting between goplaces_search and goplaces_nearby needs.

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 description coverage is 100%, so the schema fully documents all 15 parameters including the billing-tier semantics of detail_level and origin-distance optimization. The description adds no parameter meaning beyond the schema, so the baseline 3 applies.

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?

States a specific verb (Search) and resource (Google Places) with the spatial constraint (near a lat/lng within a radius). It is distinct from goplaces_search, but the description does not explicitly name that sibling to differentiate the coordinate-based vs. text-based use case.

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?

'Use when the user gives coordinates or you already resolved a location' gives a clear triggering condition. It lacks explicit exclusion guidance (e.g., when to prefer goplaces_search for free-text queries), keeping it just under a 5.

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

goplaces_photoResolve a place photoA
Read-onlyIdempotent

Resolve a Google Places photo resource name into a photo media URL. Use with photo names returned by goplaces_details(include_photos=true).

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYesPhoto resource name like 'places/PLACE_ID/photos/PHOTO_ID'.
max_width_pxNoMaximum photo width in pixels. Required when max_height_px is omitted.
include_imageNoAlso download the photo and return it as an image the model can look at. Leave off when a URL is all the user needs.
max_height_pxNoMaximum photo height in pixels. Required when max_width_px is omitted.

Output Schema

ParametersJSON Schema
NameRequiredDescription
nameNo
errorNoPresent only on failure; the result is also flagged isError.
photo_uriNoExpiring Google-hosted photo URL.
image_mime_typeNo

TDQS

A3.8/5.0
Behavior3/5

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

Annotations declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is already covered. The description adds that the tool converts a resource name into a URL, which is useful behavioral context, but it does not discuss authentication requirements, rate limits, or the fact that resolving returns a temporary URL. With annotations carrying most of the burden, a 3 is appropriate.

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?

Two sentences with zero waste, front-loading the action and immediately following with the usage context. Every word earns its place.

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?

With a full schema and output schema present, the description need not explain return values. It provides the key upstream dependency and the basic operation. Minor gaps include no mention of URL expiration or permissions, but for a focused resolver tool with rich structured fields, this is largely complete.

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 description coverage is 100%, so all four parameters are documented in the schema. The description does not add parameter-level details beyond what the schema provides. A baseline 3 is correct when the schema does the heavy lifting.

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?

States a specific verb (resolve) and resource (a Google Places photo resource name into a photo media URL). This distinguishes it from siblings like goplaces_details, which returns place data, though it explicitly names goplaces_details as the source of photo names. It does not differentiate from all siblings, but the operation is clear.

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?

Explicitly names the context in which this tool is used: 'Use with photo names returned by goplaces_details(include_photos=true).' That tells an agent both the upstream dependency and the prerequisite flag, which is strong guidance. It does not state when not to use it or offer alternatives, but the context is clear enough.

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

goplaces_resolveResolve a locationA
Read-onlyIdempotent

Resolve a free-form location string into candidate Google places with coordinates and place IDs. Use before nearby searches or directions when you need structured candidates for an address, landmark, city, or venue.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum candidate locations.
regionNoOptional CLDR region code, for example 'US' or 'DE'.
languageNoOptional BCP-47 language code, for example 'en' or 'en-US'.
location_textYesFree-form location text, e.g. 'Riverside Park, New York'.

Output Schema

ParametersJSON Schema
NameRequiredDescription
errorNoPresent only on failure; the result is also flagged isError.
resultsNo

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is fully covered structurally. The description adds that results are candidates with coordinates and place IDs, which is modest value. It says nothing about result ordering, ambiguity handling, or the limit behavior beyond the schema default.

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?

Two sentences, no filler, with the core purpose front-loaded and usage following. Every clause earns its place.

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?

With an output schema present and rich annotations, the description only needs to supply purpose and routing context, which it does. The main remaining gap is disambiguation from the closely related autocomplete and search siblings, which an agent facing nine peer tools would benefit from.

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 description coverage is 100%, so every parameter including region, language, and limit is already documented in the schema. The description adds no format or semantics detail beyond what the schema states, so baseline 3 applies.

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 names a specific verb and resource: 'Resolve a free-form location string into candidate Google places with coordinates and place IDs.' That is precise about inputs and outputs. It does not explicitly contrast with the closest sibling goplaces_autocomplete, so sibling differentiation is only partial.

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?

'Use before nearby searches or directions when you need structured candidates' gives clear context for when this tool fits. It names downstream tools it feeds but does not state when NOT to use it or how it differs from goplaces_autocomplete/goplaces_search, so there is no exclusion guidance.

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

goplaces_reverse_geocodeIdentify a coordinateA
Read-onlyIdempotent

Identify what is at a latitude/longitude by finding the nearest places, closest first, with the distance from the point. Use for 'what is at these coordinates' or to label a GPS position.

ParametersJSON Schema
NameRequiredDescriptionDefault
latYesLatitude of the point to identify.
lngYesLongitude of the point to identify.
limitNoMaximum candidates to return.
regionNoOptional CLDR region code, for example 'US' or 'DE'.
languageNoOptional BCP-47 language code, for example 'en' or 'en-US'.
radius_mNoSearch radius in meters. Keep it small; a wide radius describes the neighbourhood rather than the point.
include_evNoInclude EV charging connectors, charge rates, and availability.
detail_levelNoField tier to request. Google bills at the most expensive tier in the request, so prefer the cheapest that answers the question: 'ids' returns place IDs only, 'basic' adds name, address, location, type, and a Maps link, and 'full' adds rating, price, hours, phone, and website.full
included_typesNoRestrict candidates to these Google place types.
include_atmosphereNoInclude the most expensive tier: editorial summary, dine-in/takeout/delivery/reservable, accessibility, and parking options.

Output Schema

ParametersJSON Schema
NameRequiredDescription
errorNoPresent only on failure; the result is also flagged isError.
resultsNoNearest places first.
query_locationNo

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, open-world). The description adds result-ordering behavior ('closest first') and return content ('with the distance from the point'), which the annotations do not convey. It does not mention billing/quota behavior despite detail_level's cost implications, so it is helpful but not exhaustive.

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?

Two tight sentences, zero filler, with the core operation front-loaded and the use case immediately after. Nothing is repeated from the schema or title.

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

Completeness5/5

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

With an output schema present, full annotation coverage, and 100% schema description coverage, the description only needs to convey purpose, ordering, and routing context — all of which it does. Nothing an agent needs to invoke the tool correctly is missing.

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 description coverage is 100% and includes rich per-parameter detail (detail_level billing tiers, radius_m guidance, limit bounds). The description adds no parameter semantics beyond the schema, so the baseline 3 applies.

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?

States a specific verb ('identify') and the resource ('nearest places' at a latitude/longitude), including the useful detail that results come closest-first with distances. It contrasts implicitly with goplaces_search/goplaces_nearby by framing the task as labeling a point, but it never names or rules out a sibling explicitly.

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?

Gives clear triggering contexts: 'what is at these coordinates' or labeling a GPS position. It provides no exclusions or explicit alternative (e.g., when to prefer goplaces_nearby or goplaces_details), so it stops short of full routing guidance.

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

goplaces_route_matrixCompare travel timesA
Read-onlyIdempotent

Rank destinations by travel time and distance from one or more origins in a single request. Use for 'which of these is closest to home' or 'how long to each of these three offices' instead of one directions call per candidate. Results are sorted fastest first.

ParametersJSON Schema
NameRequiredDescriptionDefault
modeNoTravel mode.drive
unitsNoLocalized distance units.metric
regionNoOptional CLDR region code, for example 'US' or 'DE'.
originsYesStarting points as addresses, place names, or 'places/PLACE_ID' values.
languageNoOptional BCP-47 language code, for example 'en' or 'en-US'.
destinationsYesDestinations as addresses, place names, or 'places/PLACE_ID' values.
departure_timeNoOptional RFC3339 departure time. Enables traffic-aware drive times.

Output Schema

ParametersJSON Schema
NameRequiredDescription
modeNo
errorNoPresent only on failure; the result is also flagged isError.
resultsNoOne entry per origin/destination pair, fastest first.

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already carry the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint), so the bar is low. The description adds genuine context beyond them: the operation is deliberately batched into one request to replace N direction calls, and results come back pre-ranked ('sorted fastest first').

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?

Three tight sentences with the ranking capability and batching scope front-loaded, followed by use cases and the sorting guarantee. No filler and no restatement of the title.

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?

With an output schema present, return values need no explanation, and the 100%-documented schema covers the inputs. The description supplies the batching rationale and routing alternative, leaving only minor gaps such as traffic-awareness via departure_time or transit-specific caveats.

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 description coverage is 100%, so the schema already documents mode, units, region, language, departure_time content/format, and the address/place-name/PLACE_ID input form. The description adds no parameter-level detail (e.g. which inputs accept place IDs), so the baseline 3 is appropriate.

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?

States a specific verb and resource: 'Rank destinations by travel time and distance from one or more origins in a single request.' The batching scope ('one or more origins', 'single request') plus ranking output clearly separates it from the single-pair siblings like goplaces_directions.

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?

Gives two concrete triggering scenarios ('which of these is closest to home', 'how long to each of these three offices') and names the alternative behavior it replaces ('one directions call per candidate'). It stops short of an explicit when-not-to-use rule, e.g. falling back to a plain directions call for a single origin/destination pair.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 10 tool updatesv1.0.0
    • First observedgoplaces_autocomplete
    • First observedgoplaces_details
    • First observedgoplaces_directions
    • First observedgoplaces_nearby
    • First observedgoplaces_photo
    • First observedgoplaces_resolve
    • First observedgoplaces_reverse_geocode
    • First observedgoplaces_route_matrix
    • First observedgoplaces_route_search
    • First observedgoplaces_search

TDQS

A4/5.0

Scored across 10 tools

Disambiguation4/5

Most tools target clearly distinct actions (directions, photo, details, route_matrix), but search/resolve/autocomplete all convert text into places, and nearby/reverse_geocode both find places near coordinates. Descriptions provide use-case cues, so an agent can usually pick correctly, but the boundaries are not perfectly sharp.

Naming Consistency5/5

All tools share the goplaces_ prefix and snake_case naming with clear action/resource terms. There is no mixing of conventions such as camelCase, hyphens, or vague names.

Tool Count5/5

10 tools are well-scoped for a Google Places/Routes MCP, covering distinct API surfaces without obvious filler. Each tool maps to a meaningful location or routing capability.

Completeness5/5

The set covers search, nearby, autocomplete, details, photos, resolution, directions, route search, route matrix, and reverse geocoding. For a read-only places/routes domain, this provides comprehensive workflow coverage with no major dead ends.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables Claude Desktop to access Google Maps services including geocoding, place search, directions, distance calculations, and elevation data through stdio communication. Provides comprehensive location-based functionality with direct Google Maps API integration.
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables LLM clients to convert addresses to coordinates (forward geocoding), coordinates to addresses (reverse geocoding), and lookup Google Place IDs using the Google Maps Geocoding API with support for multiple languages and advanced filtering.
    3
    10
    MIT