Skip to main content
Glama
mcpwright
by mcpwright

Look up a ZIP

lookup_zip
Read-only

Check if a U.S. ZIP code has IRS SOI data, returning state, tax year, and counts of returns and individuals. Validate a ZIP before pulling more detailed stats.

Instructions

Confirm a ZIP has SOI data and return its return and individual counts.

`zip_code`: a 5-digit US ZIP. A good first call to validate a ZIP before
asking for more detail. Returns the state, number of returns, number of
individuals, and the SOI tax year. ZIPs with <100 returns are excluded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zip_codeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateNo2-letter USPS state code
returnsNoTotal number of tax returns filed from this ZIP
zipcodeYes5-digit ZIP code
tax_yearYesSOI tax year of the data
individualsNoTotal number of individuals (filers plus dependents)
Behavior4/5

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

Annotations already indicate read-only and open-world hints. The description adds valuable behavioral details: the exclusion of ZIPs with fewer than 100 returns and the specific data returned (state, counts, tax year). It does not contradict annotations and enhances understanding beyond them.

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?

The description is concise and front-loaded with the core purpose. Every sentence adds value: the ZIP format, the use case, and the exclusion rule. No redundancy or irrelevant information.

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 simple single-parameter lookup with an output schema, the description covers the essential context: what it does, when to use it, and key constraints. It does not describe the not-found behavior, but the output schema likely handles that, and the annotations cover safety.

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 0% schema description coverage, the description compensates by defining 'zip_code' as a 5-digit US ZIP and noting the exclusion threshold. It adds practical meaning beyond the schema's basic property definition, though it could specify validation rules more explicitly.

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 clearly states the tool's purpose: to confirm a ZIP has SOI data and return counts. It uses specific verbs and identifies the resource (ZIP), and distinguishes itself from siblings by positioning as a validation first call.

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 description explicitly recommends this as a 'good first call' before requesting more detail, giving clear usage context. It does not name alternative tools or provide when-not-to-use scenarios, but the context is sufficient for a simple lookup tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mcpwright/soi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server