Skip to main content
Glama

follow_train

Read-onlyIdempotent

Track a specific CTA train by run number to view its current position and predicted arrival times at each upcoming station.

Instructions

One train's position and predicted arrival at each upcoming station.

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": {
      "run": "<run>"
    },
    "name": "follow_train"
  }
}

Input Schema

NameRequiredDescriptionDefault
runYesRun number from arrivals or positions, e.g. '412'.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, and open-world; the description adds scope (one train, all upcoming stops with predictions). It doesn't say whether data is real-time vs scheduled, how far ahead predictions extend, or that the run number is required input.

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?

One tight sentence with no waste. It is front-loaded with the resource and scope, though it reads as a fragment lacking an explicit verb.

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?

Adequate for a single-param read with an output schema that presumably details the per-station predictions. Since output schema carries return shape, the description's main gap is not distinguishing follow_train from train_positions/train_arrivals.

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 coverage is 100% and the run param description literally explains sourcing ('Run number from arrivals or positions, e.g. 412'), so the schema does the work. The description adds only marginal meaning: a single run is required to scope the follow.

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 concrete verb+resource: one train's position plus predicted arrivals at upcoming stations. That distinguishes it from static reads siblings like train_positions (current position only) and train_arrivals (station-centric), though the description does not name those siblings.

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

Usage Guidelines2/5

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

No when-to-use or when-not guidance. The description implies 'follow a specific run' while siblings cover station arrivals and positions, but it never draws that boundary or says where to get the run number.

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