Live train positions
get_train_positionsGet real-time positions of all trains on the DC Metro system.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | ||
| trains | Yes | ||
| totalTrains | Yes |
get_train_positionsGet real-time positions of all trains on the DC Metro system.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | ||
| trains | Yes | ||
| totalTrains | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly, idempotent, openWorld, and non-destructive behavior, so the safety profile is covered. The description adds the 'real-time' freshness cue and the 'all trains' completeness scope, but says nothing about refresh/rate characteristics or return shape.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with no filler. It identifies verb, resource, recency, scope, and system in minimal space.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter read tool with an output schema and full annotation coverage, the description supplies everything needed to invoke it. The one gap is routing clarity versus get_vehicle_positions and the sfbay variants, which is left to the agent to infer.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline for a parameterless tool is 4. Schema coverage is also 100%, meaning structured data fully carries any contractual detail.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Get real-time positions of all trains') scoped to 'the DC Metro system,' which clearly separates it from the sfbay_* and bus siblings. It does not, however, distinguish itself from the similarly named get_vehicle_positions sibling, leaving overlap ambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no explicit guidance on when to choose this over alternatives such as get_vehicle_positions, get_station_predictions, or the sfbay equivalents. The only implicit signal is the 'DC Metro' scope embedded in the purpose sentence.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.