Skip to main content
Glama

Bari Bus Radar (AMTAB)

Radar e stato live di una linea AMTAB

get_line_status
Read-onlyIdempotent

Mostra per una linea AMTAB (es. PJ, 02, 16, 27) tutte le direzioni attive, i bus in servizio in tempo reale (GPS live / TripUpdate / Virtual GPS), le prossime partenze dal capolinea, le fermate principali (key_stops) e gli avvisi attivi.

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": {
      "route_id": "<route_id>"
    },
    "name": "get_line_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoit
route_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuine behavioral context beyond that: it discloses the live data sources (GPS live / TripUpdate / Virtual GPS) and that the response bundles directions, key_stops, and active alerts, which tells the agent what a call actually surfaces.

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?

One dense sentence that is front-loaded with the operation and line scope, then lists the returned components. No filler, though the parenthetical source list makes it slightly heavier than necessary.

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 usefully enumerates what the response contains, which is the key completeness requirement for a read-only aggregate tool. The only gap is the unexplained lang parameter, minor against the rest of the coverage.

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 description coverage is 0% for two parameters. The description compensates for route_id by giving example line codes (PJ, 02, 16, 27), implying short alphanumeric identifiers, but it says nothing about the lang parameter or its allowed values, so the compensation is only partial.

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 uses a specific verb ("Mostra") and resource (an AMTAB line's live status) and enumerates the payload: active directions, live buses via GPS/TripUpdate/Virtual GPS, next departures from the terminus, key stops, and active alerts. It gives concrete line-code examples (PJ, 02, 16, 27). It does not explicitly contrast itself with siblings like get_next_buses or get_stop_arrivals, 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 implied by the enumerated contents — an agent can infer this is the aggregate per-line view — but there is no explicit statement of when to choose it over get_next_buses or get_stop_arrivals, and no when-not guidance or prerequisites.

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