Skip to main content
Glama
turkiye-secim-mcp

turkiye-secim-mcp

Get Turnout

get_turnout

Retrieve voter turnout data for Turkish elections ranked by turnout percent at province or district level, including registered voters, votes cast, and scope totals.

Instructions

Voter turnout (registered voters, voters who voted, turnout percent) ranked by turnout. level='il' ranks provinces (or returns one province if 'province' is given); level='ilce' returns the districts of the given province, or all districts of Turkey when province is omitted (that needs the one-time district download, see prepare_data). RAW YSK API figures. scope_total holds the total for the whole scope.

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": {
      "election": "<election>"
    },
    "name": "get_turnout"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoil
orderNoasc
top_nNo
electionYes
provinceNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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, and it does disclose one genuinely important behavioral trait: the omitted-province ilce path requires a separate one-time download via prepare_data, which changes how an agent should sequence calls. It also notes the figures are raw YSK API values and that scope_total holds the overall scope total. It says nothing about failure modes when data is unprepared, rate limits, or permissions.

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 content is front-loaded with the resource definition first, then the level/province branching, then the prerequisite pointer. Several clauses run together with parentheticals, and the second sentence is long, but no sentence is filler.

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-shape explanation is not required, and the description still clarifies the one non-obvious output field (scope_total). Relative to a five-parameter ranking tool with a documented output, the main remaining gap is the unexplained required 'election' parameter.

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 0%, so the description must compensate for all five parameters, and it fully explains only 'level' and 'province' (including their interaction). The required 'election' parameter is never explained (accepted format, relation to list_elections), and 'order' and 'top_n' are only implied by 'ranked by turnout' with no statement of what top_n limits or what the default sort direction means.

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 names the specific resource (voter turnout: registered voters, voters who voted, turnout percent) and the operation (ranked by turnout), so an agent knows exactly what comes back. It also characterizes the data as RAW YSK API figures, which distinguishes it from any derived/aggregated sibling. It stops short of naming which sibling to prefer for a plain election result query, so it is clear but not fully differentiated.

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 concrete when-to-use guidance tied to parameter values: level='il' ranks provinces or returns one province when 'province' is supplied, level='ilce' returns districts of a province or all Turkish districts when province is omitted. It also flags the prerequisite that the all-districts path needs the one-time district download and routes the agent to prepare_data. No explicit exclusions against get_results or rank_districts, hence not a 5.

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