Skip to main content
Glama

Bahn-Zuverlässigkeits-MCP

train_delay_stats

Read-onlyIdempotent

Delay statistics for a specific train (e.g. ICE 577): per-station on-time percentage, average/max delay and cancellation rate. Useful to answer "how reliable is this exact train?". Returns a compact station list (default 15, max 50) for token efficiency.

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": {
      "product": "<product>",
      "train_number": "<train_number>"
    },
    "name": "train_delay_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoAggregation period (default: weekly)weekly
productYesTrain product: "ice", "ic", or "ec"
train_numberYesTrain number (digits only), e.g. "577"
station_limitNoMax stations to return (default 15, max 50). Overall stats always included.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already establish this is a read-only, idempotent, closed-world, non-destructive query, so the safety profile is fully covered. The description adds useful behavioral context about output shape (compact station list, default 15, max 50) motivated by token efficiency, but does not discuss cost, latency, or data freshness. Adequate but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: what it returns, why you would call it, and how the output is bounded. The resource definition and the identifier example are front-loaded, and no sentence is filler.

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 a full input schema, an output schema, and rich annotations, the description only needs to supply scope and intent, which it does. The one small gap is that the effect of the period enum on the returned aggregation is not hinted at, though the schema names the options.

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% and both enums are documented inline, so the baseline is 3. The description only echoes the station_limit default/max that the schema already states and adds no syntax or mapping detail for period, product, or train_number beyond what is structured.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific resource and scope: delay statistics for one specific train, broken down per station (on-time %, avg/max delay, cancellation rate). The phrase 'this exact train' cleanly separates it from the network/route-level siblings like route_punctuality and station_punctuality, and the 'ICE 577' example removes ambiguity about the identifier format.

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

Usage Guidelines4/5

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

Provides a concrete use case ('how reliable is this exact train?') that tells the agent when this tool is the right choice versus broader punctuality tools. It does not explicitly state when NOT to use it or name an alternative tool, which keeps it short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources