Skip to main content
Glama

Coinage

Update home ZIP

update_home_zip
Idempotent

Set or clear the signed-in person's home ZIP. Requires scope account:write. Later searches that omit a location use this ZIP. Send clear true to remove it. The ZIP is not returned.

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": "update_home_zip"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipNo5-digit US ZIP code.
clearNoSet true to remove the saved home ZIP instead of setting one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations (non-read-only, idempotent, non-destructive), the description discloses the required OAuth scope (account:write), the side effect on future location-less searches, and the notable fact that the stored ZIP is never echoed back. It doesn't state what happens if both zip and clear are supplied, which is the remaining behavioral gap.

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?

Four short sentences, front-loaded with the action, then auth scope, then downstream effect, then the clear instruction and the no-return note. Every sentence carries information an agent would otherwise have to guess.

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

Completeness5/5

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

There is no output schema, and the description compensates by explicitly stating that the ZIP is not returned. Combined with the auth scope, the effect on later searches, and the clear path, nothing material is missing for a two-parameter mutation tool.

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 both parameters are already documented, and the description only reinforces the clear-flag behavior the schema already explains. It adds no format or mutual-exclusivity detail for the zip/clear pair, so the baseline of 3 applies.

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 states a specific verb and resource ('Set or clear the signed-in person's home ZIP'), including the actor scope, so the operation is unambiguous. No sibling in the catalog touches a home ZIP, so sibling differentiation is moot rather than missing, which keeps this just below a 5.

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?

It gives clear usage context: the ZIP feeds later searches that omit a location, and 'Send clear true to remove it' tells the agent how to invoke the removal path. It stops short of explicit when-not guidance or naming alternatives, but no competing tool exists for this purpose.

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