Skip to main content
Glama

Trip details

trip_details
Read-only

Every flight, train, stay and other plan in one of the traveller's trips (use list_trips for the trip id), in order, with local times.

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": {
      "trip_id": "<trip_id>"
    },
    "name": "trip_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
trip_idYesThe trip id from list_trips

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine behavioral detail beyond that: results are ordered and expressed in local times, which matters for interpretation. It does not discuss empty trips, result size, or whether cancelled plans are included, so the added context is useful but thin.

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?

One sentence in a single parenthetical, front-loading what is returned before the sibling pointer. Every clause carries information: contents, scope, ordering, and time basis. Nothing is wasted.

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 usefully characterizes the return shape (flights, trains, stays, other plans) plus ordering and timezone semantics. Missing are edge cases such as empty itineraries or result limits. For a single-parameter read tool with full annotation coverage, it is nearly complete.

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% and the single trip_id parameter is already documented as coming from list_trips. The description repeats that provenance rather than adding new meaning. With the schema doing the heavy lifting, the baseline 3 is appropriate.

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 names the concrete resource (every flight, train, stay and other plan) scoped to a single trip, so an agent can tell it returns a trip's itinerary rather than a list of trips. It implicitly routes trip-id discovery to list_trips, which separates it from that sibling. It stops short of distinguishing itself from search_plans or upcoming_plans, and never uses an explicit verb.

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 a clear precondition — obtain the trip id from list_trips first — which is exactly the guidance needed to invoke it correctly. It does not state when to prefer search_plans or upcoming_plans instead, so there are no explicit exclusions. That is a clear context without alternatives, not full when/when-not guidance.

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.

Resources