Skip to main content
Glama

Bari Bus Radar (AMTAB)

Prossimi bus (ricerca + arrivi 1-shot)

get_next_buses
Read-onlyIdempotent

Tool composito consigliato: risolve un codice fermata, un POI di Bari (es. Stazione Centrale, Aeroporto), un nome via o coordinate GPS nella fermata più pertinente (considerando direction_hint) e restituisce subito arrivi e fermate alternative/opposte.

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

Input Schema

NameRequiredDescriptionDefault
latNo
lonNo
langNoit
stop_idNo
stop_queryNo
route_filterNo
direction_hintNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine value by disclosing that it returns not just arrivals but also alternative/opposite stops, and that direction_hint influences stop selection. It does not address behavior when no resolving input is supplied (0 required params) or any limits on the result set.

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 front-loading the composite-resolution promise then the return payload; there is no filler. It is dense but every clause carries information, with only minor syntactic compression loss.

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 tool with 7 entirely undocumented parameters and no output schema, the description covers the resolution inputs and roughly states the return payload, which is the essential core. It is still incomplete on route_filter, on the lang enum's effect on returned content, and on what happens when zero resolving inputs are given.

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 description coverage is 0%, so the description must compensate and it largely does: it maps stop code -> stop_id, POI/street name -> stop_query, GPS coordinates -> lat/lon, and explains the role of direction_hint in disambiguating the chosen stop. It leaves route_filter and lang completely unexplained, which is a real but partial gap rather than a wholesale one.

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 concrete verb chain ('risolve ... e restituisce subito arrivi e fermate alternative/opposte') and the resource types it accepts (stop code, POI, street name, GPS coordinates). It also self-labels as 'Tool composito' and '1-shot', which implicitly separates it from the granular siblings get_stop_arrivals / find_nearby_stops / search_stops, though it never names them explicitly.

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?

Calling itself 'consigliato' signals that this is the preferred one-shot entry point over the per-step siblings, which is a usable usage cue. However, there is no explicit when-not guidance (e.g. use get_stop_arrivals when you already have a stop_id and only want arrivals) and no stated precedence if multiple resolution inputs are supplied.

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