Skip to main content
Glama

List bus routes by subway exit

list_subway_exit_bus_routes
Read-onlyIdempotent

Lists city bus routes connected to each exit of a subway station using a station ID from find_subway_stations, helping users plan onward bus transfers.

Instructions

List city bus routes connected to exits of a subway station. Obtain subwayStationId from find_subway_stations.

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": {
      "subwayStationId": "<subwayStationId>"
    },
    "name": "list_subway_exit_bus_routes"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-1000); defaults to 1
pageSizeNoMaximum items per page (1-100); defaults to 10
subwayStationIdYesSubway station ID from find_subway_stations

Output Schema

NameRequiredDescriptionDefault
itemsYes
sourceUrlYes
catalogUrlYes
observedAtYes
totalCountYes
sourceServiceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered structurally. The description adds the useful dependency on a station ID sourced from another tool, but says nothing about coverage gaps, result ordering, or pagination behavior beyond what the schema declares.

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 short sentences, front-loaded with the tool's purpose and followed by the one prerequisite an agent actually needs before calling. No filler or redundant restatement of the title.

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 an output schema present, return values need not be described, and annotations cover the safety profile. The description covers purpose and the key input dependency; the only mild gap is that it does not clarify whether results are grouped per exit or are a flat route list.

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 description coverage is 100%, so all three parameters (subwayStationId, page, pageSize) are documented in the schema itself. The description's mention of finding the station ID via find_subway_stations largely repeats the schema's own text, adding little beyond the baseline.

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 ('List city bus routes') plus a meaningful scope qualifier ('connected to exits of a subway station'), which distinguishes it from generic route-listing siblings. It stops short of explicitly naming a contrasting sibling such as list_stop_routes or list_subway_exit_facilities, so it is clear but not fully differentiated.

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 only guidance is a prerequisite: obtain subwayStationId from find_subway_stations. There is no statement of when this tool is preferred over alternatives in the catalog, nor any exclusion about stations without exit data or bus route coverage.

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