Skip to main content
Glama

Get live İETT bus positions

get_live_buses
Read-only

Track live positions of an Istanbul İETT line's buses by their nearest stop, and optionally filter by stop code to see which buses are heading to that stop and how many stops away they are.

Instructions

Show where an Istanbul İETT line's buses are right now, placed on the route by their nearest stop. Pass 'stop_code' (from search_stops) to get only the buses still heading to that stop and how many stops away each one is, which answers 'is my bus close?'. Positions come from İETT's fleet tracking and can lag; some lines have no tracked buses. İETT limits this data to about 100 requests per hour, so avoid polling.

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": {
      "line": "<line>"
    },
    "name": "get_live_buses"
  }
}

Input Schema

NameRequiredDescriptionDefault
lineYesLine code, e.g. '500T' or '15F'
stop_codeNoStop code from search_stops, e.g. 113352

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Goes well past the readOnly/openWorld annotations by disclosing that positions are derived from nearest-stop matching, can lag, that some lines have no tracked buses (empty results are normal), and a concrete rate limit of about 100 requests per hour with advice to avoid polling. This is exactly the operational context an agent needs before calling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with what the tool returns, then the optional narrowing parameter, then caveats and limits. Every clause carries distinct information with no redundancy.

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?

With only two parameters and no output schema, the description covers what is returned (live positions per line, stops-away counts when filtering), failure modes (lagging data, lines with no tracked buses), and throttling constraints. Nothing essential for correct invocation is missing.

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 100%, so the baseline would be 3, but the description adds real meaning beyond the schema: stop_code does not merely filter but restricts results to buses still approaching that stop and yields a stops-away count, and 'line' is implicitly the line code to track. It does not restate the numeric bounds the schema already gives.

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 ('Show where an Istanbul İETT line's buses are right now') plus the placement semantics (nearest stop), which cleanly separates it from the static siblings get_line_stops, get_timetable and get_line_info.

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 concrete usage context: pass 'stop_code' (explicitly sourced from search_stops) to answer 'is my bus close?'. It clearly frames one mode of use but does not state exclusions, e.g. when to prefer get_timetable for scheduled rather than live data.

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