Skip to main content
Glama

Remove flight passenger

remove_flight_passenger
DestructiveIdempotent

Take a traveller off a recorded flight leg. Returns the whole flight. It cancels nothing with the airline. Confirmation-gated. Requires project-manager access.

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": {
      "project_id": "<project_id>",
      "flight_id": "<flight_id>",
      "passenger_id": "<passenger_id>"
    },
    "name": "remove_flight_passenger"
  }
}

Input Schema

NameRequiredDescriptionDefault
flight_idYesflight id from list_project_travel
project_idYesproject id from list_projects, or a gig's project_id from get_event
passenger_idYesthe passenger row's id (passengers[].id), not user_id
organization_idNoorganization to act in, an id from get_me; omit to use your active organization
confirmation_tokenNoleave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token to proceed

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNowhen the tool asks first: { status: "confirmation_required", confirmation_token, summary, expires_in_seconds, instructions } and nothing is changed; once confirmed, the API response { status (HTTP status), data: { id, project_id, project_name, airline, flight_number, depart_airport, arrive_airport, depart_at, depart_timezone, arrive_at, arrive_timezone, booking_reference, cost, cost_currency, notes, sort_order, status, estimated_depart_at, and 8 more fields } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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 and idempotentHint=true, so the safety profile is covered. The description adds context annotations cannot express: the side effect is local only ('cancels nothing with the airline'), the response is the whole flight, the call is confirmation-gated, and it needs elevated project-manager permissions.

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?

Five short sentences, each carrying a distinct fact: action, return value, side-effect boundary, gating, and permission requirement. The action is front-loaded with zero filler.

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?

With an output schema present and full schema coverage, the description needs only the non-structured facts, and it supplies them: side-effect scope, auth requirement, and the confirmation gate. Nothing an agent needs to invoke this mutation safely 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%, including the important distinction that passenger_id is the passenger row id rather than a user_id and the two-step confirmation_token flow. The description adds no parameter-level meaning beyond the word 'traveller', so the baseline of 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: removing a traveller from a recorded flight leg. The clause 'It cancels nothing with the airline' implicitly separates it from delete_project_flight or a cancellation tool, so the agent can tell what this does and does not do without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives prerequisites ('Requires project-manager access') and a gate ('Confirmation-gated'), and the airline-cancellation caveat hints at when this is the right tool. However, it never names an alternative sibling or states explicitly when not to use it, so routing versus save_flight_passenger or delete_project_flight 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.