Skip to main content
Glama

Release a number

release_number
DestructiveIdempotent

Permanently release a phone number after explicit user authorization.

    A mismatched ``confirm_e164`` returns an error without releasing anything.
    Calls and texts to a released number stop. Recovery is not guaranteed.
    Current and previous monthly fees remain due, without a refund.
    Pending orders cannot be released and return 409.
    A failed order was not purchased; this operation only dismisses it from the list.
    A connected number (``source`` ``connected``) is only removed from Hail:
    it stays with the customer's phone system and provider.
    Returns ``released`` or ``dismissed``, plus ``number_id`` and ``e164``, or an error.
    

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": {
      "number_id": "<number_id>",
      "confirm_e164": "<confirm_e164>"
    },
    "name": "release_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
llm_modelNoThe calling agent's provider model ID, as shown in the client's model configuration when available. Recorded for analytics.
number_idYesWorkspace phone number ID, from ``list_numbers`` or ``acquire_number``.
confirm_e164YesThe number's ``e164`` value, such as ``+14155551234``, as a safety check.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / llm_model / description
      Previous value: -"Model ID of the calling agent. Optional. Recorded for analytics only."New value: +"The calling agent's provider model ID, as shown in the client's model configuration when available. Recorded for analytics."
  2. Changed3 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "properties": {
      +      "e164": {
      +        "type": "string"
      +      },
      +      "number_id": {
      +        "type": "string"
      +      },
      +      "released": {
      +        "const": true,
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "released",
      +      "number_id",
      +      "e164"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "dismissed": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "e164": {
      +        "type": "string"
      +      },
      +      "number_id": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "dismissed",
      +      "number_id",
      +      "e164"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "error": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / title
      Removed value: -"release_number_toolDictOutput"
  3. Changed1 schema field changed
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "Model ID of the calling agent. Optional. Recorded for analytics only.",
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare destructive=true and idempotent=true, yet the description adds substantial consequences the annotations cannot carry: calls and texts stop, recovery is not guaranteed, monthly fees remain due with no refund, and the confirm_e164 mismatch aborts without side effects. It also explains the connected-number exception, which is exactly the kind of nuance an agent needs before a destructive call.

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?

The purpose and authorization requirement are front-loaded, and each subsequent sentence covers a distinct failure mode or edge case rather than restating the schema. The list of consequences is dense but every line adds information; only the failed-order sentence is slightly cryptic in isolation.

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, open-world operation the description covers prerequisites, irreversible side effects, financial consequences, error conditions, and the connected-number exception, and it names the return values even though an output schema exists. Nothing material is missing for an agent to decide whether and how to invoke it.

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 100%, so the baseline is 3, but the description adds genuine meaning beyond the schema: confirm_e164 is a safety interlock whose mismatch 'returns an error without releasing anything,' and the failed-order case clarifies what number_id may refer to. The llm_model analytics parameter is untouched, but it needs no elaboration.

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 opens with a specific verb and resource ('Permanently release a phone number') plus a scope qualifier ('after explicit user authorization'), so an agent can distinguish it from acquire_number, list_numbers, or get_number. It stops short of naming any sibling explicitly or contrasting release with other lifecycle operations, so a 4 rather than a 5.

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 states a clear precondition ('after explicit user authorization') and spells out several conditions under which the call should not proceed or behaves differently: pending orders return 409, failed orders are only dismissed, connected numbers are only removed from Hail. No alternative tool is named for those cases, so the routing guidance is implicit rather than explicit.

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.