Skip to main content
Glama

Get Trip

get_trip
Read-onlyIdempotent

Fetch one trip in full: its variants, destinations, accommodation / transport / getting-around options and events. Call this before changing anything — every other tool needs the variant ids, destination keys and option keys this returns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tripIdYesId of the trip, as returned by list_trips or get_trip.
includeAllOptionsNoAlso return the options that are not currently selected. Set true when comparing alternatives.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the bar is lower; the description adds real value by disclosing the dependency semantics — that its returned keys are the inputs other tools require. It does not discuss pagination or size limits for a 'full trip' fetch, which is a minor gap.

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?

Two sentences, both earning their place: the first defines the payload, the second defines the call ordering. The prerequisite is front-loaded and there is no redundant restatement of the title or 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?

With no output schema, the description carries the burden of describing return content, and it does enumerate the main object families returned. It could be slightly more complete about nesting or size of the response, but an agent has enough to call it correctly.

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%, so tripId and includeAllOptions are already fully documented in the schema, including the 'set true when comparing alternatives' guidance. The description adds no syntax or format detail beyond that, so the baseline 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 ('Fetch one trip') and enumerates the payload it returns (variants, destinations, accommodation/transport/getting-around options, events). This clearly separates it from the plural sibling list_trips without opening either schema.

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?

Gives a strong, actionable prerequisite: 'Call this before changing anything — every other tool needs the variant ids, destination keys and option keys this returns.' That tells the agent exactly when to reach for it. It stops short of naming when not to use it (e.g. use list_trips to enumerate trips), so it is clear context rather than a full routing rule.

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.