Skip to main content
Glama

Cancel a pairing attempt

cancel_pairing
Destructive

Stop an unfinished pairing attempt without logging the phone out or deleting the number. A number that is already connected stays connected. Call pair_number to try again. Free.

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": {
      "numberId": "<numberId>"
    },
    "name": "cancel_pairing"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberIdYesId of the number, from list_numbers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, and the description complements this by narrowing the blast radius: the number is not logged out and not deleted, and a live connection is unaffected. That is genuine behavioral context beyond the structured fields. What remains unstated is behavior when no pairing is pending (no-op vs. error) and any return value.

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 and its non-effects, then the retry alternative, then cost. Every sentence carries information, though the fragment 'Free.' is slightly clipped and the idempotency case is omitted rather than compressed.

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?

For a one-parameter cancellation tool with no output schema, the description covers action, side effects, retry path, and cost. Nothing critical to invoking it correctly is missing, given the annotations already flag it as a mutating 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 required parameter and schema description coverage is 100%, with the schema telling the agent the numberId comes from list_numbers. The description adds nothing about the parameter, so the baseline of 3 is correct because the schema already carries the full burden.

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 states a specific verb and resource ('Stop an unfinished pairing attempt') and immediately scopes it against what an agent might otherwise assume: no logout, no number deletion. It is clearly distinguishable from pair_number, which is named as the retry path.

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 the recovery path explicitly ('Call pair_number to try again') and implicitly defines when not to bother: a number that is already connected stays connected, so the call is a no-op there. It does not spell out the precondition (a pairing must actually be in progress) as a hard rule, which keeps it just short of a 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