Skip to main content
Glama

Get İETT bus line info

get_line_info
Read-only

Look up an Istanbul İETT bus line by code or route place names to retrieve endpoints, length, typical trip time, and fare type.

Instructions

Look up an Istanbul İETT bus line by its code (e.g. '500T', '25G') or find lines by places in their route name (e.g. 'Sarıyer Taksim'). Returns the route endpoints, length, typical trip time and fare type. Note: route names only list a line's two ends, not every stop along the way.

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

Input Schema

NameRequiredDescriptionDefault
lineYesLine code like '500T', or place names from the route
limitNoMaximum lines when searching by name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds real behavioral context by describing the response payload (endpoints, length, trip time, fare type) and warning that route names show only the two ends, not intermediate stops. That caveat prevents a likely misuse pattern. It stops short of noting result ordering or what happens when no line matches.

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: what it does, what it returns, and one high-value caveat — front-loaded and free of padding. No sentence restates the tool name or wastes tokens.

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 correctly carries the burden of describing return fields, and it explains both input modes plus the route-name limitation. Minor gaps remain around no-match behavior and how the limit interacts with code-based lookups, but the essentials for correct invocation are present.

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 is 3, but the description adds meaning by framing `line` as accepting either a code or place names and by tying the name-search mode to result limiting. The two lookup modes are clearer here than in the schema alone.

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?

States a specific verb and resource ("Look up an Istanbul İETT bus line by its code ... or find lines by places in their route name") with concrete examples, and spells out what is returned. The closing note implicitly separates it from get_line_stops, but no sibling is named explicitly.

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 clear context for both invocation modes: pass a line code like '500T', or pass place names to search by route name. No exclusions or alternative tools are named, so an agent knows when to use it but not what to use instead if it wants per-stop detail.

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