Skip to main content
Glama

Get the stops along an İETT bus line

get_line_stops
Read-only

Retrieve the stops of an Istanbul İETT bus line in travel order for each direction, so you can check whether a line serves a stop or filter only the direction heading toward a given place.

Instructions

List the stops of an Istanbul İETT bus line in travel order, for each direction. Use it to check whether a line serves a stop, or how many stops lie between two places. Accepts line codes loosely ('78s' finds '78Ş'). Pass 'toward' to get only the direction heading to a place.

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

Input Schema

NameRequiredDescriptionDefault
lineYesLine code, e.g. '25G' or '500T'
towardNoOnly return the direction whose final stop matches this, e.g. 'Taksim'

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?

Annotations only declare readOnly and openWorld, so the description carries the burden and adds real value: default behavior is both directions, results are ordered by travel order, and the loose matching rule is disclosed. It does not say what happens when no line or direction matches, leaving the failure path undocumented.

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 short sentences, front-loaded with what the tool returns, followed by use cases and the optional filter. Every sentence contributes information with no repetition of the title or schema.

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 only two parameters, no output schema, and read-only annotations, the description adequately covers the return shape (ordered stops per direction) and the matching behavior. The only real gap is the no-match/empty-result behavior for both 'line' and 'toward'.

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 baseline is 3, but the description adds meaning beyond the schema: 'line' accepts loose casing/code variants ('78s' finds '78Ş'), and 'toward' is explained as selecting the direction whose final stop matches a place.

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 ('List the stops of an Istanbul İETT bus line') plus the ordering and grouping of the result ('in travel order, for each direction'). An agent can immediately tell this apart from line-info or live-bus siblings.

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 contexts: checking whether a line serves a stop, counting stops between two places, and passing 'toward' to narrow to one direction. It lacks an explicit statement of when NOT to use it or a named alternative for stop-based lookups (e.g. search_stops/find_stops_near).

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