Skip to main content
Glama

tse_eleicoes_catalogo

Lists Brazilian electoral cycles with election codes, dates, types, states, and offices, so you can identify and filter official TSE election records by year, UF, or type.

Instructions

List Brazilian electoral cycles, election codes, dates, types (ordinaria/suplementar), UFs, and offices from TSE ele-c.json.

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

Input Schema

NameRequiredDescriptionDefault
ufNo2-letter UF code or 'br'
anoNoFilter by election year
tipoNoFilter by election typetodas
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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; 'List' implies a read-only operation and the source file (ele-c.json) is disclosed, which is useful provenance. However, it says nothing about result volume defaults beyond the schema, whether the catalog is static/cached, or ordering of returned cycles.

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?

One dense sentence, front-loaded with the verb and resource, with zero filler. The run-on enumeration of fields is slightly hard to scan but every element is informative.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter read-only catalog with no annotations and no output schema, the description gives enough to understand the domain and returns, and the single enum parameter is documented in the schema. It leaves the limit/pagination behavior and result ordering unaddressed.

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 75%, so the baseline is 3, but the description adds value by naming the election-type vocabulary (ordinaria/suplementar) and the UF dimension as filterable concepts. It adds nothing for ano or limit, and 'offices' in the description does not correspond to any parameter, creating slight ambiguity.

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 ('List') and a concrete resource ('Brazilian electoral cycles... from TSE ele-c.json'), and it enumerates the fields returned (codes, dates, types, UFs, offices). It does not explicitly distinguish itself from siblings like tse_dados_abertos_datasets, so it stops short of a 5.

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?

No explicit when-to-use or when-not-to-use guidance is given, and no alternative tool is named. Usage is only implied: as a catalog of cycles and election codes, an agent can infer this is the discovery step before calling candidates or results tools, but that inference is left to the reader.

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