Skip to main content
Glama

pickthebus

Where a direct bus goes from a city

list_bus_destinations
Read-only

The cities in other countries that a direct bus reaches from a given city, in the operators' open timetables, the most buses a day first, with the fastest trip, the overnight buses and a link to each route. Narrow it to one country, or to overnight buses only. Use find_direct_buses for the times on one route. Read-only.

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>"
    },
    "name": "list_bus_destinations"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromYesthe city the buses leave from: a city's name in any language or spelling, e.g. 'Zurich', 'München', 'Praha'; add the country after a comma when two cities share a name, e.g. 'London, UK'
limitNohow many cities, 1 to 100 (default 40)
countryNoonly cities in this country, by its English name or code, e.g. 'Italy' or 'IT'
overnight_onlyNoonly routes with an overnight bus

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/openWorldHint/destructiveHint, so 'Read-only' adds little, but the description goes beyond them by disclosing result composition (fastest trip, overnight flags, per-route link) and the sort order (most buses per day first), which matters since there is no output schema. It stops short of stating pagination behavior or what an empty result means.

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?

Three sentences, front-loaded with the core result description and no filler. The opening sentence is grammatically dense — the list 'with the fastest trip, the overnight buses and a link to each route' reads as a continuation of the sorting clause rather than per-result fields — costing a little immediate clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 return-value burden and does so by enumerating what each city entry includes and how entries are ordered. Combined with fully covered parameters and existing annotations, nothing an agent needs to call this correctly is missing.

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 all four parameters including 'from' formatting and the 1–100 limit range are already documented. The description only reinforces the country and overnight_only filters in prose, adding no format or edge-case detail beyond the schema, 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?

Names the exact resource (destination cities reachable by direct bus from a given city) and states the scope constraint 'in other countries' plus the result ordering. It explicitly distinguishes itself from the sibling by pointing to find_direct_buses for one route's times, so an agent can separate the two 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 Guidelines5/5

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

Gives concrete narrowing options ('Narrow it to one country, or to overnight buses only') and routes the agent to the alternative tool with the condition that selects it ('Use find_direct_buses for the times on one route'). The when-to-use and when-to-use-something-else are both stated.

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