Skip to main content
Glama
AIWerk

Google Maps MCP Server

by AIWerk

maps_geocode

Read-only

Convert an address into coordinates, normalized address components, place ID, and viewport. Use component filters to resolve ambiguous addresses. Empty results indicate zero matches, not an error.

Instructions

Convert an address into coordinates, plus the normalised address components, place ID and viewport. Narrow ambiguous addresses with components, e.g. "country:CH". An empty results array means ZERO_RESULTS, not an error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boundsNoOptional viewport bias "swLat,swLng|neLat,neLng".
regionNoCLDR region code biasing the result, e.g. "ch".
addressYesAddress or place name to locate, e.g. "Bundesplatz 3, 3005 Bern, Switzerland".
languageNoISO 639 language code for the formatted address.
componentsNoOptional component filter narrowing the search, e.g. "country:CH" or "country:CH|postal_code:3033". Useful when the same street name exists in several countries.
Behavior4/5

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

Annotations already mark this as readOnly and openWorld, so the description adds value by explaining the ZERO_RESULTS behavior and the output contents (normalised components, place ID, viewport). It does not contradict annotations and provides useful, non-obvious detail.

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 three compact sentences, each earning its place: purpose, usage tip, and error-behavior note. It is front-loaded with the core function and contains no filler.

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 absence of an output schema, the description reasonably covers what the tool returns (coordinates, components, place ID, viewport) and a key edge case (empty array = ZERO_RESULTS). It could detail the output structure further, but it is sufficient for the tool's complexity.

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 baseline is 3. The description adds a brief usage tip for the components parameter, but most parameter meaning is already in the schema. It does not significantly deepen understanding beyond 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 the tool converts an address into coordinates and lists additional outputs (normalised components, place ID, viewport). This distinguishes it from sibling tools like maps_reverse_geocode, which does the opposite.

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 specific usage context, such as using components to narrow ambiguous addresses, e.g. 'country:CH'. It does not name alternative tools, but the core use case is clear. The 'ZERO_RESULTS' note also guides error interpretation.

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

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