Skip to main content
Glama
İzmir Açık Veri MCP
by ArdanKani

Hattaki otobüslerin anlık konumu

otobus_konumlari

Fetch live locations for every bus on a specified ESHOT route, including each bus's nearest stop, and use the direction code to group vehicles traveling the same way.

Instructions

Bir ESHOT hattındaki (ör. 35, 202) tüm otobüslerin canlı konumunu verir; her otobüs için en yakın durak adıyla birlikte. 'yon' ESHOT'un yön kodudur (0/1); aynı yöndeki otobüsleri grupla. Aynı otobusId birden fazla konum kaydında görünebilir; otobüs sayısı olarak benzersiz otobusId sayısını kullan.

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": {
      "hatNo": "<hatNo>"
    },
    "name": "otobus_konumlari"
  }
}

Input Schema

NameRequiredDescriptionDefault
hatNoYesESHOT hat numarası, ör. 35

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose useful result-shape behavior (each bus paired with nearest stop, the 'yon' direction code 0/1, and that the same otobusId can appear in multiple position records, so unique otobusId count should be used). It says nothing about error behavior for an invalid hatNo, data freshness, or rate limits.

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?

The purpose is front-loaded in the first clause, followed by two compact caveats about 'yon' and duplicate otobusId. Dense but every sentence carries information; only the 'yon' sentence is slightly ambiguous about which field it refers to.

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 1-parameter, read-only lookup with no output schema and no annotations, the description covers what is returned at a high level and warns about duplicate ids. It does not explain invalid-line handling or position freshness, and the 'yon' note is not tied to a named return field.

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% and the single parameter hatNo is already documented as an ESHOT line number with example 35, so the baseline is 3. The description's 'yon' note concerns output grouping rather than any input parameter, so it adds no parameter-level meaning.

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 states a specific verb and resource: it returns the live location of all buses on a given ESHOT line (e.g. 35, 202), each with its nearest stop name. This is clearly distinguishable from a stop-centric tool like duraga_yaklasan_otobusler, though 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 Guidelines3/5

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

Usage is only implied by the scope statement (per-line, all buses, live). There is no explicit 'use this when... / use X instead when...' routing, nor any statement about prerequisites such as a valid line number.

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