Skip to main content
Glama

Geocode an address

geocode
Read-onlyIdempotent

Convert a one-line U.S. street address to longitude/latitude, H3 r7 hex ID, and Harris County study-area status via the free U.S. Census Geocoder; business names and landmarks do not match.

Instructions

Geocode a one-line U.S. street address with the free U.S. Census Geocoder (no ArcGIS credits). Returns lon/lat, the H3 r7 hex id and whether it is inside the Harris County study area. Street addresses only; business names and landmarks do not match.

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": "geocode"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/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), yet the description still adds real value: no ArcGIS credits are consumed, the backend is the free Census Geocoder, and the response fields are enumerated. It omits what happens on a non-match or error (null vs. exception), which is the main remaining behavioral unknown.

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: purpose and backend first, outputs second, input restriction last. Every clause carries information an agent needs, with no restatement of the tool name or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by naming the returned fields (lon/lat, H3 r7 hex, Harris County study-area flag). Combined with the input restriction, an agent has everything needed to call this correctly and interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single 'address' parameter has 0% schema description coverage, so the description carries the burden and does: 'one-line', U.S.-only, street-address format rather than a business name or landmark. That materially constrains what string to build, though no example string or formatting convention (e.g., '123 Main St, Houston, TX') is given.

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?

States a specific verb and resource ('Geocode a one-line U.S. street address') plus the data source (U.S. Census Geocoder) and the exact outputs returned. Nothing overlaps with the analysis-oriented siblings (find_similar, hex_profile, hot_spots, overlay_suitability, validate), so an agent can route here without hesitation.

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?

'Street addresses only; business names and landmarks do not match' is an explicit when-not condition, and 'one-line U.S.' bounds the domain geographically and structurally. It stops short of naming an alternative geocoder or fallback path for the non-matching cases, so it is clear context rather than full routing guidance.

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