Skip to main content
Glama

Create Transportation

tripsy_transportations_create

Create a Tripsy transportation for point-to-point movement. Timed values are always UTC ISO-8601 timestamps; set departure_timezone and arrival_timezone to each endpoint's local IANA timezone. MCP clients displaying transportations must convert departure_at with departure_timezone and arrival_at with arrival_timezone before formatting local endpoint dates/times. Use transportation_type for the segment kind and include departure/arrival names, addresses, latitudes, and longitudes when known. Store provider-issued reservation, confirmation, or booking codes in provider_reservation_code; use transport_number for the flight, train, bus, or service number. For flights, use transportation_type airplane, set departure_description and arrival_description to airport IATA codes, include the airports' departure/arrival latitudes and longitudes, and omit name unless the user provided one. For transfer activities, use transportation_type transfer and fill both departure and arrival locations completely. Supported transportation_type slugs: airplane, bike, bus, car, roadtrip, cruise, ferry, motorcycle, subway, train, transfer, walk. Labels: airplane = Flight; bike = Bike; bus = Bus; car = Car Rental; roadtrip = Drive / Road Trip; cruise = Cruise; ferry = Ferry; motorcycle = Motorcycle; subway = Subway; train = Train; transfer = Transfer; walk = Walk. Use only these exact slugs; custom categories are not supported for transportations. Safety: Closed-world: operates within the authenticated user's Tripsy account and accessible trips.

Input Schema

NameRequiredDescriptionDefault
dataNoOptional raw transportation fields. Prefer the typed top-level fields when possible; values here are merged first. Supported transportation_type slugs: airplane, bike, bus, car, roadtrip, cruise, ferry, motorcycle, subway, train, transfer, walk. Labels: airplane = Flight; bike = Bike; bus = Bus; car = Car Rental; roadtrip = Drive / Road Trip; cruise = Cruise; ferry = Ferry; motorcycle = Motorcycle; subway = Subway; train = Train; transfer = Transfer; walk = Walk. Use only these exact slugs; custom categories are not supported for transportations.
nameNoTransportation segment name. For flights, omit name unless the user provided one.
notesNoOptional notes.
priceNoOptional price.
companyNoCarrier, operator, or transfer company.
trip_idYesTripsy trip id.
currencyNoISO currency code for price, such as EUR or USD.
arrival_atNoUTC ISO-8601 arrival timestamp when known. Timed values are always UTC; MCP clients must convert this value to arrival_timezone before displaying the local arrival date/time.
descriptionNoOptional transportation description.
departure_atNoUTC ISO-8601 departure timestamp when known. Timed values are always UTC; MCP clients must convert this value to departure_timezone before displaying the local departure date/time.
arrival_addressNoFull arrival address. Required for transfer activities when known.
arrival_latitudeNoArrival latitude. Required for flight airports and transfer activities when known.
arrival_timezoneNoArrival location IANA timezone. MCP clients must use this timezone to convert UTC arrival_at before displaying the local arrival date/time.
transport_numberNoFlight, train, bus, or booking number when relevant.
arrival_longitudeNoArrival longitude. Required for flight airports and transfer activities when known.
departure_addressNoFull departure address. Required for transfer activities when known.
departure_latitudeNoDeparture latitude. Required for flight airports and transfer activities when known.
departure_timezoneNoDeparture location IANA timezone. MCP clients must use this timezone to convert UTC departure_at before displaying the local departure date/time.
arrival_descriptionNoArrival location name or description. For flights, use the arrival airport IATA code such as JFK or FCO. For transfers, include the real place name.
departure_longitudeNoDeparture longitude. Required for flight airports and transfer activities when known.
transportation_typeNoSupported transportation type slug. For flights, use airplane. For transfer activities, use transfer. Supported transportation_type slugs: airplane, bike, bus, car, roadtrip, cruise, ferry, motorcycle, subway, train, transfer, walk. Labels: airplane = Flight; bike = Bike; bus = Bus; car = Car Rental; roadtrip = Drive / Road Trip; cruise = Cruise; ferry = Ferry; motorcycle = Motorcycle; subway = Subway; train = Train; transfer = Transfer; walk = Walk. Use only these exact slugs; custom categories are not supported for transportations.
vehicle_descriptionNoVehicle description for cars, transfers, and roadtrips.
departure_descriptionNoDeparture location name or description. For flights, use the departure airport IATA code such as JFK or FCO. For transfers, include the real place name.
provider_reservation_codeNoProvider-issued reservation, confirmation, or booking code for this transportation segment. Use this for booking/confirmation codes; use transport_number for the flight, train, bus, or service number.

Output Schema

NameRequiredDescriptionDefault
dataNoTripsy API response payload or tool-specific structured data.
summaryYesShort human-readable summary of the Tripsy operation result.
status_codeNoHTTP status code returned by the Tripsy API when the tool called the API.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world write, so the 'Safety: Closed-world' sentence and timezone-normalization contract add only modest context. Genuinely useful disclosures are the UTC-always storage rule and the requirement that clients convert timestamps before display, but conflicts, validation failures, and side effects on itinerary ordering are not described.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The critical scope sentence is front-loaded, but the body repeats the full 12-slug list and label mapping twice more even though the enum and schema descriptions already list them identically. Roughly a third of the text is redundant with structured fields and could be cut without losing information.

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 24-parameter create tool with an output schema and annotations already present, the description covers the domain conventions an agent needs: timezone handling, type slugs, flight and transfer special cases, and code-vs-number field choice. Missing are error behavior and the relationship of optional top-level fields to the raw 'data' merge field, which is only explained in the schema.

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 coverage is 100% and the schema descriptions already carry the flight IATA convention, the provider_reservation_code vs transport_number split, and the timezone conversion notes verbatim. The description's only real addition is bundling these into a cross-field flight/transfer workflow, which is helpful but duplicates structured data almost sentence for sentence.

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 opening sentence states a specific verb and resource: 'Create a Tripsy transportation for point-to-point movement,' which is enough to distinguish this from the list/show/update/delete siblings by name and intent. It stops short of explicitly contrasting itself with trips_transportations_update, but the operation is unambiguous.

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?

It gives concrete when-to-use rules for the main branches: use transportation_type airplane for flights, transfer for transfer activities with both endpoints filled in, and omit name for flights unless the user supplied one. It offers no guidance on create vs. update, on required trip preconditions, or on what to do if the trip_id is invalid.

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.