Skip to main content
Glama
turkiye-secim-mcp

turkiye-secim-mcp

Get Results

get_results

Retrieve raw Turkish election vote totals by election, province, district, and office, including registered voters, turnout, valid/invalid votes, and party or candidate results.

Instructions

Vote totals for an election at Turkey, province or district level (omit province for Turkey; pass province, plus district for a district). 'election' is an id from list_elections, e.g. '2023-05-14-mv'. Returns RAW YSK API figures (data_label='ham'): registered voters, turnout, valid and invalid votes, and per-party (or per-candidate; referendums: 'choices' EVET/HAYIR) votes with percent of valid votes. Alliance votes are listed separately and never distributed; vote_basis='alliance_distributed' is not available. In local elections 'district' selects a municipality (district-centre or belde, e.g. 'Besni' or 'Besni - Kesmetepe'); a province result is the sum of all mayor races there (belediye_baskani) or the metropolitan mayor race (buyuksehir_belediye_baskani).

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_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
officeNo
districtNo
electionYes
provinceNo
vote_basisNoraw

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses data provenance (RAW YSK API, data_label='ham'), the hard limitation that alliance votes are never distributed, and the aggregation semantics behind province-level local results. It stops short of covering error behavior, result size/pagination, or any auth/rate-limit expectations.

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 statement and dense with useful parentheticals; nearly every clause adds information. It is a single long block, though, and the local-election aggregation detail could be split for faster scanning.

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-value explanation is optional, yet the description still names the returned fields and their denominators, which helps set expectations. For a five-parameter, no-annotation read tool the definition is nearly sufficient; only the office parameter and failure modes are left implicit.

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 0%, so the description must compensate, and it does for most parameters: election gets an id source and format example, province/district get level rules and worked examples, and vote_basis gets an explicit availability constraint. The 'office' parameter is only obliquely touched through the mayor-race discussion and is never explained as the selector for race type.

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 ("Vote totals for an election") plus the exact granularity axis (Turkey / province / district), and the detail on alliances and mayor races makes it distinguishable from turnout- or ranking-oriented siblings.

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 concrete calling conditions: omit province for Turkey-level, pass province plus district for district-level, and pull the election id from list_elections. It also rules out vote_basis='alliance_distributed', but it never explicitly contrasts this tool with siblings like get_turnout or rank_districts.

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