Skip to main content
Glama

List subway exit facilities

list_subway_exit_facilities
Read-onlyIdempotent

List landmarks and public facilities by subway exit to plan routes and locate nearby amenities; provide a station ID from find_subway_stations.

Instructions

List nearby landmarks and public facilities by exit for 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_facilities"
  }
}

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.8/5.0
Behavior3/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 safety is covered. The description adds the useful structural fact that results are organized by exit and the data source for the ID, but says nothing about result volume, pagination behavior, or what happens with an invalid station ID. Adequate but thin on top of a rich annotation set.

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, zero waste, with the core purpose front-loaded and the prerequisite second. Nothing is repeated or padded.

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?

An output schema exists and annotations cover the safety profile, so the description needn't explain return values. Combined with the prerequisite pointer, an agent has enough to call this correctly; only pagination defaults and failure behavior remain uncovered.

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 including page/pageSize bounds are already documented. The only parameter mention in the description restates the schema's own "Subway station ID from find_subway_stations" note, adding no new semantics. Baseline 3 applies.

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 nearby landmarks and public facilities by exit for a subway station." The per-exit angle distinguishes it from a station-info tool, though it does not name a sibling to contrast with explicitly (e.g. list_subway_exit_bus_routes).

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

Usage Guidelines4/5

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

Gives an explicit precondition and route to the required input: "Obtain subwayStationId from find_subway_stations." It lacks an explicit when-not or a named alternative for cases where the agent wants bus routes rather than facilities, so it stops short of full routing guidance.

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