Skip to main content
Glama
mcp-singapore
by Hug0x0

singapore_find_nearby_bus_stops

Read-onlyIdempotent

Locate Singapore bus stops within a specified radius of WGS84 coordinates and scan paginated results for nearby transit options.

Instructions

Search a bounded set of LTA bus-stop pages near WGS84 coordinates. Requires LTA_ACCOUNT_KEY. Complete is true only after an upstream short page; continuation identifies the next unscanned page.

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": {
      "latitude": "<latitude>",
      "longitude": "<longitude>"
    },
    "name": "singapore_find_nearby_bus_stops"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
latitudeYes
longitudeYes
max_pagesNo
radius_kmNo
result_offsetNo

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo
statusNo
sourcesYes
metadataNo
providerNo
warningsNo
served_atYes
error_codeNo
source_urlNo
dataset_urlNo
catalog_metadataNo
catalog_snapshot_atNo
retry_after_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare read-only, open-world, idempotent, non-destructive, so the safety profile is covered. The description earns credit by adding genuine behavioral context the annotations cannot: an authentication requirement (LTA_ACCOUNT_KEY) and the non-obvious completion semantics ('Complete is true only after an upstream short page'), which warns the agent that a full page does not mean the search is exhausted.

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 tight sentences with no filler, and the core purpose is front-loaded before the auth and pagination caveats. The phrase 'upstream short page' is slightly opaque jargon, but overall the density is appropriate for the amount of behavior being conveyed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the auth prerequisite plus completion semantics are covered. However, for a 7-parameter tool with no schema descriptions, the unresolved offset-vs-result_offset question and the phantom 'continuation' token leave a real risk of incorrect invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 7 parameters, so the description must carry them, and it does not. It never explains limit, max_pages, radius_km, or the critical distinction between offset and result_offset. Worse, it describes a 'continuation' handle that does not appear as a parameter in the schema at all, leaving the agent to guess how to resume the scan.

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: 'Search a bounded set of LTA bus-stop pages near WGS84 coordinates.' The bus-stop domain and the coordinate-based search scope are unambiguous. It stops short of naming a sibling (e.g. singapore_find_nearby_facilities or singapore_get_bus_arrivals) that an agent might otherwise confuse it with.

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 implied rather than stated: the coordinate requirement, the LTA_ACCOUNT_KEY prerequisite, and the 'continuation identifies the next unscanned page' sentence together tell an agent how to drive the pagination loop. But there is no explicit when-to-use/when-not guidance and no named alternative among the many nearby-geospatial and bus siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools