Skip to main content
Glama

Delete Tracked Flight Route

delete_route
DestructiveIdempotent

Permanently delete a tracked flight route from the authenticated user's account and stop all future price-drop alerts for it. This action cannot be undone (the route must be recreated via create_route if needed), though shared anonymous historical price trends remain intact. Usage guidelines: call list_routes first to retrieve the exact route UUID, and confirm the route name with the user before deleting. Returns { deleted: true, id } on success; safe to retry (idempotent) if the route was already deleted. Failure modes: returns an error if id is missing, malformed, or cannot be deleted due to a database error (routes belonging to other users cannot be affected).

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": {
      "id": "<id>"
    },
    "name": "delete_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesUUID of the tracked route to permanently delete, obtained from list_routes (e.g. '550e8400-e29b-41d4-a716-446655440000').

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Although the annotations already declare destructiveHint=true and idempotentHint=true, the description adds real context beyond them: irreversibility, the fact that shared anonymous historical price trends survive the deletion, a retry-safe guarantee with an explicit success payload, and named failure modes (missing/malformed id, database error). It also reassures that other users' routes cannot be affected, which is a genuine blast-radius statement.

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 destructive consequence and irreversibility are front-loaded before the procedural guidance, which is the right order for a delete tool. Every sentence carries information, though the 'Failure modes' and return-value clauses pack three distinct concerns into one dense run-on that could be broken up for scanability.

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 single-parameter destructive tool with no output schema, the definition covers everything an agent needs: pre-conditions, irreversibility, blast radius, the success response shape, idempotent retry behaviour, and error conditions. Nothing material is left to inference.

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 coverage is 100%, so the uuid format and example are fully documented in the schema itself. The description adds only the provenance hint that the id comes from list_routes, which is a useful but small increment over structured data. 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?

The first sentence pairs a specific verb ('Permanently delete') with a precisely scoped resource ('a tracked flight route from the authenticated user's account') and states the side effect ('stop all future price-drop alerts'). That is enough to separate it from siblings such as update_route or list_routes 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?

It gives an explicit prerequisite workflow: call list_routes first to get the UUID, and confirm the route name with the user before deleting. It also names the reconstruction path ('recreated via create_route if needed'), so the agent has both a pre-condition and the recovery alternative.

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.