Skip to main content
Glama

AVL Hot Tub — book hot tub repair in Asheville

Check a ZIP code

check_service_area
Read-onlyIdempotent

Is a US ZIP code inside the Asheville service area? Returns yes/no and the nearest served town.

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": {
      "zip": "<zip>"
    },
    "name": "check_service_area"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description adds value by disclosing the return contract (yes/no plus nearest served town), which goes beyond annotations. It doesn't mention behavior for malformed or out-of-area inputs, keeping it from a 5.

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?

Two brief sentences, front-loaded with the core question, then the return shape. No filler or redundancy.

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 one-parameter, no-output-schema tool, the description is nearly self-sufficient: it states purpose, input domain, and return values. A minor gap is not explaining the response when the ZIP is outside the area beyond 'return the nearest served town,' but nothing essential is missing for a correct 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?

There is a single parameter with 0% schema description coverage, though the schema does encode the ^[0-9]{5}$ pattern. The description contributes 'US ZIP code' to convey expected format and locality, but adds no further detail on format, edge cases, or validation beyond what the schema's pattern implies.

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 frames a specific operation (testing whether a US ZIP code falls inside the Asheville service area) and even states the return shape (yes/no plus nearest served town). This clearly differs from get_service_info (general information) and request_service (booking).

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 the phrasing 'Is a US ZIP code inside the Asheville service area?' but there is no explicit statement of when to choose this over get_service_info or request_service, nor any exclusions or prerequisites. A reader can infer it's a lookup/eligibility check, but the routing guidance is left to 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