Skip to main content
Glama

à portée

Walking, cycling and transit times

travel_times
Read-only

Counts 1 request per point, whatever the modes; a batch needs a key. Minutes to the nearest place of each amenity type by each mode asked, with basis (block or hexagon) and links.map. points answers a batch in rows, failed points in errors. Next: nearby_places for names, get_catalog for types and coverage.

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": "travel_times"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitude, decimal degrees (Canada 41.6 to 83.2).
lonNoLongitude, decimal degrees (Canada -141.1 to -52.6).
langNoen or fr.
modesNoDefault walk.
typesNoDefault every type.
periodNoTransit modes; default weekday_peak, others need a key.
pointsNo1–100 points in place of lat, lon (key); a label comes back with its row.
api_keyNoKey from check_sign_in, if this client sends none.
includeNoOne point only.
statisticNoTransit modes: p50 typical (default), p90 worst case (key).
walk_budgetNoAlso the map link's budget. It does not filter the times.

Output Schema

NameRequiredDescriptionDefault
metaYes
rowsNoA batch: one row per point; a time is a number where its reason is ok, else {minutes, reason}.
linksNo
modesYes
errorsNo
minutesNo{type: {mode: {minutes, reason}}}.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare read-only and closed-world, so the description carries the rest and does it well: it discloses quota accounting ('Counts 1 request per point, whatever the modes'), the key requirement for batches, the output basis ('block or hexagon') and 'links.map', and error handling ('failed points in errors'). Missing only latency or size limits for a 100-point batch.

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?

Very compact with no wasted sentences, and the trailing 'Next:' clause is an efficient routing cue. However, it front-loads quota accounting rather than the core purpose, so the first thing an agent reads is billing rather than what the tool computes.

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 an 11-parameter tool with an output schema and annotations, the description covers the essentials an agent needs: purpose, quota cost, key requirement, batch-vs-single mode, and sibling routing. It leaves the interaction between singular lat/lon and the 'points' array, and the key requirement for non-default periods, to the schema rather than reinforcing them.

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 description coverage is 100%, so the baseline is 3; the description earns above that by explaining cross-parameter behavior the schema cannot — that 'points' replaces the singular location and returns rows per point with failures surfaced in 'errors'. It does not restate the enum values or ranges, which is correct since the schema already owns them.

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: 'Minutes to the nearest place of each amenity type by each mode asked,' which precisely defines the computed travel-time output. It also names what it is not ('nearby_places for names, get_catalog for types and coverage'), so an agent can separate it from its siblings without opening a 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?

Explicitly routes to alternatives with conditions: 'Next: nearby_places for names, get_catalog for types and coverage.' It also states prerequisites ('a batch needs a key') and the batch path ('points answers a batch in rows'). It stops short of stating when-not-to-use or contrasting with reach_area / find_meeting_area, so it is strong but not complete.

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