Skip to main content
Glama

Nearest pickup stops

nearest_stops
Read-only

Find the nearest direct-bus pickup stops to a location in Singapore. Returns up to 10 stops with the buses that stop there and walking distance in metres.

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": {
      "lat": "<lat>",
      "lng": "<lng>"
    },
    "name": "nearest_stops"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesLatitude (Singapore: 1.1–1.5).
lngYesLongitude (Singapore: 103.5–104.1).
radius_mNoSearch radius in metres (100–2000, default 500).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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 adds useful return-shape detail that annotations cannot carry: a cap of 10 stops, inclusion of the buses serving each stop, and distance in metres. It does not explain radius behaviour, cost, or whether results are sorted by distance.

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 tight sentences: the first defines the action and scope, the second defines the return payload. No filler and the essential information is front-loaded.

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 usefully compensates by describing the return payload (up to 10 stops, buses, walking distance). Remaining gaps are minor: ordering of results and behaviour when nothing falls within the radius are unstated.

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%, with lat/lng ranges and radius bounds/default all documented in the schema, so the baseline is 3. The description adds nothing about the parameters beyond what the schema already says, such as how radius_m interacts with the 10-stop cap.

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 ('Find the nearest direct-bus pickup stops') plus a scope ('to a location in Singapore'), which is enough to separate it from find_direct_buses. It stops short of explicitly naming the sibling it is not, so a 4 rather than a 5.

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 by the phrase 'nearest ... pickup stops to a location', which suggests a geospatial proximity lookup. There is no explicit when-to-use statement, no exclusion such as 'not for route planning', and no pointer to find_direct_buses for the route-schedule case.

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