Skip to main content
Glama

Add or edit a flight passenger

save_flight_passenger
Destructive

Put a member of your organization on a recorded flight leg, or edit their row. Without passenger_id this adds user_id (from list_org_members; a person can be on a leg once) with their own confirmation code, seat, ticket number and bags. With passenger_id (passengers[].id, not user_id) it edits that row: pass just the fields to change; null clears. Returns the whole flight. Passports and frequent-flyer numbers stay on the person profile and are not set here. Requires project-manager access. Runs on the first call; there is no confirmation step.

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>"
    },
    "name": "save_flight_passenger"
  }
}

Input Schema

NameRequiredDescriptionDefault
seatNoseat, for example "14C"; null clears
notesNonotes for this traveller; null clears
user_idNowhen adding: the traveller, a member of your organization
flight_idYesflight id from list_project_travel
project_idYesproject id from list_projects, or a gig's project_id from get_event
passenger_idNoedit this passenger row (passengers[].id, not user_id); omit to add one
baggage_countNochecked bags; null clears
ticket_numberNoe-ticket number; null clears
organization_idNoorganization to act in, an id from get_me; omit to use your active organization
confirmation_codeNothis traveller's PNR or confirmation code; null clears

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNothe 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.5/5.0
Behavior3/5

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

Adds real behavior beyond the annotations: project-manager access requirement, immediate execution with no confirmation step, null-clears semantics on edits, and that the whole flight is returned. These are meaningful given destructiveHint=true, though it does not spell out exactly what a null write destroys or whether edits are reversible. Strong content, but not a full disclosure of the destructive path.

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?

Dense but front-loaded: the add-vs-edit distinction leads, followed by parameters, exclusions, and operational constraints. Every sentence carries information an agent needs; nothing is redundant with the title.

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 10-parameter mutation tool with an output schema available, the description covers access requirements, execution timing, write semantics, and scoping constraints. Return values need not be described since an output schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% so the baseline is 3; the description still adds meaning by framing passenger_id as passengers[].id rather than user_id, explaining the partial-update convention ("pass just the fields to change") and the per-leg uniqueness rule that the schema does not state.

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+resource ("Put a member of your organization on a recorded flight leg, or edit their row") and immediately splits the two modes by presence of passenger_id, so an agent can tell add from edit 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 Guidelines5/5

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

Gives explicit branch conditions (no passenger_id = add; passenger_id = edit), points to list_org_members for the user_id value, states the one-person-per-leg constraint, and explicitly excludes passport/frequent-flyer data as belonging elsewhere.

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.