Skip to main content
Glama

Transport for London TfL Unified Transit MCP

Search TfL stop points

search_tfl_stop_points
Read-onlyIdempotent

Search London Tube stations, rail interchanges, and bus stops by name via the TfL Unified API.

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": {
      "query": "<query>"
    },
    "name": "search_tfl_stop_points"
  }
}

Input Schema

NameRequiredDescriptionDefault
modesNoOptional comma-separated mode filter (e.g. "tube,dlr").
queryYesStation or stop name (e.g. "Waterloo", "Paddington", "Canary Wharf").
max_resultsNoMaximum stop points to return (default 10, max 25).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds almost nothing beyond that — 'via the TfL Unified API' restates openWorldHint, and there is no disclosure of what a result contains, whether matching is prefix/fuzzy, or how the mode filter interacts with results.

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?

A single sentence with the resource and scope front-loaded and no redundant wording. Nothing could be cut without losing content.

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?

For a simple three-parameter search this is close to adequate, and annotations cover safety. However, with no output schema, the description never indicates that results are stop points with identifiers and modes, which an agent needs in order to chain this into other TfL lookups.

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%, including examples for 'query' and the format/limits for 'modes' and 'max_results', so the schema carries the parameter burden. The description adds no extra meaning — it mentions searching 'by name' but says nothing about how the optional mode filter narrows results.

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 ('Search') and resource ('London Tube stations, rail interchanges, and bus stops') with the data source named (TfL Unified API). The sibling tools cover unrelated domains (bike points, disruptions, air quality), so disambiguation is implicit rather than stated, which keeps it just below 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 only implied: an agent can infer this is the tool to call when it has a station/stop name and needs a matching stop point. There is no explicit when-to-use, no mention of what to do with the result (e.g. feed an ID into another TfL call), and no exclusions or fallback behavior.

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.