Skip to main content
Glama

List trips

list_trips
Read-only

The traveller's trips with their ids and dates: upcoming ones (including any under way) soonest first, or past ones latest first.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_trips"
  }
}

Input Schema

NameRequiredDescriptionDefault
whenNoUpcoming (default) or past trips
limitNoHow many, at most 50 (default 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and a closed world, so safety is covered. The description adds genuinely new behavior: upcoming includes trips already under way, and the sort direction differs per mode (soonest first vs latest first), which the agent cannot derive from annotations.

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?

A single front-loaded sentence with the returned fields stated before the branching order rules; nothing is redundant. The dense colon-and-parenthetical construction is slightly harder to parse than a two-sentence split would be.

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 two-parameter, no-required-args list tool with no output schema, the description covers what is returned (ids and dates), the two modes, and their ordering. It stops short of saying whether results are paginated beyond the limit or whose trips are returned (the authenticated traveller is only implied).

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 baseline is 3, but the description adds real semantics beyond the schema: it clarifies that 'upcoming' subsumes in-progress trips and specifies the sort order tied to each enum value. The 'limit' cap and default are left entirely to the schema.

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?

States a specific resource (the traveller's trips) and the returned fields (ids and dates), plus the ordering rule, so an agent knows exactly what it gets. It does not differentiate itself from siblings such as trip_details or upcoming_plans, which keeps it out of 5 territory.

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?

Usage is implied by the enumeration of the 'when' values and their ordering, but there is no explicit statement of when to choose this over trip_details or upcoming_plans, and no exclusions or prerequisites. Adequate but inference-dependent.

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