Skip to main content
Glama

Delete trip

delete_trip
DestructiveIdempotent

Permanently delete a trip. The places in it stay marked on the map — only the grouping is removed. Requires the exact trip id and confirm:true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tripIdYesThe exact id from list_trips. Titles and labels are not accepted.
confirmYesMust be true. Ask the user first — this cannot be undone from here.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already carry destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the description earns credit for going beyond them: it discloses the non-obvious side effect that places survive the deletion, that the deletion is permanent, and that confirm:true is a required consent gate. This is exactly the behavioral context an agent needs beyond boolean hints, and nothing contradicts 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?

Three short sentences, each earning its place: the action, the key side effect, and the input requirements. The most decision-relevant fact (permanence) is front-loaded before increasingly specific details.

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 two-parameter destructive tool with no output schema, this is nearly complete: consent flow, irreversibility, and the survival of places are all disclosed, and the schema fully covers parameters. The only minor gap is that success/error return semantics are not described, which is low-impact for a straightforward deletion.

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 both parameter descriptions are strong — tripId requires the exact id from list_trips and rejects titles/labels, and confirm documents the ask-the-user-first contract. The description mirrors these constraints ('Requires the exact trip id and confirm:true') without adding new semantic detail, 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 delete a trip') and clarifies the exact scope: only the grouping is removed while places stay marked on the map. This side-effect statement implicitly separates it from the remove_place/remove_country/remove_region siblings, which operate on map entities rather than trip groupings.

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?

Clear context is given: the operation requires the exact trip id and an explicit confirm:true, and the schema adds that the user must be asked first because the action cannot be undone from here. However, no alternative tool is named and no explicit when-not-to-use guidance is provided, so sibling differentiation is left to inference.

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