Skip to main content
Glama

geocode_address

Convert an address, landmark, or place name into precise geographic coordinates with full location details. Use for mapping, navigation, and geospatial analysis.

Instructions

Convert an address or place name to geographic coordinates with detailed location information.

This tool takes a text description of a location (such as an address, landmark name, or place of interest) and returns its precise geographic coordinates along with rich metadata. The results can be used for mapping, navigation, location-based analysis, and as input to other geospatial tools.

Args: address: The address, place name, landmark, or description to geocode (e.g., "Empire State Building", "123 Main St, Springfield", "Golden Gate Park, San Francisco")

Returns: List of matching locations with: - Geographic coordinates (latitude/longitude) - Formatted address - Administrative boundaries (city, state, country) - OSM type and ID - Bounding box (if applicable) - Importance ranking

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYes
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the return structure (list of matches, coordinates, formatted address, admin boundaries, OSM type/id, bounding box, importance ranking), which gives useful behavioral insight. However, it does not mention potential ambiguity (e.g., multiple matches), error conditions, or whether the operation is read-only (though implied). More disclosure would improve it.

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?

The description is well-structured with a clear summary, an explanatory paragraph, and explicit Args/Returns sections. It is slightly longer than necessary for a single-parameter tool, but every sentence provides useful information. It is front-loaded with the core purpose, so appropriate.

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 there is no output schema, the description appropriately details the return format. It covers the key aspects needed to use the tool: what input to provide, what output to expect, and the structure of results. It does not cover edge cases like empty results or API limitations, but for a geocoding tool this is sufficient.

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?

The schema provides only a bare 'address' string with 0% coverage. The description compensates fully by explaining the parameter: 'The address, place name, landmark, or description to geocode' and offers concrete examples. This adds significant semantic meaning beyond the schema, making the tool easy to invoke correctly.

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 function: 'Convert an address or place name to geographic coordinates with detailed location information.' This uses a specific verb and resource, and the scope is unambiguous. It implicitly distinguishes from sibling tool reverse_geocode by specifying forward geocoding.

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 provides usage context: 'The results can be used for mapping, navigation, location-based analysis, and as input to other geospatial tools.' This implies when it is useful, though it does not explicitly mention when not to use it or alternative tools. Still, the purpose is clear enough for an agent to select it for address-to-coordinates tasks.

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/LLLeoLi/osm-mcp-server'

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