Skip to main content
Glama

history_summary

Read-onlyIdempotent

Summarizes locally recorded CTA train positions and delays by line, showing trains in service, distinct runs, delay share, and recording outages; requires chitransit record running.

Instructions

From locally recorded positions: trains in service, distinct runs and delay share per line, plus recording outages. Needs chitransit record running on this machine.

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": "history_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
lineNo'L' line: Red, Blue, Brown, Green, Orange, Purple, Pink or Yellow.
sinceNo'90m', '24h', '7d' or an ISO time.24h
untilNoSame formats; default now.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, and closed-world behavior, so the safety profile is covered. The description adds genuine context the annotations do not: the data source is local recordings, not a live feed, and outages in recording are reported. It stops short of describing how sparse or missing data is represented (empty result vs. outage entry), which matters for an aggregate tool.

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?

Two sentences, no filler, with the measure set front-loaded and the operational prerequisite placed last. The first sentence is heavily compressed with a colon list, which is efficient but slightly telegraphic.

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?

An output schema exists, so return values need not be explained, and the prerequisite plus data-source note cover the main risks. For an aggregation tool over a time window, a note on data sparsity or the effect of partial recording coverage would complete the picture.

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%, with each of line, since, and until documented including accepted formats and defaults. The description adds only the implicit 'per line' framing, 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?

Names the specific resource and the computed measures: 'trains in service, distinct runs and delay share per line, plus recording outages', derived 'From locally recorded positions'. The local-recording framing implicitly separates it from live-feed siblings such as train_positions or line_status, though no sibling is named directly.

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?

Provides one concrete usage condition — `chitransit record` must be running on this machine — which tells the agent when the tool will yield data. It does not say when to prefer this over ridership_history, line_status, or station_headways, leaving alternative selection to inference.

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