Skip to main content
Glama

à portée

Does a trip fit a time window

check_trip
Read-only

Reach: needs a member's key; counts 1 of 50 Reach answers a day. Whether a trip fits between depart and arrive: spare_minutes or short_minutes; by transit, on how many of 7 departures (3 min apart, depart ± 9 min) it fits, and the worst. stop: when to be there; stop_types: the roomiest places to stop at. Next: reach_area or find_meeting_area.

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": {
      "from": "<from>",
      "depart": "<depart>",
      "arrive": "<arrive>"
    },
    "name": "check_trip"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd; omit for a round trip.
dayNoMon–Fri is weekday; no holidays, period or statistic.weekday
fromYesStart.
langNoen or fr.en
modeNoDefault transit; no bike_transit.transit
stopNoA place to stop at, and minutes there.
arriveYesHH:MM, at most 300 min after depart.
departYesHH:MM, 24-hour.
api_keyNoKey from check_sign_in, if this client sends none.
stop_typesNoIn place of stop: types to stop at one of. As travel_times' types.
stay_minutesNoWith stop_types: least minutes there.
max_transfersNoTransit: most changes each way; default 4.

Output Schema

NameRequiredDescriptionDefault
fitsYes
metaYes
linksYes
summaryYes
short_minutesYes
spare_minutesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds real context beyond them: a member key is required and each call consumes 1 of 50 daily Reach answers, which is important cost information. It also discloses the search granularity (7 departures 3 min apart, depart ± 9 min) and what the two outcome fields mean, though it does not say what happens on failure or how the 'worst' departure is reported.

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 text is short and contains no filler, but the fragment style and telegraphic colons/semicolons make it harder to scan than a plain sentence stating purpose first. The quota note is front-loaded ahead of the core purpose, which buries the lede.

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 12-parameter, nested-object tool with an output schema, the description covers the essentials an agent needs: the question answered, the key/quota constraint, and the next tools to call. It is not complete on edge behavior — e.g. what a negative or zero spare_minutes means and whether an infeasible trip errors or returns data — but the output schema offsets most of that.

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%, so the schema already carries the burden for all 12 parameters. The description adds modest value by explaining what stop contributes ('when to be there') and that stop_types selects 'the roomiest places to stop at', but it leaves other parameters such as max_transfers, day, and lang 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?

The first line names a specific capability: deciding whether a trip fits between depart and arrive, and it enumerates the answer shape (spare_minutes or short_minutes) plus the transit variant across 7 departures. It is distinguishable from travel_times because it answers a feasibility question rather than listing times, though the telegraphic phrasing ('by transit, on how many of 7 departures... it fits, and the worst') takes effort to parse.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No condition is given for when this tool is the right choice versus travel_times or find_meeting_area; the 'Next: reach_area or find_meeting_area' line is workflow chaining, not usage guidance. There are also no exclusion rules, such as what to do when no departure fits.

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