Skip to main content
Glama
election-mcp

election-mcp

by King-AAA2012

election_results

Search Indian Lok Sabha election results by year and state to retrieve constituency, winning party, candidate, votes, and runner-up details.

Instructions

Search Indian Lok Sabha (parliament) election results by year (2014, 2019 or 2024) and/or state. Returns constituency, winning party, winning candidate, votes, and the runner-up for each matching seat. Data is sample data.

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

Input Schema

NameRequiredDescriptionDefault
yearNoElection year: 2014, 2019 or 2024 (Lok Sabha).
stateNoIndian state, e.g. Maharashtra, Karnataka or Tamil Nadu.

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?

No annotations are supplied, so the description carries the full burden. It does disclose the returned fields (constituency, winning party, candidate, votes, runner-up) and warns that the data is sample data, which is valuable. It omits result limits, pagination, and whether an unfiltered call returns the entire dataset, which are meaningful gaps for a search tool.

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 short sentences: what it searches, what it returns, and a data-quality caveat. The most important information is front-loaded and nothing is redundant.

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 enumerating the return fields, and it flags the sample-data caveat. For a two-optional-parameter read tool this is nearly complete; only the no-filter behavior and result-size limits are left unspecified.

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 both parameters are already documented in the schema. The description reinforces the year set (2014, 2019, 2024) and the 'and/or' combinability but adds no format or edge-case detail beyond what the schema states, so the baseline of 3 applies.

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 uses a specific verb ('Search') and a precisely scoped resource ('Indian Lok Sabha parliament election results'), with the two filter axes named. It does not explicitly differentiate itself from the siblings candidate_search or voter_lookup, but the resource scope is distinctive enough that confusion is unlikely.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'by year and/or state' implies both filters are optional and combinable, which is useful context. However, it gives no guidance on when to prefer this over candidate_search or voter_lookup, and does not say what happens if both filters are omitted.

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

Deploy Server

Other Tools