Skip to main content
Glama

Delete a route alert

delete_itinerary
DestructiveIdempotent

Permanently remove a route and stop watching every night of it. PREFER pause_itinerary when the user may want it back — pausing keeps the nights and is reversible, and the nights cannot be rebuilt by editing. A deleted route has to be planned again from scratch, and its nights cannot be rebuilt by editing. Ask the account holder which routes they mean before deleting any you did not just create for them in this conversation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
routeYesThe route as the account holder would recognise it, copied EXACTLY from this route's `label` in list_my_itineraries or get_itinerary. Their client shows the arguments of this call for approval, so without it they are asked to confirm a bare id. Checked against the record: a label naming something else is refused.
itinerary_idYesThe route to delete.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
deletedYes
itinerary_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover destructive=true and idempotent=true, so the bar is lower, yet the description still adds real context: what is lost (every night of the route), that the loss is irreversible, that nights cannot be rebuilt by editing, and that deletion must be confirmed with the account holder. This goes well beyond the annotation set.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded correctly with the destructive action first and the alternative second, but the clause 'the nights cannot be rebuilt by editing' is repeated verbatim in consecutive sentences, which is dead weight in an otherwise tight description.

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?

An output schema exists so return values need no explanation, and annotations carry the safety profile. For this complexity level the description covers purpose, irreversibility, the sibling alternative, and the confirmation prerequisite — nothing an agent needs 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%, so the schema already carries parameter meaning — including the cross-checked `route` label and its refusal behavior. The description adds no syntax or format detail for either parameter, 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 and resource — 'Permanently remove a route and stop watching every night of it' — with the permanence qualifier that separates it from the pause/resume siblings. An agent can distinguish it from pause_itinerary without opening any schema.

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?

Explicitly routes the agent: 'PREFER pause_itinerary when the user may want it back', gives the reason (reversibility), and adds a confirmation protocol ('Ask the account holder which routes they mean before deleting any you did not just create'). When-to-use, when-to-use-something-else, and a prerequisite are all present.

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