Skip to main content
Glama

Get a trip

get_trip
Read-only

One trip in full — places (with ids), travellers, every transport leg, stay and activity with their ids, documents and a few photos. include adds more: costs (total and every priced item, in currency), packing (the packing list), plan (the planner conversation and open proposals), photos (every photo's id, time and place).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
includeNoWhat else to include.
trip_idYesThe trip id.
currencyNoISO currency for costs, e.g. AUD (default USD).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesTrip id.
planNoWith include plan: the planner conversation and open proposals.
costsNoWith include costs: the total and every priced item.
staysNoAccommodation.
titleNoTitle.
placesNoPlaces visited, with ids.
statusNoTrip status.
packingNoWith include packing: the packing list.
end_dateNoDate, YYYY-MM-DD.
segmentsNoTransport legs: flights, trains, buses, ferries, rentals, drives.
documentsNoE-tickets and booking PDFs.
travelersNoWho went.
all_photosNoWith include photos: every photo's id, time and place.
start_dateNoDate, YYYY-MM-DD.
experiencesNoActivities, restaurants, places and notes.

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 readOnlyHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the useful default-vs-optional split (core trip data by default, extras only via include), but says nothing about auth needs, rate limits, or behavior on a missing trip id. With annotations doing the heavy lifting, this is adequate but not rich.

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

Conciseness4/5

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

Two sentences, front-loaded with the core payload and then the optional additions. The inventory is dense but every item maps to a real include value or return group, so it earns its space; slight redundancy with the output schema.

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?

An output schema exists, so the description need not document return values, yet it does so helpfully to clarify the default/include split. With full parameter coverage and annotation coverage, an agent has what it needs to call this correctly; only tool-selection routing and failure behavior are absent.

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, but the description earns above that by explaining what each include value actually returns ('costs (total and every priced item, in currency)', 'packing', 'plan (the planner conversation and open proposals)', 'photos'). The schema only says 'Extra detail.' and 'What else to include.', so the description adds real meaning.

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 states a specific resource and scope: 'One trip in full' with an enumerated inventory of what that includes. It implicitly distinguishes itself from the plural sibling list_trips, though it never names it. The retrieval verb is implied rather than stated, keeping it just 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 Guidelines3/5

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

There is no explicit when-to-use statement and no alternatives are named, even though siblings like list_trips and search_photos exist. Usage is only implied by the shape of the tool (fetch one trip by id). No exclusions, prerequisites, or routing guidance are given.

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.