Skip to main content
Glama

ridership_history

Read-onlyIdempotent

Retrieve historical Chicago transit ridership for an 'L' station or bus route over a chosen date range, with optional monthly totals and daily rows.

Instructions

Historical ridership from the City of Chicago Data Portal: 'L' station entries or bus route boardings.

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": {
      "kind": "<kind>",
      "target": "<target>"
    },
    "name": "ridership_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoYYYY-MM-DD; default the latest published day.
kindYes
startNoYYYY-MM-DD; default 30 days (12 months if monthly) before end.
targetYesStation name/map id, or bus route.
monthlyNoStations only: monthly totals and day-type averages.
include_rowsNoInclude one row per day.

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 readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds the useful fact that results come from an external public portal, reinforcing the open-world nature, but says nothing about data freshness, availability windows, or rate limits beyond what the annotations and schema defaults imply.

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, front-loaded sentence with no filler or redundancy. It is efficient, though the colon construction compresses two distinct data modes into one clause and could have been split for faster scanning.

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?

With an output schema present and 83% schema coverage across six parameters, the description does not need to explain returns or defaults. However, for a tool offering two datasets and monthly/day-type aggregation modes, it offers no guidance on data coverage periods or how the two modes differ in practice, leaving gaps relative to the tool's complexity.

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 high at 83%, with defaults and formats documented for start, end, monthly, and include_rows, so the baseline is 3. The description only loosely maps its 'station entries or bus route boardings' phrasing onto the kind/target pair and adds no new semantics for the remaining parameters.

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 resource (historical ridership), its source (City of Chicago Data Portal), and the two data flavors it covers ('L' station entries vs. bus route boardings). This is clear enough to distinguish it from arrival/position siblings, though it never names a sibling such as history_summary to sharpen the boundary.

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?

There is no explicit when-to-use or when-not-to-use guidance and no mention of prerequisites or alternatives. The only weak signal is the station-vs-bus_route split, which merely restates the enum already present in the schema rather than telling an agent when this tool is the right choice over history_summary or train_arrivals.

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