Skip to main content
Glama

Bahn-Zuverlässigkeits-MCP

route_punctuality

Read-onlyIdempotent

Punctuality statistics for a train route between two German stations (on-time percentage, average delay, cancellation rate, observation count). Uses partial matching so "Berlin" and "München" work (omit "Hbf" or suffixes).

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "route_punctuality"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesDestination station name (German), e.g. "München Hbf" or just "München". Partial match supported.
fromYesOrigin station name (German), e.g. "Berlin Hbf" or just "Berlin". Partial match supported.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds meaningful context beyond that: partial matching semantics for station names and the exact set of metrics reported, including an observation count that hints at sample-size caveats. Auth, rate limits, and ambiguity resolution with multiple partial matches are not addressed.

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?

Two sentences, both front-loaded with the essential information: what is returned first, then the input-matching convenience. No filler and no repetition beyond the necessary partial-match note.

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?

For a simple two-required-parameter read tool with a full schema and an output schema, the description covers purpose, inputs, and the metric list. The main residual gap is how ambiguous partial matches resolve (e.g. multiple stations containing 'Berlin') and whether results are cached or historical, which an agent might want before calling.

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 both parameters already document partial matching with examples like 'München Hbf' or just 'München'. The description restates that same partial-matching rule for the pair rather than adding format, ordering, or ambiguity-handling detail. Baseline 3 applies since the schema carries the parameter semantics.

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 specific resource (punctuality statistics for a train route between two German stations) and enumerates the metrics returned: on-time percentage, average delay, cancellation rate, observation count. This clearly separates it from a station-level tool like station_punctuality, though it never names or explicitly contrasts any sibling.

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?

The description gives practical input guidance (use 'Berlin' and 'München', omit 'Hbf' or suffixes) but never says when to prefer this route-level tool over station_punctuality, train_delay_stats, or chaos_index. Usage is implied by the phrase 'between two German stations' rather than stated as a selection rule.

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