Skip to main content
Glama

Get bus details

get_bus
Read-only

Get full details for one direct bus service: all route stops with estimated arrival times, fare, operator contact, operator timetable or booking link, schedule (AM and PM runs) and the directbus.sg page URL. Accepts a service number (e.g. "776", "SKM1", "BA 2 (AM)") or a URL slug (e.g. "ba-2-am", "skm1", "776").

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

Input Schema

NameRequiredDescriptionDefault
slugNoURL slug, e.g. "776", "skm1", "ba-2-am".
service_noNoService number, e.g. "776", "SKM1", "BA 2 (AM)".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/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, and the description adds real value by disclosing the full payload shape (stops + ETAs, fare, contact, schedule, page URL). It does not state what happens when the service is unknown or when both identifiers are supplied, which keeps it short of a 5.

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 with no filler: the return payload is front-loaded and the accepted inputs follow. The long enumerated list is dense but each item is genuinely informative for a details tool.

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 shoulders the burden of explaining return values, and it does so thoroughly. The remaining gap is the zero-required-parameter situation: nothing says what the tool does if neither slug nor service_no is provided.

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 both properties already carry examples, so the description largely restates the accepted forms ("776", "SKM1", "BA 2 (AM)" versus slug variants). It adds no rule about precedence or combination when both optional parameters are passed, so the baseline of 3 applies.

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?

"Get full details for one direct bus service" gives a specific verb, resource, and cardinality (single service), and then enumerates exactly what is returned: route stops with ETAs, fare, operator contact, timetable/booking link, AM/PM schedule, and page URL. The singular scope implicitly separates it from find_direct_buses, though no sibling is named outright.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is only implied by "one direct bus service" and the two accepted identifier forms; there is no explicit statement of when to call this instead of find_direct_buses or nearest_stops, and no guidance on which of the two optional parameters to prefer. An agent can infer the lookup-versus-search split but must do the work itself.

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