Skip to main content
Glama

Get TfL line status by mode

get_tfl_line_status_by_mode
Read-onlyIdempotent

Fetch live TfL service status for all lines in a chosen transit mode, such as tube, DLR, or Overground, to monitor disruptions and plan journeys.

Instructions

Fetch live Transport for London (TfL) service status for all lines in a transit mode such as tube, dlr, overground, or elizabeth-line.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_tfl_line_status_by_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoTfL transit mode (e.g. "tube", "dlr", "overground", "elizabeth-line", "tram"). Default "tube".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.5/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. The description contributes the useful qualifier 'live', signalling real-time rather than cached data, but says nothing about rate limits, auth, or freshness/error behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single well-formed sentence with the action and scope front-loaded and no filler. It could be tightened slightly by dropping the redundant mode examples, but there is no structural problem.

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?

For a one-parameter, zero-required read-only tool with full schema coverage and annotations covering the safety profile, the description is essentially sufficient. The only shortfall is the absence of sibling disambiguation, which is a minor gap at this complexity level.

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?

The description repeats the mode examples (tube, dlr, overground, elizabeth-line) that the schema already supplies, adding no new meaning. With 100% schema coverage including the default of 'tube', the schema does the real work and 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?

The description names a specific verb and resource: 'Fetch live Transport for London (TfL) service status for all lines in a transit mode.' The scope ('all lines in a transit mode') is clear, but it never distinguishes itself from the sibling get_tfl_line_disruptions, which an agent could plausibly confuse it with.

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 through the phrase 'all lines in a transit mode' — there is no explicit statement of when to prefer this over get_tfl_line_disruptions, no exclusions, and no prerequisites mentioned. An agent must infer the boundary from the tool name alone.

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