Skip to main content
Glama

Cuelark Data

ZIP codes for a city

zip_search
Read-onlyIdempotent

ZIP codes whose post-office name matches a US city, optionally within a state (2-letter code), largest population first.

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": {
      "city": "<city>"
    },
    "name": "zip_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYes
limitNo
stateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, and closed-world, so the bar is lower. The description adds genuine behavioral context beyond them: that matching is on post-office name (not city boundaries), that the state filter accepts a 2-letter code and is optional, and that results are ordered by largest population first. That ordering detail is the kind of trait an agent cannot get from annotations.

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?

A single front-loaded sentence with no filler; the matching rule, optional filter, and ordering all appear compactly. Slightly dense — the parenthetical state note interrupts the main clause — but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple three-parameter lookup with no output schema, this covers the essentials of matching and ordering. It still leaves the 'limit' parameter undefined and gives no hint of what a result record contains (ZIP, place name, population?), which the agent must discover by calling.

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 0%, so the description carries the burden. It explains 'city' as a matching name and 'state' as an optional 2-letter code, which is real added meaning. However, the 'limit' parameter is never mentioned in either schema or description, leaving one of three parameters completely undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource (ZIP codes) and matching rule (post-office name matching a US city), which distinguishes it from zip_lookup and zips_near implicitly through the matching semantics. It's clear what the tool returns, though it doesn't explicitly contrast itself with those siblings by name.

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?

Usage is implied by 'whose post-office name matches a US city' — an agent can infer this is the tool for going city-name to ZIP list. There is no explicit when-not guidance or pointer to zip_lookup for exact-ZIP reverse lookups, so selection among the several zip-related siblings still requires inference.

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