Skip to main content
Glama

Live departures/arrivals board

partidas_chegadas
Read-only

Check live departures or arrivals for a Portuguese train station, including scheduled and expected times, delays, platforms, and next-day trains after midnight.

Instructions

Live departures or arrivals for a station, with scheduled and expected times, delay in minutes (null = no real-time data yet) and platform. Late-evening requests also include the first trains after midnight; each row carries its own date.

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

Input Schema

NameRequiredDescriptionDefault
dateNoYYYY-MM-DD, default today (Lisbon)
viewNodepartures
limitNo
stationYesStation code (94-xxxx) or name
from_timeNoHH:MM, default now

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, open-world), and the description adds real behavioral context beyond them: delay is null when no real-time data exists, late-evening queries spill over into post-midnight trains, and each row carries its own date so results can span days. It stops short of covering result limits, ordering, or what happens with an unknown station.

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, no padding: the first establishes scope and return fields, the second front-loads the one non-obvious edge case (midnight rollover) plus the null-delay convention. Everything stated is something an agent would otherwise have to guess.

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 no output schema, the description correctly describes the shape of each row (scheduled, expected, delay, platform, date), which is exactly what's needed. The remaining gap is minor: no mention of what limit does to results or how station names are resolved, both of which matter for a 5-parameter lookup tool.

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 60%, with station, date and from_time already documented in-schema. The description reinforces date/'date per row' and the late-evening/from_time interaction, and 'departures or arrivals' hints at the view enum, but limit and the view selector get no explanation beyond schema defaults. Baseline 3 is appropriate when the schema carries most of the load.

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 verb and resource (live departures/arrivals for a station) and enumerates the returned fields: scheduled vs expected times, delay, platform. The word 'Live' distinguishes it in spirit from the static timetable siblings (horarios, mostrar_horarios), but no sibling is named, so differentiation is implicit rather than explicit.

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

Usage Guidelines2/5

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

There is no explicit when-to-use / when-not-to-use guidance and no named alternative. An agent must infer from 'Live' that this is for real-time boards rather than published timetables, and nothing tells it whether to prefer this over horarios or mostrar_horarios for a given query.

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