Skip to main content
Glama

Geocode many addresses

batch_geocode
Read-onlyIdempotent

Geocode up to 50 addresses in one call. Results come back in input order, each with found=true/false. Costs $0.001 per address, $0.002 with extra_columns.

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": {
      "addresses": "<addresses>"
    },
    "name": "batch_geocode"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressesYesAddresses to geocode.
extra_columnsNoAlso return the time zone (any country: timezone, utc_offset, dst) and, in the US only, county, county_fips, census tract, block_group and the 120th Congress district, with match_level. Costs $0.001 more per lookup.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / extra_columns
      Added value: +{
      +  "default": false,
      +  "description": "Also return the time zone (any country: timezone, utc_offset, dst) and, in the US only, county, county_fips, census tract, block_group and the 120th Congress district, with match_level. Costs $0.001 more per lookup.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description adds real context beyond them: per-call cost of $0.001 per address, a doubled cost of $0.002 with extra_columns, guaranteed output in input order, and per-item found=true/false so partial failures are visible rather than fatal. It does not mention rate limits or whether a failed batch still bills, which keeps it short of a 5.

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?

Three short sentences with zero padding: capability first, then result shape and ordering, then cost. Every sentence carries distinct information an agent needs (limit, ordering contract, pricing).

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?

For a two-parameter batch tool with no output schema, the description supplies the essentials: batch size cap, cost model, input-order guarantee, and the per-item success flag. It stops short of describing what a found=true result actually contains (coordinates, match precision) and how failures are billed, but nothing critical to invoking it correctly is missing.

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 schema already documents both parameters, including the extra_columns field list and its $0.001 surcharge. The description's mention of $0.002 with extra_columns essentially restates what the schema already says, adding no new syntax or semantics. Baseline 3 is appropriate.

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?

"Geocode up to 50 addresses in one call" gives a specific verb (geocode), a specific resource (addresses), and a batch scope limit that separates it from the single-address geocode and from batch_reverse_geocode. An agent can tell what it does and roughly where it sits relative to siblings without opening the schema.

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?

Batch usage is implied by "up to 50 addresses in one call," so an agent can infer this is the choice for multi-address workloads. However, there is no explicit when-to-use or when-not statement (e.g. "use geocode for a single address"), leaving the alternative routing to inference.

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.

Resources