Skip to main content
Glama

One line

line_status
Read-onlyIdempotent

Retrieve live disruptions and 24h–90d disruption statistics for a London rail line, including causes, affected minutes, and start-time patterns.

Instructions

One line in depth: its disruptions open now; the number of disruptions, minutes disrupted and share of watched time disrupted over the last 24 hours, 7, 30 and 90 days; its latest disruptions with TfL's reasons and their causes; and the London hours of the day at which its unplanned disruptions start.

Input Schema

NameRequiredDescriptionDefault
lineYesA line id from list_lines, such as central, elizabeth, northern, dlr or weaver.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavioral context beyond that: exactly which metric families and time windows are computed and that reasons/causes are TfL-sourced. It stops short of mentioning cost, latency, or data freshness.

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?

It is a single dense sentence, but the scope ('One line in depth') is front-loaded and every clause enumerates a distinct return category rather than padding. Slightly run-on, but no sentence is wasted.

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 no output schema and only one parameter, the description carries the burden of explaining what comes back, and it does so across all the metric groups and time windows. It does not describe response shape or ordering, which is a minor residual gap for an agent parsing the result.

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?

There is a single required parameter with 100% schema description coverage; the schema already states it is a line id from list_lines with concrete examples. The description adds nothing about the line argument, so the 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 uses a specific verb ('One line in depth') and enumerates the exact resource scope: open disruptions, 24h/7/30/90-day disruption metrics, latest disruptions with TfL reasons and causes, and hour-of-day onset patterns. It is clearly differentiated from list_lines by being per-line and 'in depth,' though it never names the sibling tools it supersedes.

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 'in depth' framing implies this is the detailed per-line drill-down versus the aggregate siblings (current_status, period_stats), but no explicit when-to-use or when-not guidance is given. An agent must infer that it should reach for this tool after list_lines resolves a line id, which is only hinted at via the schema's reference to list_lines.

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