Skip to main content
Glama

Address Normalize

address_normalize
Read-onlyIdempotent

Normalize a free-form US postal address to USPS Publication 28 style, deterministically (rule tables, no AI): uppercase, standard street-suffix, directional and unit abbreviations (Street -> ST, Suite -> STE, North -> N), state names to 2-letter codes, ZIP/ZIP+4 cleanup, and a parsed breakdown (house number, street, unit, city, state, ZIP). Formatting only — it does not verify the address is deliverable. Non-US addresses get whitespace cleanup only.

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

Input Schema

NameRequiredDescriptionDefault
addressYesFull address on one line or several, e.g. '1600 Pennsylvania Avenue Northwest, Washington, District of Columbia 20500'
countryNoISO country code (default US; only US gets full normalization)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the determinism mechanism ('rule tables, no AI'), the exact normalization rules applied (uppercase, suffix/directional/unit abbreviations, state-to-code, ZIP+4 cleanup), and the explicit non-verification caveat. The annotations only declare readOnly/idempotent/non-destructive; the description supplies the substantive behavioral contract.

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?

Front-loads the core transformation, then the rule list, then the crucial limitation, then the non-US edge case. Dense but every clause carries distinct information; no filler sentences.

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?

With no output schema, the description still tells the agent what comes back (a parsed breakdown of house number, street, unit, city, state, ZIP) plus the whitespace-only behavior for non-US input. Nothing needed to call it correctly or interpret the result 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 coverage is 100%, so both parameters are already documented with examples and the country default. The description reinforces the country behavior ('only US gets full normalization') and enumerates the parsed output fields, but adds little parameter-level syntax beyond what the schema states.

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 concrete verb and resource ('Normalize a free-form US postal address to USPS Publication 28 style') and enumerates the specific transformations produced. It is trivially distinguishable from validation-oriented siblings such as email_address_validate or phone_validate, which operate on different inputs.

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?

Explicitly bounds usage with 'Formatting only — it does not verify the address is deliverable' and clarifies that non-US addresses receive only whitespace cleanup. That gives a clear when-to-use and a when-not-to-expect-results boundary, though it never names an alternative tool to use for deliverability checks.

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.