Skip to main content
Glama

Service Alerts

service_alerts
Read-only

Query current BKK and MÁV disruptions, closures and diversions for a line or the full network, with optional planned alerts and output in English or Hungarian.

Instructions

Current disruptions, closures and diversions (BKK and MÁV).

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

Input Schema

NameRequiredDescriptionDefault
lineNoOnly alerts for this line, e.g. 'M3' or '56'
limitNo
languageNoAlert languageen
include_futureNoAlso include planned future disruptions

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety and external-data profile is covered. The description adds genuinely useful scope context by naming the two transit authorities, but it says nothing about data freshness, coverage limits, or authentication, and an output schema already exists to cover return structure.

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?

A single short sentence with no filler and the key scoping information front-loaded. Nothing is wasted, though it borders on under-specification rather than tight editing.

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?

Return values are covered by the output schema and all parameters are optional, so the tool is callable as described. Still, for an open-world data source the description does not say how fresh the alerts are, what happens if no alerts match, or whether the operator scope can be narrowed.

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?

With 75% schema description coverage, the schema already documents line, language and include_future; limit is self-explanatory from its bounds. The description contributes only the implicit current-vs-planned framing that the include_future flag maps to, so it neither compensates for nor undercuts the schema.

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?

The description names a specific resource – current disruptions, closures and diversions – and scopes it to two operators (BKK and MÁV). An agent can tell this apart from departures, find_stop, plan_trip and train_connections, though the differentiation comes from the resource itself rather than any explicit contrast.

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?

There is no explicit when-to-use guidance, no prerequisites, and no mention of alternatives. The word 'Current' implies the use case (checking live service status rather than planning a trip), but the agent has to infer that from the phrasing rather than being told.

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