Skip to main content
Glama

ai_address_parse

Read-only

Address parser — Parse a messy free-form postal address into clean components (recipient, street number/name/type, unit, PO box, city, state, postal code, country), normalize US state names to USPS codes, check ZIP format, list missing parts and return COMPLETE/PARTIAL/INVALID plus formatted lines. Add verify=true to check a US address against the US Census geocoder (match + lat/lon). Price: $0.005 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
addressYesattn Jane Doe 1600 pennsylvania ave nw apt 2 washington district of columbia 20500

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description goes well beyond them: it discloses normalization behavior (USPS state codes), ZIP format validation, missing-part reporting, a COMPLETE/PARTIAL/INVALID status, formatted output lines, an optional external Census geocoder call with match + lat/lon, and a per-call price of $0.005 USDC via x402. Payment and external-call behavior are exactly the kind of context annotations cannot convey.

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?

Everything is packed into one front-loaded sentence-block: purpose first, then outputs, then the optional flag, then price. It is dense but every clause carries information; only minor cost is the run-on length that makes the verify/price tail slightly harder to scan.

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, yet the description fully describes the return shape (component fields, status enum, formatted lines, geocoder match and lat/lon) and discloses the payment requirement. For a single-parameter, read-only parsing tool this leaves nothing an agent needs missing.

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?

With one required parameter at 100% schema coverage the baseline is high, and the description adds the undocumented 'verify=true' flag along with its effect and the fact that it applies only to US addresses. It does not add syntax or format rules for the address string beyond the schema example, so it stops short of a 5.

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 precise verb and resource ('Parse a messy free-form postal address into clean components') and enumerates the exact output fields (recipient, street number/name/type, unit, PO box, city, state, postal code, country). This is clearly distinguishable from generic siblings like ai_extract or ai_entities.

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?

The description gives conditional guidance for the optional flag ('Add verify=true to check a US address against the US Census geocoder'), which is a genuine when-to-do-X hint. However, it never states when to prefer this over sibling extractors or when the tool is inappropriate (e.g., non-US addresses for verification, non-postal input), so usage is implied rather than fully specified.

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