Skip to main content
Glama

Add or edit a ride

save_gig_transport
Destructive

Add a ride to a gig's ground transport, or edit one. Without transport_id this adds a ride: kind is required. With transport_id (from list_gig_transports) it edits that ride: pass just the fields to change. Times are instants with an offset plus each end's IANA zone; the dropoff cannot be before the pickup. Changing cost or payer needs financial access. Record only: nothing is booked with the provider and nobody is notified. Requires gig-operations 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": {
      "event_id": "<event_id>"
    },
    "name": "save_gig_transport"
  }
}

Input Schema

NameRequiredDescriptionDefault
costNoride cost; needs financial access
kindNothe kind of ride (required when adding)
notesNonotes for the travellers
payerNowho pays for the ride; needs financial access
vehicleNofree-text vehicle description when it is not saved
event_idYesthe gig (event id from list_events)
providerNocompany or service, e.g. Hertz, Uber, Blacklane
pickup_atNowhen the pickup happens (RFC 3339 instant with offset)
dropoff_atNowhen the dropoff happens (RFC 3339 instant with offset)
sort_orderNoorder among the gig rides
vehicle_idNoone of the organization's saved vehicles
driver_nameNodriver name
driver_phoneNodriver phone
transport_idNoedit this ride (id from list_gig_transports); omit to add one
cost_currencyNoISO currency of cost, e.g. USD
pickup_locationNowhere the ride starts
pickup_timezoneNoIANA zone of the pickup, e.g. America/Los_Angeles
dropoff_locationNowhere the ride ends
dropoff_timezoneNoIANA zone of the dropoff
confirmation_codeNobooking confirmation code
pickup_instructionsNowhere and how to meet the ride

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNothe API response { status (HTTP status), data: { attachments [{ id, booking_kind, booking_id, traveller_user_id, filename, content_type, file_size, uploaded_by, and 2 more fields }], id, event_id, kind, provider, pickup_location, pickup_at, pickup_timezone, dropoff_location, dropoff_at, dropoff_timezone, vehicle_id, vehicle, driver_name, driver_phone, confirmation_code, cost, cost_currency, and 8 more fields } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations it discloses the important behaviors: record-only (nothing booked with the provider, nobody notified), immediate execution with no confirmation step, and the permission gates on the financial fields. The gap is that idempotentHint=false is never explained — an agent is not warned that retrying an add creates a duplicate ride rather than reconciling, and there is no note on whether omitted fields are preserved or cleared on edit.

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?

Roughly five dense sentences, front-loaded with the add/edit split, then constraints, then side effects and permission model. No filler, no restatement of the title, and each sentence carries distinct decision-relevant information.

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 21-parameter mutation tool with an output schema and annotations supplied, the description covers what structured fields do not: mode selection, cross-field time ordering, permission gates, absence of external side effects, and the lack of a confirmation step. An agent has everything needed to invoke it correctly on the first attempt apart from retry/duplication semantics.

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%, so the schema already documents all 21 parameters, and much of the description's parameter talk (kind required, financial access) restates schema text. The genuinely additive parts — the cross-field constraint that dropoff cannot precede pickup and the requirement that each instant carries an offset matched to that end's IANA zone — are useful but brief, so it sits at the baseline-plus level rather than substantially exceeding it.

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 opening sentence names a specific verb and resource ("Add a ride to a gig's ground transport, or edit one") and the next two sentences split the two modes by the presence of transport_id, which cleanly separates this from list_gig_transports and remove_gig_transport. An agent can tell exactly what it manages and how the two operations differ 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?

It gives explicit routing conditions: no transport_id means create (and kind becomes required), transport_id from list_gig_transports means edit and only the changed fields should be sent. It also flags prerequisite states (gig-operations access; financial access for cost/payer), so an agent knows both when to call it and whether it is allowed to.

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.