Skip to main content
Glama

geocode

Forward geocoding of a city or place name to latitude/longitude, region, country, timezone, elevation and population. 0.001 USDC per call via x402.

Input Schema

NameRequiredDescriptionDefault
langNoResult language code, default en
limitNo
placeYesPlace name, e.g. Split
paymentProofNoPayment proof: USDC tx hash on Polygon or Base (0x...) or Solana tx signature. Omit on the first call to receive the 402 payment instructions, pay, then call again with the proof.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description still discloses the key behavioral trait an agent must know: '0.001 USDC per call via x402'. That cost/payment dimension is real value beyond structured fields. It stops short of describing the 402 challenge flow or any rate limits, though the schema's paymentProof field covers the mechanics.

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 tightly packed sentences: the capability and outputs first, the cost second. Nothing is redundant and the most important information leads.

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?

Although there is no output schema, the description compensates by naming the returned fields (lat/lon, region, country, timezone, elevation, population). Combined with the schema's payment flow, an agent has nearly everything needed; only multi-result/ambiguity behavior (relevant to the limit param) is unaddressed.

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% with descriptions on lang, place, and paymentProof, so parameters are largely self-documenting. The description adds no detail about limit (result capping) or lang, so it does not improve on the schema; baseline 3 is appropriate.

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 and direction ('Forward geocoding') plus the input resource ('city or place name') and enumerates the return fields, so the operation is unmistakable. It does not, however, distinguish itself from nearby siblings such as address_check or weather, which also take place names.

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 implied by 'forward geocoding of a city or place name', which is enough for an agent to recognize the use case. There is no explicit when-to-use/when-not guidance and no named alternative for related tasks like address validation or reverse geocoding.

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.