Skip to main content
Glama

Get Train Punctuality of Rail Carrier

get_company_rail_punctuality
Read-onlyIdempotent

Get train punctuality of a Polish passenger rail carrier from PKP PLK open rail data: number of runs, share on time (arrival at the final station under 6 minutes late), average delay, cancellations, comparison with all carriers in Poland and rank, day-by-day series, punctuality by category/line, worst trains and runs. Identify company by name, KRS, or NIP.

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

Input Schema

NameRequiredDescriptionDefault
krsNoKRS registry number.
nipNoNIP tax number.
nameNoCompany name when KRS/NIP is unknown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the description's added value is the operational definition of 'on time' (arrival at final station under 6 minutes late) and the data provenance (PKP PLK open data). It does not disclose the time window covered or freshness of the data, which is the main remaining behavioral gap.

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?

Front-loaded with the purpose and source, then a dense list of returned metrics, ending with the identifier guidance. It is a single long sentence that borders on a run-on metric dump, but every clause carries information.

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 no output schema, the description must carry return-value expectations, and it does list them (rank, day-by-day series, worst trains, etc.). However, it omits the reporting period/date coverage entirely, and since there are no date parameters an agent cannot tell what timeframe the punctuality figures describe.

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%, so all three identifiers are already documented. The description's line 'Identify company by name, KRS, or NIP' reinforces the alternative-identifier pattern and that any of the three suffices, but adds little beyond the schema baseline.

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 verb+resource ('Get train punctuality of a Polish passenger rail carrier') plus the data source (PKP PLK open rail data), and enumerates the exact metrics returned. No sibling shares this domain, so it is unambiguously identifiable.

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?

Usage is only implied by the domain — an agent can infer this is the tool for rail punctuality of a carrier. There is no explicit when-to-use framing, no note on coverage period or whether the carrier must be a passenger rail operator, and no stated alternatives.

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.