Skip to main content
Glama

asms

Cancel a verification order

cancel_order
DestructiveIdempotent

Rarely needed. To retry a verification do NOT cancel: just call create_otp_order again, because every unfilled order auto-refunds within 10 minutes on its own, and cancel is blocked for the first 10 minutes anyway. Only use this to release an order you are certain you no longer need once its 10-minute hold has passed.

Input Schema

NameRequiredDescriptionDefault
orderIdYesThe orderId from create_otp_order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered structurally. The description adds genuinely new context – a 10-minute block window and automatic refund of unfilled orders – but does not say whether an explicit cancel refunds, what error surfaces when called too early, or that the action is irreversible.

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?

Three sentences, each load-bearing, and the discouraging verdict ('Rarely needed') is front-loaded before the reasoning. No filler and no repetition of the schema.

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 single-parameter destructive tool with no output schema, the decision-critical information (don't use it to retry, timing gate, self-refund behavior) is all present. The gap is the post-cancel outcome and error behavior, which an agent would still have to discover empirically.

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?

One parameter with 100% schema description coverage that already tells the agent orderId comes from create_otp_order. The description adds no format, source, or validation detail beyond that, so baseline 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 makes clear this releases/cancels a verification order and explicitly names create_otp_order as the thing an agent should reach for instead when retrying. What it never states plainly is the effect of a successful cancel (whether the held funds are released/refunded), so the resource is identified but the operation's outcome is left implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-not-to-use ('to retry a verification do NOT cancel'), an explicit alternative ('just call create_otp_order again'), a hard precondition (blocked for the first 10 minutes), and the only valid case (release an order you no longer need after the hold). This is close to a model usage section.

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.