Skip to main content
Glama

Geocode (capped)

maps_geocode

Convert addresses into geographic coordinates via the Geocoding API, with each paid call priced and refused if it would exceed the Spend Brake cap.

Instructions

Address to coordinates (Geocoding API). Charged against the spend cap.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "address": "<address>"
    },
    "name": "maps_geocode"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesThe address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare openWorldHint, readOnlyHint=false, non-idempotent, non-destructive, so the safety profile is covered. The description adds genuinely new information — that each call consumes spend-cap budget — which is valuable and not derivable from the structured fields. It omits expected call cost magnitude, rate limits, and whether repeated identical lookups are billed again (relevant given idempotentHint=false).

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 short sentences, front-loaded with the operation before the cost caveat; nothing is padded. The "(Geocoding API)" parenthetical is slightly redundant with the title but still informative.

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?

For a one-parameter lookup with no output schema this is nearly sufficient, but the description never indicates the return shape (single coordinate pair vs. multiple candidates with precision/partial-match flags) or failure behavior for ambiguous addresses. Those gaps matter because no output schema exists to fill them.

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% for the single required "address" parameter, so the baseline of 3 applies. The description adds no formatting guidance (e.g., structured vs. free-form address strings, component ordering) beyond what the schema provides.

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?

"Address to coordinates" states a concrete transformation and names the underlying API, so the agent knows exactly what the tool produces. It does not explicitly distinguish itself from maps_reverse (the inverse operation), but the direction of conversion is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance and no mention of alternatives such as maps_search or maps_reverse. The only contextual note, "Charged against the spend cap," is a cost warning rather than routing guidance, so an agent must infer selection from sibling names alone.

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