Check a ZIP code
check_service_areaIs a US ZIP code inside the Phoenix service area? Returns yes/no and the nearest served town.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | Yes |
check_service_areaIs a US ZIP code inside the Phoenix service area? Returns yes/no and the nearest served town.
| Name | Required | Description | Default |
|---|---|---|---|
| zip | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, openWorldHint=false, and idempotentHint=true, so the safety profile is covered. The description adds useful behavioral detail by saying it returns yes/no plus the nearest served town, which is not available 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, front-loaded with the core question and immediately followed by the return behavior. There is no wasted text.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read-only, one-parameter tool, the description covers the purpose, input domain, and return values. Annotations already carry the safety profile, and the absence of an output schema is mitigated by the explicit yes/no and nearest-town return summary.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must supply parameter meaning. It does identify the input as a US ZIP code scoped to Phoenix, which adds semantic context beyond the bare schema, but it does not describe the 5-digit format constraint that the schema enforces via pattern.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific check: whether a US ZIP code falls inside the Phoenix service area. It is clear and actionable, but it does not explicitly differentiate this from siblings like get_service_info or request_service.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The question format implies when the tool is useful: validating a ZIP against the Phoenix service area. However, it gives no explicit when-not guidance and does not mention alternatives such as get_service_info or request_service.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.