Skip to main content
Glama

Find direct buses

find_direct_buses
Read-only

Find direct buses (Premium, City Direct, ShareTransport) in Singapore that stop near an office/destination. Give the office as office_area (a name or slug from list_areas, e.g. "Raffles Place", "one-north") or as office_lat/office_lng. Optionally give home as home_area (a neighbourhood like "Punggol") or home_lat/home_lng to keep only buses that pick up near home (within 1 km of home_lat/home_lng, or anywhere in the home_area neighbourhood). Returns up to 15 results with service number, type, operator, nearest stop, departure times, fare and the directbus.sg page URL.

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

Input Schema

NameRequiredDescriptionDefault
home_latNoOptional: latitude of home/pickup area. When provided, only buses that pick up within 1 km of home are returned.
home_lngNoOptional: longitude of home/pickup area. Requires home_lat.
home_areaNoOptional: home neighbourhood name or slug from list_areas, e.g. "Punggol", "ang-mo-kio". Use instead of home_lat/home_lng.
office_latNoLatitude of the office/destination (Singapore: 1.1–1.5).
office_lngNoLongitude of the office/destination (Singapore: 103.5–104.1).
office_areaNoOffice area name or slug from list_areas, e.g. "Raffles Place", "marina-bay". Use instead of office_lat/office_lng.
time_of_dayNoOptional: filter to morning (AM) or evening (PM) services.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description goes beyond them by disclosing the result cap ('up to 15 results'), the returned fields, the 1 km pickup radius semantics, and the source site URL, which is genuinely useful pre-call context.

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 front-loaded sentences that move from purpose to required input to optional filter to output contract, with no filler. Some clauses duplicate schema text, keeping it just short of maximal density.

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?

No output schema exists, and the description compensates by naming the returned fields and the 15-result ceiling. It never states that an office location (area or lat/lng pair) is effectively mandatory, which is the one gap given that the schema marks zero parameters as required.

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 coverage is 100%, so baseline is 3, but the description adds real meaning: it presents office_area versus office_lat/office_lng as interchangeable alternatives, clarifies that home_area matches throughout the neighbourhood while coordinates use a 1 km radius, and gives slug-format examples sourced from list_areas.

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 ('Find direct buses'), scopes it geographically (Singapore), enumerates the service types covered, and frames the destination as an office. An agent knows exactly what this returns without opening the schema, though it does not explicitly contrast itself with nearest_stops or get_bus.

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?

Explains the two accepted input idioms ('Give the office as office_area ... or as office_lat/office_lng') and the optional home-based narrowing, plus a concrete prerequisite ('a name or slug from list_areas'). It lacks explicit when-not or alternative-sibling guidance, but the intended call context is unambiguous.

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