Skip to main content
Glama

Bari Bus Radar (AMTAB)

Arrivi live a una fermata AMTAB

get_stop_arrivals
Read-onlyIdempotent

Restituisce gli arrivi in tempo reale (GPS live, stima capolinea, Virtual GPS crowdsourced, più orari programmati con stime di traffico/ritardo storico) per uno specifico stop_id a 8 caratteri.

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": {
      "stop_id": "<stop_id>"
    },
    "name": "get_stop_arrivals"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoit
stop_idYes
horizon_minNo
route_filterNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare a safe read (readOnlyHint, idempotentHint, non-destructive, closed-world), so the bar is lower. The description adds genuinely new context: the arrival estimates blend live GPS, a terminal-arrival model, crowdsourced Virtual GPS, and scheduled times adjusted for traffic and historical delay — telling the agent how trustworthy/derived the numbers are. It says nothing about refresh/cache staleness or what happens for an unknown stop_id.

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 sentence that front-loads the verb and resource before the parenthetical data-source detail. The parenthetical is long but every item earns its place by characterizing estimate provenance; nothing is redundant.

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?

For a four-parameter tool with no output schema and no parameter descriptions, the definition covers purpose and data provenance adequately but leaves the response shape unexplored (fields returned per arrival, ordering, units) and most parameters unexplained. An agent could invoke it, but only by guessing what horizon_min and route_filter do.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning, and it only addresses stop_id at a surface level ('a 8 caratteri') without explaining the optional '#' prefix in the pattern. The three optional parameters — lang (enum/default), horizon_min (10-60, default 35), and route_filter — are entirely unmentioned, leaving their semantics to bare field names.

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 opens with a specific verb and resource ('Restituisce gli arrivi in tempo reale ... per uno specifico stop_id'), so the agent knows it returns live arrivals for one stop. It also enumerates the data sources behind the estimate (GPS live, capolinea estimate, crowdsourced Virtual GPS, scheduled times with traffic/historical delay). It does not differentiate from siblings such as get_next_buses, so it stops short of a 5.

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?

Usage is only implied: the agent can infer this is the tool for arrivals at a stop it already has an 8-character stop_id for. There is no explicit when-not condition, no mention of how to obtain a stop_id (e.g. via find_nearby_stops or search_stops), and no guidance versus get_next_buses or get_line_status.

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.

Resources