Skip to main content
Glama

load_timetable_delta

Incrementally refresh the timetable index by re-downloading only datasets changed since the last refresh and purging withdrawn datasets; optionally override the watermark with an ISO timestamp.

Instructions

Incrementally refresh the timetable index using the catalogue's modifiedDate filter: re-download only datasets changed since the last refresh (default watermark; pass an ISO timestamp to override) and purge datasets withdrawn from the catalogue. Minutes instead of hours versus a full load. No-op fallback to a full load if no cache exists. Catalogue sweeps are server-side filtered by modifiedDate when the index is fresh; a full (unfiltered) sweep - needed to detect withdrawn datasets - runs at most every 7 days. reconcile=True does not force a full sweep, but withdrawal purges happen only on full sweeps, so with a fresh watermark withdrawals linger up to 7 days (self-heals on the next full sweep).

Parameters: since: Optional ISO timestamp (YYYY-MM-DDTHH:MM:SS). Empty = use the watermark left by the last full load / delta. reconcile: If true (default), also purge datasets that vanished from the catalogue.

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

Input Schema

NameRequiredDescriptionDefault
sinceNo
reconcileNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.3

TDQS

A4.4/5.0
Behavior4/5

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

With zero annotations the description carries the whole load and does so well: it discloses destructive behaviour (purging withdrawn datasets), a 7-day full-sweep cadence, the resulting up-to-7-day lag on withdrawals, and self-healing. The one blemish is that the inline parameter note ('reconcile: also purge datasets that vanished') reads as unconditional while the body later says purges only happen on full sweeps, which surfaces as an internal inconsistency. Auth/permission requirements and progress reporting are also unaddressed.

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 the cost win, and nearly every sentence carries operational meaning (watermark, fallback, sweep cadence, purge lag). The reconcile/withdrawal passage is dense and slightly redundant, restating purge semantics twice in ways that don't fully agree.

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 two-parameter loader with an output schema already covering return values, the description supplies the non-obvious operational facts an agent needs: default watermark behaviour, cost profile versus full load, cold-start fallback, and the stale-withdrawal window. Nothing material for correct invocation is missing beyond the minor `reconcile` ambiguity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% (bare string/boolean with defaults), so the description must compensate and mostly does: it gives the ISO format for `since`, explains the empty-value watermark semantics, and gives the default and intent of `reconcile`. The `reconcile` explanation is weakened by the aforementioned conflict with the body text about when purges actually fire, leaving the agent unsure what True achieves on a fresh watermark.

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 ('Incrementally refresh the timetable index') and pins the mechanism (catalogue modifiedDate filter, re-download only changed datasets). It also implicitly separates itself from the full-load sibling by contrasting 'minutes instead of hours versus a full load' and describing the no-cache fallback, so an agent can distinguish the two without opening a schema.

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

Usage Guidelines4/5

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

Gives a clear operating context: use this for incremental refresh against the stored watermark, and it degrades to a full load automatically when no cache exists. It never explicitly names the full-load tool or states a when-not condition (e.g. cold start should call the full loader directly), so the routing is inferable rather than prescribed.

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