Skip to main content
Glama

geo.address.geocode

Convert addresses, place names, or landmarks into geographic coordinates (latitude/longitude) with structured address data for mapping and location-based applications.

Instructions

Convert an address, place name, or landmark to geographic coordinates (lat/lon) with structured address data (Geoapify/OSM)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesAddress, place name, or landmark to geocode (e.g. "1600 Pennsylvania Ave, Washington DC", "Eiffel Tower").
langNoResult language code (e.g. "en", "de", "ru"). Default: English.
country_codeNoISO 3166-1 alpha-2 country code to filter results (e.g. "US", "DE", "FR").
typeNoFilter by result type: city, street, amenity, or country.
limitNoMaximum number of results to return (default 1, max 5).
Behavior3/5

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

No annotations provided, so description carries full burden. It successfully discloses the data provider (Geoapify/OSM) and return format hint ('structured address data'), but omits rate limits, caching behavior, error handling for ambiguous addresses, and authentication requirements.

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?

Single, dense sentence front-loaded with action and scope. Every clause earns its place: input types, output coordinates, structured data component, and provider attribution. No redundant or filler text.

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 5 simple parameters with full schema coverage and no output schema, the description reasonably covers the tool's purpose and return value characteristics (lat/lon + structured data). Could be improved by noting that multiple ranked results may be returned (per the limit parameter), but adequate for the complexity level.

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%, establishing a baseline of 3. The description does not enumerate or elaborate on specific parameters (like explaining that 'type' filters result categories or that 'limit' controls pagination), but the schema handles this adequately without requiring description reinforcement.

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?

Description uses specific verb 'Convert' with clear input types (address, place name, landmark) and output (lat/lon coordinates + structured data). Implicitly distinguishes from sibling geo.address.reverse by specifying the forward direction (text-to-coordinates) and from other geocoding providers by naming Geoapify/OSM.

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?

Provides implicit usage context through input/output specification (forward geocoding), but lacks explicit guidance on when to choose this over sibling address.geocodio.geocode or when to use geo.address.autocomplete instead. No mention of prerequisites or filtering strategies.

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/whiteknightonhorse/APIbase'

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