Skip to main content
Glama

deactivate_twilio_phone_number

Destructive

DESTRUCTIVE: Release/deactivate a power-dialer number — rented or verified caller-ID — (phoneNumberId = the number's _id from the rented-numbers list). A rented number is first unlinked from the team's Twilio Trust Hub registrations, then released at Twilio and given up permanently. A verified caller-ID is deleted from Twilio and must be verified again before it can be used. Either way the number is archived in FuseAI and stops being used for calls, and removing a verified caller-ID also turns off inbound call forwarding to it. Only call after the user explicitly confirms.

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": {
      "phoneNumberId": "<phoneNumberId>"
    },
    "name": "deactivate_twilio_phone_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
phoneNumberIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, so the safety profile is known, yet the description adds substantial detail beyond them: Trust Hub unlinking first, permanent release at Twilio, archiving in FuseAI, re-verification requirement for caller-IDs, and the loss of inbound call forwarding in that case. This is exactly the 'what gets destroyed and what breaks afterwards' context an agent needs.

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 a 'DESTRUCTIVE:' marker, then consequences, then the confirmation gate — a sensible ordering for a risky tool. It is dense with clauses but nearly every one carries actionable consequence information; only the parenthetical about the ID could be trimmed slightly.

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, no-output-schema destructive tool, the definition covers target identification, both code paths, side effects, post-conditions, and the confirmation requirement. Nothing needed to invoke it safely is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must carry the parameter, and it does — phoneNumberId is the number's internal _id from the rented-numbers list, which usefully disambiguates it from a Twilio SID. A format hint or example value would close the remaining gap, but the essential meaning is supplied.

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?

States a specific verb and resource ('release/deactivate a power-dialer number') and immediately splits the domain into its two distinct cases — rented numbers and verified caller-IDs — each with different consequences. An agent can identify the target object and the operation without consulting the schema.

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?

Gives a hard precondition ('Only call after the user explicitly confirms') and implicitly routes the agent to the rented-numbers listing to obtain the ID. It does not spell out when to prefer an alternative action (e.g., pausing dialing instead of releasing), but the confirmation gate is the decisive usage rule for a destructive tool.

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.