Skip to main content
Glama

pickthebus

Buses between two cities, direct or with one change

find_direct_buses
Read-only

The buses from one city to a city in another country. The direct buses, with no change: departure and arrival times (local), how long it takes, the overnight buses, the stations, the days each bus runs, and the operator's own site to book. When there is no direct bus, the trips with one change between the two cities, from the same timetables: both buses, where to change and how long the wait is, the days each trip runs, each operator's site to book, and the page with them all. Give a date (YYYY-MM-DD) for the buses, or the trips with one change, that run that day. It covers the operators that publish official open timetables (such as FlixBus and BlaBlaCar Bus), for the next few weeks; there are no fares. Only journeys from one country to another: for two cities in the same country it says so. 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>",
      "to": "<to>"
    },
    "name": "find_direct_buses"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYeswhere the bus goes, in another country: 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'
dateNothe travel day as YYYY-MM-DD, e.g. '2026-11-03'; leave out for the route's buses with the days each runs
fromYeswhere the bus leaves 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'

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 read-only, non-destructive and a closed data source, so the description's added value is in scope disclosure: only operators publishing official open timetables (FlixBus, BlaBlaCar Bus), only the next few weeks, no fares, times are local, and a defined fallback to one-change trips when nothing is direct. That is meaningful context beyond the annotations. It could still be clearer on what an empty result means versus the same-country case.

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?

Everything is packed into one dense clause-heavy block, with the essential fact (what it returns, and the direct-vs-one-change fallback) buried mid-paragraph. The running-days and booking-site information is repeated for both the direct and one-change cases, adding length without new meaning. It is not padded with filler, but front-loading a single summary sentence would help an agent parse it quickly.

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 carries the return-shape burden and does so: departure/arrival local times, duration, overnight flag, stations, running days, operator booking links, transfer point and wait time for one-change trips. Combined with the coverage limits and the same-country behavior, an agent has enough to call it and interpret results. Only the empty-result semantics remain implicit.

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% and the schema already documents city-name flexibility, the comma-plus-country disambiguation, and the date format. The description restates the date format and the omit-date behavior without adding syntax or edge-case meaning the schema lacks. Baseline 3 applies when the schema carries the parameter burden.

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 a specific verb+resource: buses between two cities in different countries, with direct buses and a documented one-change fallback. It is clearly distinguishable from a destination-listing tool, though it never names the sibling or explicitly contrasts with it. The opening sentence ('The buses from one city to a city in another country') is grammatically loose but the intent is unambiguous.

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 states the key selection condition: supply a date (YYYY-MM-DD) to get that day's buses, or omit it to get each route's running days. It also states a hard scope rule — only cross-border journeys, with an explicit message for same-country pairs — which steers the agent away from invalid calls. It stops short of naming an alternative tool or saying when not to use this one beyond the country restriction.

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