Skip to main content
Glama

Close the old Annatel line holding a stock number

number_release_annatel_line
Destructive

Staff only. For an Annatel pool number already back in stock whose old customer line still holds it: sends Annatel one request to close that line (only if it holds just this number and no SIM), so Annatel stops charging for it. Run again to finish once Annatel is done; then the line link and a cancelled order link are cleared and the number can be sold. Never sends a second close request. Preview reads only. Without confirm it shows a preview and changes nothing.

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": {
      "did_id": "<did_id>",
      "reason": "<reason>"
    },
    "name": "number_release_annatel_line"
  }
}

Input Schema

NameRequiredDescriptionDefault
did_idYesThe stock number's DID id (already returned to stock).
reasonYesWhy the line is closed, and who approved it.
confirmNoDo it. Omitted: shows a preview and changes nothing.
consumer_user_idNoAct on this seat (own seat, account owner or admin, or staff). Same checks as the site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=false) the description discloses the staff-only gate, the outbound Annatel request, the two-phase async completion, and that a second close request is never sent. It also explains what gets cleared (line link, cancelled order link). It does not say what happens on failure or how long Annatel typically takes, which keeps this off 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the audience and precondition, then the action, then the completion path, with no filler sentences. Several clauses are packed into long run-on sentences ('Run again to finish once Annatel is done; then the line link and a cancelled order link are cleared...'), which slightly hurts scanability.

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 destructive, two-phase mutation with no output schema, the description covers authorization, preconditions, side effects and the preview mode, which is most of what an agent needs. The remaining gaps are failure/retry behavior and how to tell whether Annatel has finished, which the agent must discover at call time.

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 coverage is 100% with per-parameter descriptions, so the schema already explains did_id, reason, confirm and consumer_user_id. The description restates the confirm/preview contract and the 'back in stock' precondition on did_id, adding modest reinforcement rather than new meaning. Baseline 3 applies when the schema carries the weight.

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 (send one request to Annatel to close the old customer line) plus exact scope: an Annatel pool number already back in stock whose old line still holds it. That scope distinguishes it cleanly from stock-side siblings such as number_return_to_stock, which operates on the number rather than the legacy carrier line.

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?

The when-to-use condition is explicit and includes a when-not edge case ('only if it holds just this number and no SIM'), plus a lifecycle instruction to run it again to finish. It stops short of naming the sibling tools or a fallback when the line holds a SIM, so it is clear context rather than a full routing rule.

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.