Skip to main content
Glama

Release a phone line

release_phone_number
DestructiveIdempotent

Permanently give up a phone line. RevDesk releases the number to the carrier, stops billing for it, and deletes its call history and recordings. This cannot be undone and the number may not be recoverable. Admins only. Ask the user to confirm before calling this tool.

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": {
      "phone_number_id": "<phone_number_id>"
    },
    "name": "release_phone_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspace_idNoLeave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace.
phone_number_idYesThe line's id from list_phone_numbers (a small number like 42, not the phone number itself)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Act in one of this organization's workspaces (id from list_workspaces or create_workspace). Leave empty to act in the connected organization."New value: +"Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace."
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Goes well past the annotations by disclosing what is destroyed (call history and recordings), that billing stops, that the number is released to the carrier, and that the action is irreversible. Annotations already declare destructiveHint=true, so this is additive context rather than the sole source of the safety profile; only the response/error behavior is left unstated.

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?

Four short sentences, front-loaded with the permanence warning, then consequences, then the admin/confirmation constraint; nothing is redundant or padded.

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 destructive two-parameter tool with no output schema, the description covers impact, irreversibility, permission level, and a confirmation protocol — everything an agent needs before invoking it.

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 100%, and the schema already explains that phone_number_id is a small internal id rather than the phone number, and that workspace_id defaults to the connected organization. The description adds no parameter-level meaning beyond that, so baseline 3 applies.

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 ('Permanently give up a phone line') and spells out the concrete consequence chain (released to carrier, billing stops, history deleted), which cleanly separates it from the update/get/list phone-number siblings.

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?

Provides actionable preconditions: 'Admins only' and 'Ask the user to confirm before calling this tool.' It does not explicitly route the agent to an alternative such as update_phone_number for non-destructive changes, so it stops short of full when/when-not coverage.

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