Skip to main content
Glama

Treinvertrek

trein_vertrek
Read-onlyIdempotent

Vertrektijden van treinen vanaf een station, met vertraging, spoor, spoorwijzigingen en uitval. Zonder tijd krijg je de vertrekken vanaf nu. Gaat ongeveer een uur vooruit; voor latere tijden is er Treinreis plannen.

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_vertrek"
  }
}

Input Schema

NameRequiredDescriptionDefault
tijdNoVanaf welke tijd, als UU:MM. Leeg = nu
datumNoDatum als JJJJ-MM-DD. Leeg = vandaag
aantalNoAantal vertrekken
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.4/5.0
Behavior4/5

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

Annotations already cover safety and idempotency (readOnlyHint, idempotentHint, openWorldHint, destructiveHint=false), so the description's real contribution is the ~1-hour forward window and the fact that cancellations and platform changes are included in results. That is meaningful behavioral context beyond the structured fields, though it says nothing about rate limits, empty results, or how 'aantal' interacts with the window.

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 short sentences, front-loaded with what the tool returns, then the default behavior, then the escalation path. No filler and nothing repeated from the schema.

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 an output schema present, the description need not explain return values, and the temporal horizon plus the named alternative cover the main risk of misuse. The one soft spot is that 'ongeveer een uur vooruit' is imprecise about how the aantal cap interacts with that window, which could matter for an agent planning a trip.

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%: tijd, datum, aantal (1-25) and station are all documented in the schema itself. The description only echoes the tijd default ('zonder tijd vanaf nu'), adding no format or interpretation detail beyond what the schema already states, so the baseline of 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?

States a specific verb and resource ('Vertrektijden van treinen vanaf een station') and enumerates the payload fields the agent will get back (vertraging, spoor, spoorwijzigingen, uitval). It also bounds the scope in time, which separates it from the journey-planning sibling without needing to open either schema.

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?

Gives an explicit default ('Zonder tijd krijg je de vertrekken vanaf nu'), an explicit coverage limit ('Gaat ongeveer een uur vooruit'), and names the alternative to use beyond that limit ('voor latere tijden is er Treinreis plannen'). The agent knows both when to call this and when to route elsewhere.

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.