Skip to main content
Glama
turkiye-secim-mcp

turkiye-secim-mcp

Search Place

search_place

Find a Turkish province (il) or district (ilçe) by name with case- and accent-insensitive matching, optionally scoped to the municipalities of a specific election.

Instructions

Find a province (il) or district (ilce) by name. Case, Turkish characters and accents are ignored ('hatay', 'ISKENDERUN', 'urfa' all work). Province search always works; district search needs the one-time district download (see prepare_data) and says so if it is missing. Pass 'election' (e.g. a local election id) to search that election's own units: in local elections these are municipalities, including belde municipalities named 'DISTRICT - BELDE'.

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": {
      "query": "<query>"
    },
    "name": "search_place"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNo
limitNo
queryYes
electionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

With no annotations present, the description carries the full burden and does well: it discloses normalization behavior (case, Turkish characters, accents ignored, with concrete examples like 'ISKENDERUN', 'urfa'), a hard prerequisite failure mode for district search, and the naming convention for belde municipalities. It does not explain what happens with the limit (result truncation/ordering) or whether results are paged.

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, front-loaded with the core action, then matching semantics, then the prerequisite, then the optional election mode. Every clause carries information an agent needs; nothing is redundant padding.

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?

An output schema exists, so return values need no explanation, and the description covers the prerequisite, matching rules, and mode switching adequately for a 4-parameter lookup tool. The only omission is behavior of 'limit' and result ordering, which is minor.

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 description coverage is 0%, so the description must supply meaning, and it covers three of four parameters substantively: query (name matching, accent/case folding), level (il vs ilce tied to the province/district distinction), and election (an election id that switches to that election's own units, e.g. municipalities). The 'limit' parameter is never mentioned, leaving one gap.

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 opening sentence gives a specific verb and resource: 'Find a province (il) or district (ilce) by name.' It also carves out a distinct mode ('Pass election ... to search that election's own units'), so the agent knows this tool covers both geographic and election-scoped lookups. None of the siblings (prepare_data, get_results, rank_districts) are search tools, so there is no ambiguity to resolve.

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 states the conditions under which each mode applies and names the prerequisite explicitly: district search 'needs the one-time district download (see prepare_data) and says so if it is missing,' which routes the agent to the right sibling. There is no explicit statement of when NOT to use this tool, keeping it just short of a 5.

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