Skip to main content
Glama

Find nearby bus stops

find_nearby_bus_stops
Read-onlyIdempotent

Find city bus stops within a 500 m radius of WGS84 coordinates for proximity searches; use find_bus_stops to search by stop name or number.

Instructions

Find city bus stops within TAGO fixed 500 m radius of WGS84 coordinates. For name or stop-number search in a city, use find_bus_stops.

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": {
      "gpsLati": "<gpsLati>",
      "gpsLong": "<gpsLong>"
    },
    "name": "find_nearby_bus_stops"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-1000); defaults to 1
gpsLatiYesWGS84 latitude in decimal degrees
gpsLongYesWGS84 longitude in decimal degrees
pageSizeNoMaximum items per page (1-100); defaults to 10

Output Schema

NameRequiredDescriptionDefault
itemsYes
sourceUrlYes
catalogUrlYes
observedAtYes
totalCountYes
sourceServiceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive behavior, so the safety profile is covered. The description adds genuinely new behavioral facts beyond them: the radius is a fixed 500 m and not adjustable, and input coordinates must be WGS84. It does not discuss result ordering or distance values, but the output schema presumably covers returns.

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 the capability and followed by the disambiguation rule. No filler, no restatement of the tool name, and every clause carries actionable information.

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 rich annotations, full schema coverage, and an output schema present, the description supplies everything needed to select and invoke the tool correctly. The only minor gap is that 'TAGO' is unexplained and no hint is given about whether results are ordered by distance.

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; the description earns above that by clarifying the WGS84 coordinate convention and by making explicit that radius is not a parameter (fixed at 500 m), which prevents an agent from attempting wider searches via parameters. Pagination parameters are left entirely to the schema.

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 ('Find'), resource ('city bus stops'), and a precise scope constraint ('within TAGO fixed 500 m radius of WGS84 coordinates'). The second sentence explicitly distinguishes it from the name/number-search sibling find_bus_stops, so an agent can separate the two without inspecting either schema.

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

Usage Guidelines5/5

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

Gives an explicit routing rule: use this tool for proximity search at coordinates, use find_bus_stops for name or stop-number lookup in a city. The when-to-use and the alternative are both named in one short clause.

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