Skip to main content
Glama

lifemobility__hong_kong_bus_route

Look up a Hong Kong KMB bus route by route number, e.g. query "1A": origin, destination and both bounds. The query must contain the route number. Source: data.etabus.gov.hk (DATA.GOV.HK). License: DATA.GOV.HK Terms and Conditions v1.2.

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": {
      "query": "<query>"
    },
    "name": "lifemobility__hong_kong_bus_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results, 1-20 (default 5).
queryYesSearch term for this source (see the tool description for what it expects).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does reasonably well: it discloses the data source (data.etabus.gov.hk / DATA.GOV.HK), the licensing terms, and the fields returned. It stops short of describing behavior for unmatched or ambiguous route numbers or whether multiple variants of a route are merged, which would be needed for 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with purpose and example, then source and license attribution. No filler, and the constraint that matters most arrives before the boilerplate.

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?

For a two-parameter read-only lookup with no output schema and no annotations, the description covers purpose, input format, and expected return shape. Completeness would only improve with a note on failure behavior for unrecognized route numbers.

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 the baseline is 3, but the description adds real meaning beyond the schema's generic 'Search term for this source' by stating the query must contain the route number and supplying a worked example. The limit parameter's paging semantics are left entirely to its schema description.

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 ('Look up a Hong Kong KMB bus route by route number') and specifies exactly what comes back (origin, destination, both bounds). The concrete example query "1A" removes any ambiguity about the identifier format.

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?

The description does impose a clear input constraint ('The query must contain the route number') and gives an example, which is genuine usage context. However, it offers no when-to-use vs. when-not guidance and does not reference any alternative for route discovery or nearby-route search, so an agent must infer where this fits.

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.