Skip to main content
Glama

Get an İETT line's timetable

get_timetable
Read-only

Retrieve scheduled İETT departures for a bus line from the first stop in each direction, showing today’s next buses and first/last times; specify day type or full for complete timetables.

Instructions

Scheduled departures of an Istanbul İETT line from the first stop of each direction. By default shows today's next departures (Istanbul time) plus the first and last bus; pass 'day' for another day type and 'full' for every departure. Times are at the starting stop, not at stops along the way: to see whether a bus is close to a stop, use get_live_buses. Public holidays may run a different schedule.

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_timetable"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayNoWhich schedule to showtoday
fullNoList every departure, grouped by hour
lineYesLine code, e.g. '500T'
countNoHow many upcoming departures to show for today
towardNoOnly the direction heading to this place, e.g. 'Levent'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Adds meaningful context beyond readOnly/openWorld annotations: default output composition, Istanbul timezone, the holiday-schedule caveat, and the crucial behavioral constraint that times are at the starting stop only. It does not describe the return shape (e.g. grouping, per-direction structure), which is the main remaining gap.

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?

Four compact sentences with zero filler, front-loaded with what is returned and immediately followed by the default behavior and the real-time alternative. Every sentence carries distinct information.

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 does a good job of saying what you get (next departures, first/last bus, all departures grouped by hour per the schema) and flags the two pitfalls an agent would trip on: origin-stop timing and holiday schedules. Only the exact response structure is left implicit.

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 coverage is 100%, so all five parameters are already documented, and the description largely restates 'day' and 'full'. It never touches 'count' or 'toward', and the one genuinely clarifying point (times are at the origin stop, not intermediate stops) belongs to output interpretation rather than parameters. Baseline 3 is appropriate.

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 (scheduled departures of an İETT line) plus scope (first stop of each direction). An agent can immediately distinguish this scheduled-data tool from get_live_buses without reading either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly documents the default call (today's next departures plus first/last bus), the switches that broaden it ('day', 'full'), and names an alternative with its condition: use get_live_buses to see whether a bus is near a stop. It adds a real caveat that holidays may differ.

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