Skip to main content
Glama

List districts of a province

konumlar_iller_il_ilceler
Read-onlyIdempotent

Returns the province and all its districts (id, name, slug, coordinates). District slugs (e.g. 'duzce-akcakoca') can be passed as konum to location-based tools (namaz, hava, hava_detay).

Endpoint: GET /v1/konumlar/iller/{il}/ilceler. Available on all plans, including free. Costs 1 request unit per call. Read-only; JSON in Turkish with source and guncelleme (updated at) fields.

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": {
      "il": "<il>"
    },
    "name": "konumlar_iller_il_ilceler"
  }
}

Input Schema

NameRequiredDescriptionDefault
ilYesProvince: name, slug or plate code, e.g. 'duzce', 81.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / il / description
      Added value: +"Province: name, slug or plate code, e.g. 'duzce', 81."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the description does not need to repeat that. It instead adds genuinely new operational facts: the endpoint path, availability on all plans including free, a cost of 1 request unit per call, and Turkish-language JSON with a `guncelleme` timestamp — all useful for cost/format planning. Only pagination or edge-case behavior (e.g. unknown province) is absent.

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?

Front-loaded with the outcome and returned fields, then the interop hint, then endpoint/cost facts in a compact second paragraph. No sentence is redundant and the most decision-relevant information (what you get, where the output is used) comes first.

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?

A single-parameter, read-only lookup with no output schema — the description covers return fields, usage downstream, cost, availability, and response language, which is everything an agent needs to call it correctly. Nothing material is deferred to unavailable structured data.

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 description coverage is 100%, and the schema already explains that `il` accepts a name, slug, or plate code with examples ('duzce', 81). The description reinforces the slug format through the 'duzce-akcakoca' example but adds little about the `il` input itself beyond what the schema states, so the baseline 3 applies.

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?

The description opens with a specific verb and resource — 'Returns the province and all its districts' — and enumerates the returned fields (id, name, slug, coordinates), which immediately separates it from konumlar_iller (provinces) and konumlar_bul (search). An agent knows exactly which hierarchy level this tool occupies.

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?

It gives real downstream guidance: district slugs like 'duzce-akcakoca' can be passed as `konum` to namaz, hava, and hava_detay, which tells the agent where this tool fits in a workflow. It does not explicitly state when to prefer a sibling (e.g. calling konumlar_iller or konumlar_bul first to obtain an `il` value), so the routing guidance stops just short of complete.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources