Skip to main content
Glama

BestBus: Thailand bus times & tickets

Search buses on a date

search_buses
Read-only

Live intercity bus departures in Thailand for one route and date, with departure time, bus company, boarding point and lowest fare in Thai baht. Each departure includes a booking_url that opens that bus on bestbus.me, where the traveller chooses seats and pays, and a map link for its boarding point.

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_town": "<from_town>",
      "to_town": "<to_town>",
      "date": "<date>"
    },
    "name": "search_buses"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesTravel date YYYY-MM-DD (today up to 180 days ahead)
to_townYesDestination town in English, e.g. Phuket
languageNoBooking page language: en, th, zh, ru, fr, es, it, ms, uk, aren
from_townYesDeparture town in English, e.g. Bangkok
passengersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: each result carries a booking_url that hands off to bestbus.me for seat selection and payment, plus a boarding-point map link — clarifying that this tool is search-only and purchase happens elsewhere. It still says nothing about result volume, one-way vs round-trip scope, or failure modes.

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?

Two sentences, front-loaded with what the tool returns, followed by the downstream booking flow. Every clause carries information, though the booking-flow sentence is slightly long for what it conveys.

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 correctly spends its space enumerating return fields and the booking/map links, which is what an agent needs. Gaps remain around how many departures come back, whether passengers affects the returned fare, and one-way-only scope.

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 80%, so the schema already explains date range, English town names, language codes, and passenger bounds. The description only reinforces the route/date framing and the Thai-baht fare, adding no detail on the passengers parameter or how language affects results. Baseline 3 is appropriate.

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 verb and resource — live intercity bus departures for one route and date — and enumerates the returned fields (departure time, company, boarding point, lowest fare). It does not, however, distinguish itself from the sibling buses_from or route_info, so an agent cannot tell from the description alone which one to pick.

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?

There is no explicit when-to-use guidance and no mention of the alternatives (buses_from, route_info) or how they differ from this route+date search. The usage is only inferable from the required from_town/to_town/date shape, which the schema already conveys.

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