Skip to main content
Glama

Delete Voice IN Trunk

delete_trunk
Destructive

Delete one of the authenticated customer's Voice IN Trunks (inbound voice trunks) by id. This is destructive and cannot be undone. Trunks that are still assigned to DIDs cannot be deleted. Returns a confirmation message on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesUUID of the Voice IN Trunk to delete.
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. If the confirming call's response is lost, it is safe to retry with the SAME confirmation_token — a repeat returns the original result.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, so the safety profile is covered; the description adds valuable context — irreversibility ('cannot be undone'), the DID-assignment precondition, and a return indication. It omits any mention of the two-phase confirmation_token workflow, but that is documented in the schema.

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?

Three sentences, front-loaded with the action and identifier, then the destructive warning and precondition. Efficient overall, though the trailing 'Returns a confirmation message on success' is thin and slightly at odds with the two-step flow described in the schema.

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 no-output-schema tool, the description covers identity, irreversibility, and the DID precondition. It does not surface the non-obvious two-call confirmation flow, which an agent must infer from the schema, leaving a modest gap.

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%, so both id and confirmation_token are fully documented in the schema itself, including the two-phase confirm/retry semantics. The description adds nothing beyond 'by id', so the 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+resource: delete a Voice IN Trunk (inbound voice trunk) by id. It explicitly scopes the resource type, distinguishing it from sibling deleters like delete_sms_trunk and delete_trunk_group, and names the identifier used to target it.

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 clear precondition for use: trunks still assigned to DIDs cannot be deleted, implying the caller must unassign first. It does not, however, name an alternative tool or describe the unassign path, so it stops short of full when/when-not routing.

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