Skip to main content
Glama

Sergio by Serviche

Fix a client's missing ZIP

fix_missing_zip
Idempotent

Writes a 5-digit ZIP onto a client's service address after the missing-zip plan's gates pass, as the cockpit's zip control does. The fix lands on the customer's BookingKoala profile through the business's write policy; a blocked policy answers outbound_stage_blocked and writes nothing. dryRun returns the plan without writing. Pass the same idempotency_key when retrying.

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": {
      "client_id": "<client_id>",
      "zip": "<zip>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "fix_missing_zip"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipYes
dryRunNo
client_idYes
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, yet the description still adds real value: writes route through a business write policy, a blocked policy returns outbound_stage_blocked and writes nothing, and dryRun previews without writing. It does not describe the success response, what happens if the address already has a ZIP, or whether the change is reversible, so it adds context but not a full behavioral picture.

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?

Four short sentences, front-loaded with the action, then policy/error behavior, then dryRun, then retry guidance. Tight overall, though 'as the cockpit's zip control does' is opaque internal shorthand that costs a clause without informing the caller.

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 mutation tool with no output schema and four properties, the description covers the write path, the failure signal, the preview mode, and retry safety. The main gap is the success return shape and the existing-ZIP case, but an agent can call this correctly from what is supplied.

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 only 25%, so the description does useful compensating work: dryRun semantics, idempotency_key retry semantics, and the 5-digit expectation for zip. However, client_id is never explained and the description's '5-digit' framing sits awkwardly against a schema that permits 5-10 characters, leaving an unresolved ambiguity an agent must guess at.

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?

Names a specific verb and narrowly-scoped resource: writing a 5-digit ZIP onto a client's service address, and pins the target system (BookingKoala profile). The scope is so specific that no sibling tool (edit_client, create_client, etc.) is plausibly confusable, so sibling differentiation is achieved by specificity rather than by naming an alternative.

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?

Establishes clear preconditions: the missing-zip plan's gates must pass and the business write policy must allow the write. It also explains how to preview (dryRun) and how to retry (reuse idempotency_key). It stops short of saying when to prefer this over a general edit_client-style tool, so a 4 rather than 5.

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