Skip to main content
Glama

Treinaankomst

trein_aankomst
Read-onlyIdempotent

Aankomsttijden van treinen op een station: waar de trein vandaan komt, vertraging, spoor en uitval. Handig als je iemand van de trein ophaalt. Zonder tijd krijg je de aankomsten vanaf nu. Gaat ongeveer een uur vooruit; voor latere tijden is er Treinreis plannen. Rijdt een trein door, dan heeft hij bij Treinvertrek hetzelfde treinnummer.

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": {
      "station": "<station>"
    },
    "name": "trein_aankomst"
  }
}

Input Schema

NameRequiredDescriptionDefault
tijdNoVanaf welke tijd, als UU:MM. Leeg = nu
datumNoDatum als JJJJ-MM-DD. Leeg = vandaag
aantalNoAantal aankomsten
stationYesStationsnaam of code, bijvoorbeeld Leiden Centraal of LEDN

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely useful behavior the annotations do not: the rolling ~1 hour forward window and the fallback to 'now' when tijd is omitted. It does not discuss pagination or limits on 'aantal' beyond what the schema states.

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?

Front-loaded statement of what is returned, then default behavior, then the horizon limitation and alternative, then the through-train cross-reference. Every sentence carries distinct information and nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only lookup with a fully documented schema and an output schema, the description supplies the only things the structured data cannot: default-time behavior, the ~1 hour forward window, and the routing to planning and departure siblings. Nothing needed to call it correctly is missing.

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%, so the schema already explains tijd, datum, aantal and station including formats and the maximum of 25. The description only restates the tijd default ('Zonder tijd krijg je de aankomsten vanaf nu'), adding little meaning beyond structured fields; baseline 3 applies.

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?

The description opens with a precise verb+resource: arrival times of trains at a station, and even enumerates the returned fields (origin, delay, platform, cancellation). It is clearly distinguishable from trein_vertrek (departures) and from reis_plannen/trein_reis (planning further ahead).

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

Usage Guidelines5/5

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

It gives a concrete use case (picking someone up), states the default when no time is supplied, explicitly bounds the horizon to roughly one hour ahead and names the alternative ('Treinreis plannen') for later times. The note that continuing trains share a train number with Treinvertrek also implicitly routes the agent to the departure tool when relevant.

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.