Skip to main content
Glama

Resolve a place name or coordinates

konumlar_bul
Read-onlyIdempotent

Resolves one location to the canonical record (id, type province/district, name, province, plate, slug, coordinates). Use it to validate user input or turn coordinates into the nearest district before calling other tools. Location (give one): il province name, slug or plate code (e.g. 'istanbul', 'izmir', 34), optionally with ilce district name; or konum district slug (e.g. 'duzce-akcakoca'); or enlem + boylam for the nearest district. Turkish characters optional ('Düzce' = 'duzce').

Endpoint: GET /v1/konumlar/bul. 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

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": "konumlar_bul"
  }
}

Input Schema

NameRequiredDescriptionDefault
ilNoProvince: name, slug or plate code, e.g. 'ankara', 'Düzce', 81.
ilceNoDistrict name within `il`, e.g. 'Kadıköy'. Omit for the province centre.
enlemNoLatitude (WGS84); used with `boylam` to pick the nearest district.
konumNoDistrict slug from konumlar_bul / konumlar_iller_il_ilceler, e.g. 'duzce-akcakoca'.
boylamNoLongitude (WGS84); used with `enlem`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / boylam / description
      Previous value: -"Boylam"New value: +"Longitude (WGS84); used with `enlem`."
    • changedInput schema / properties / enlem / description
      Previous value: -"Enlem (en yakın konum)"New value: +"Latitude (WGS84); used with `boylam` to pick the nearest district."
    • changedInput schema / properties / il / description
      Previous value: -"İl adı, slug'ı ya da plaka kodu (ör. duzce, 81)"New value: +"Province: name, slug or plate code, e.g. 'ankara', 'Düzce', 81."
    • changedInput schema / properties / ilce / description
      Previous value: -"İlçe adı (il ile birlikte)"New value: +"District name within `il`, e.g. 'Kadıköy'. Omit for the province centre."
    • changedInput schema / properties / konum / description
      Previous value: -"Konum slug'ı (ör. duzce-akcakoca)"New value: +"District slug from konumlar_bul / konumlar_iller_il_ilceler, e.g. 'duzce-akcakoca'."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered; the description adds genuinely new context — the HTTP endpoint, availability on all plans including free, a cost of 1 request unit per call, and Turkish-language JSON with `source` and `guncelleme` fields. What it omits is failure behavior, such as what happens when a name or coordinate pair matches nothing.

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 core purpose and the input-mode enumeration are front-loaded in the first two sentences, and the operational details (endpoint, plan, cost, output language) are compressed into a short trailing block. The parenthetical field list and the repeated examples (‘istanbul’, ‘izmir’, 34) duplicate schema examples and could be trimmed slightly.

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 compensates by naming the returned fields and noting the Turkish `source`/`guncelleme` metadata, and it covers cost and plan availability. The only meaningful gap for a resolution tool is the no-match case, which an agent would need in order to handle a failed lookup.

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%, so the per-field meanings are already documented and the baseline is 3. The description does add real value beyond the schema by framing the three mutually exclusive input modes and noting that Turkish characters are optional ('Düzce' = 'duzce'), but the coordinate pairing and ilce-omission behavior are already in the schema text.

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?

Opens with a specific verb and resource ("Resolves one location to the canonical record") and enumerates exactly what comes back (id, type, name, province, plate, slug, coordinates). That set of three accepted input modes plus the returned record shape distinguishes it cleanly from the list-style siblings konumlar_iller and konumlar_iller_il_ilceler.

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 two concrete use cases (validating user input, converting coordinates to the nearest district "before calling other tools") and states the input alternatives explicitly as "give one", which prevents callers from mixing modes. It also points at konumlar_iller_il_ilceler as the source of slugs. It stops short of an explicit exclusion, e.g. “use konumlar_iller to enumerate all provinces instead of this tool.”

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