Skip to main content
Glama

WritersLogic business agents

zip4-lookup

US ZIP+4 Lookup and Address Validator — Get a standardized US address and ZIP+4 from your Lob address-verification account. Check one street address with a suite or up to 20 CSV rows. Results flag missing and incorrect units. The built-in USPS example shows Suite 215 at 4420 Hotel Circle Ct.

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": "zip4-lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvNoUp to 20 addresses. Header columns are street, unit, city, state, zip. Extra columns are ignored. Each row needs a street and either ZIP or city and state.
zipNoFive-digit ZIP or full ZIP+4. Preserve leading zeros.
cityNoUS city.
modeNoExample returns the previously verified USPS demonstration. Lookup verifies your input live.
unitNoApartment or suite, for example STE 215.
stateNoTwo-letter state or territory code.
streetNoStreet address or PO Box.
lob_api_keyNoLob live publishable API key authorized for your organization's address verification.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does add real value by disclosing the Lob account/API-key prerequisite, the 20-row ceiling, and that results flag missing and incorrect units. Gaps remain: it doesn't say whether credits are consumed, how invalid or ambiguous addresses are reported (error vs. partial result), or whether the operation is purely read-only with no side effects.

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?

Purpose, inputs, output flags, and the worked example are front-loaded in three compact sentences with no filler. The USPS example sentence is mildly decorative but does justify the 'example' mode, so it mostly earns its place.

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 an 8-parameter, unannotated, no-output-schema tool, the description covers purpose, auth requirement, batch limit, and the shape of results. What's missing is failure behavior and cost implications, which matter for a paid third-party verification call.

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 baseline is 3; the schema already explains csv, unit, zip, and the mode enum. The description reinforces the csv row limit and the suite/unit use case but adds no format, precedence, or validation nuance beyond the schema (e.g., what happens if both csv and single-address fields are supplied).

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?

The description opens with a specific verb and resource ("Get a standardized US address and ZIP+4") plus the data source (Lob address-verification account), and "Validator" signals the verification capability. An agent can immediately tell this is a US address standardization/lookup tool 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?

It sketches the two input shapes (one street address with a suite, or up to 20 CSV rows) which implies when each input form applies, and the last sentence explains what the example mode returns. However, it never states when to prefer 'example' over 'lookup', gives no prerequisites beyond having an account, and names no alternative tools for non-US or bulk-beyond-20 cases.

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