Skip to main content
Glama
turkiye-secim-mcp

turkiye-secim-mcp

Prepare Data

prepare_data

Downloads district-level YSK election data to your computer for faster local queries, with resumable progress and time-limited calls.

Instructions

Download the district-level data of an election to this computer (one-time, ~81 small requests, about 1.5 minutes; YSK is queried politely, at most 2 requests per second). Call with election=None to see the status of all elections. Each call downloads for at most max_seconds (default 45) and can be repeated; progress is kept. 'complete': true means district queries for that election are fast.

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

Input Schema

NameRequiredDescriptionDefault
electionNo
max_secondsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description does the heavy lifting well: it discloses the polite rate limit (max 2 requests/sec), expected volume and duration (~81 requests, ~1.5 min), resumability, and the per-call time cap. It omits failure behavior, auth/network error handling, and where the data lands beyond 'this computer'.

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 main action is front-loaded in the first clause, followed by cost, then parameter behavior and the 'complete' flag. Dense but each clause carries real information; the parenthetical timing details are slightly verbose but useful for planning.

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 explaining 'complete' is supplementary rather than required, and the side-effect of writing data locally is made clear. For a stateful, rate-limited, resumable download tool, the definition covers what an agent needs to call it correctly, with only input-format ambiguity remaining.

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 largely does: election=None is explicitly defined as the all-elections status mode, and max_seconds is described as a per-call cap with a default of 45 and repeatability. It does not say what form an election value takes (name vs. identifier) or point to list_elections for valid values.

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?

States a specific verb and resource: 'Download the district-level data of an election to this computer', plus a secondary status mode. It is distinguishable from siblings such as get_results or list_elections by the local-download framing, but it never explicitly contrasts itself with them.

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 operating guidance: call with election=None to inspect status, calls are bounded by max_seconds and can be repeated with progress preserved. It stops short of stating when to prefer a sibling (e.g. get_results) instead of downloading, or any exclusions.

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