Skip to main content
Glama

Remove flight passenger

remove_flight_passenger
DestructiveIdempotent

Take a passenger off a travel event. Only after the user asked for it; set confirm to true.

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": {
      "passengerId": "<passengerId>",
      "confirm": "<confirm>"
    },
    "name": "remove_flight_passenger"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesMust be true. Only set after the user explicitly asked for this deletion.
passengerIdYesThe passenger id (from the matching list tool).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=true, so the safety profile is covered structurally. The description adds a real behavioral requirement on top: the action must only be taken on explicit user request, and confirm must be set. It says nothing about downstream effects (e.g., whether other itinerary records are affected), which keeps it below a 5.

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?

Two short sentences, front-loaded with the action and followed immediately by the consent constraint. No filler, no repetition, nothing that could be cut.

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 full annotation coverage and a fully described schema, the description supplies the one thing structured fields can't: the consent precondition. Only the side-effect/return behavior is unaddressed, and no output schema exists to cover it, so it is strong but not exhaustive.

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%, with both passengerId (UUID, sourced from the list tool) and confirm fully documented in the schema. The description only restates 'set confirm to true' and adds no syntax or sourcing detail beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Take a passenger off a travel event'), making the removal action unambiguous and distinguishing it from add_flight_passenger/update_flight_passenger by the verb alone. It never explicitly contrasts itself with siblings such as remove_hotel_guest, so it stops short of a 5.

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?

'Only after the user asked for it' states a clear precondition for invocation, which is the key usage gate for a destructive tool. It does not name any alternative (e.g., update_flight_passenger to modify rather than remove), so it lacks the explicit when/when-not/alternatives routing of a 5.

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.