Skip to main content
Glama

Delete SMS trunk

delete_sms_trunk
Destructive

Delete one of the authenticated customer's SMS trunks by id (the uuid returned by list_sms_trunks). This is destructive and cannot be undone. A trunk that DIDs still route incoming SMS to cannot be deleted — unassign those DIDs first (assign_did_to_sms_trunk with a null sms_trunk_id, or route them to another trunk). Deleting a GROUP trunk also deletes its member trunks. Returns a confirmation message on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe SMS trunk id (uuid), as returned by list_sms_trunks.
confirmation_tokenNoLeave empty on the first call — the tool returns a confirmation_token + preview and deletes nothing. Re-call with that confirmation_token to delete.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description goes further: it warns the action cannot be undone, discloses the cascade behavior for group trunks, and states the DID-routing blocker that will cause failure. These are behavioral traits the agent cannot derive from the annotations.

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 tight sentences ordered by importance: what it does, that it is irreversible, what blocks it and how to unblock, then the cascade caveat and return value. No filler.

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, non-idempotent tool with no output schema, the description covers safety, preconditions, alternatives, cascade semantics, and the success response. Nothing an agent needs in order to call it correctly is missing.

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 documents both id and the two-step confirmation_token flow. The description's restatement of the uuid source adds little beyond the schema, so the baseline 3 is appropriate.

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 (delete) and resource (SMS trunk), scoped to the authenticated customer and identified by the uuid from list_sms_trunks. It also distinguishes itself from the nearby delete_trunk and delete_sms_trunk_group siblings by explaining that deleting a GROUP trunk cascades to member trunks.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit precondition (a trunk with DIDs still routing SMS cannot be deleted) and names the remedy with the exact alternative call: assign_did_to_sms_trunk with a null sms_trunk_id, or rerouting to another trunk. This is when-to-use and when-not-to-use guidance with the alternative named.

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