Skip to main content
Glama

MCPMails — Digital Email & Physical USPS Mail MCP + x402 Payment Router

physical_lookup_eddm_routes

Read-onlyIdempotent

Look up real official USPS EDDM carrier routes (ZIP_CRID, residential & business delivery counts, dropship Post Office, median income, age) directly from USPS GIS by 5-digit ZIP(s), "City, ST", or lat/lng radius. Returns ready-to-use routes[] for physical_create_eddm_plan.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "physical_lookup_eddm_routes"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNo
lngNo
zipNo
queryNoZIP code(s) like "90068, 90046" or city/state like "Beverly Hills, CA"
radiusMilesNo
includePoBoxesNo
includeGeometryNo
minMedianIncomeNo
residentialOnlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and openWorld, so the safety profile is covered. The description adds value beyond that by disclosing the data provenance (real official USPS GIS) and that the output is directly consumable by physical_create_eddm_plan, which tells an agent the results are authoritative and pre-shaped. It omits latency, rate limits, and what happens when a query matches no routes, so it is not a full 5.

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 sentences, well front-loaded, with the data source and return shape stated before the input modes. The parenthetical field list is dense but each item is informative, so little trimming is needed.

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 9-parameter, no-output-schema lookup tool, the description establishes purpose, source, input modes, and the enriched fields (delivery counts, dropship PO, median income, age) an agent can expect back. The remaining gap is the undocumented boolean/numeric filters, which are the most likely source of misconfiguration.

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 only 11% (just 'query'), so the description must compensate across 9 parameters. It does cover the main addressing modes (zip, query, lat/lng, radiusMiles) but says nothing about includePoBoxes, includeGeometry, minMedianIncome, or residentialOnly, whose effect on results must be guessed. Partial compensation warrants the baseline 3 rather than higher.

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 (look up) and a specific resource (USPS EDDM carrier routes) with the exact fields returned, and explicitly links the output to the downstream sibling physical_create_eddm_plan. An agent can tell this apart from physical_estimate_route or physical_verify_address from the description alone.

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?

The definition signals when to use it by naming the consumer tool (physical_create_eddm_plan) and the accepted input modes (ZIP, 'City, ST', lat/lng radius), which is clear context for selection. It stops short of naming a when-not condition or an alternative lookup tool for agents who lack coordinates or ZIPs.

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