Skip to main content
Glama

Provinces and districts of Türkiye

il_ilce
Read-onlyIdempotent

Lists Turkey’s 81 provinces with plate codes, regions, and districts; search by province name, plate code, or district name to find a province and its districts.

Instructions

Türkiye’nin 81 ilini plaka kodu, coğrafi bölge ve büyükşehir bilgisiyle; seçilen ilin ilçelerini listeler. İl adı ("Urfa", "Afyon" gibi yaygın adlar dahil), plaka kodu veya ilçe adıyla arar. Lists the 81 provinces with plate codes, regions and districts. Search by province name, plate code or district name (e.g. "Kadıköy" → İstanbul). No arguments: all provinces.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "il_ilce"
  }
}

Input Schema

NameRequiredDescriptionDefault
bolgeNoBölge filtresi: Akdeniz, Ege, Marmara, İç Anadolu, Karadeniz, Doğu Anadolu, Güneydoğu Anadolu / Region filter for the province list
plakaNoPlaka kodu 1-81 / Plate code 1-81
sorguNoİl adı, plaka kodu ("34") veya ilçe adı / Province name, plate code or district name

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 already declare read-only, idempotent and closed-world behavior, so the safety profile is covered. The description adds genuinely new behavioral context beyond that: the fixed universe of 81 provinces, inclusion of plate codes/regions/metropolitan status, and handling of common colloquial province names like "Urfa" and "Afyon". Only the shape of the returned rows is left implicit.

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?

Front-loaded with the core purpose and the three lookup modes, with no filler sentences. The Turkish and English halves largely restate each other, which costs some redundancy, though the bilingual framing is defensible for a Turkish-domain dataset.

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?

For a small read-only reference lookup with zero required parameters, the description covers the data domain, all three addressing modes, and the no-argument default. With annotations carrying safety and no output schema to explain, nothing an agent needs in order to call it correctly 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 is 3, but the description goes further by clarifying that the query parameter resolves district names to their province and that informal province names are accepted. The region filter is mentioned via the 'coğrafi bölge' wording, tying it to the schema's enumerated region values.

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: lists Türkiye's 81 provinces with plate codes, geographic region and metropolitan-municipality info, plus districts of a selected province. The lookup keys (province name, plate code, district name) and the no-argument default are spelled out, so the agent knows exactly what the tool returns and how it can be driven. None of the listed siblings overlap, so no differentiation is needed.

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 use: call with no arguments to enumerate all provinces, or pass a query to search by province name, plate code, or district name, with a concrete mapping example ("Kadıköy" → İstanbul). It does not state exclusions or failure behavior for unmatched queries, but no sibling tool offers an alternative path for this data.

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