Skip to main content
Glama
MCP e-Kontroll

MCP e-Kontroll

by ToniMigliato

Consultar balancete mensal

consultar_balancete_mensal
Read-only

Retrieves monthly trial balances for a specified accounting period range and optional type, enabling users to query accounting data by competence dates in YYYY-MM-01 format.

Instructions

Consulta o balancete por competência; use AAAA-MM-01 e, por padrão, os tipos 1 e 2.

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": {
      "comp_inicial": "<comp_inicial>",
      "comp_final": "<comp_final>"
    },
    "name": "consultar_balancete_mensal"
  }
}

Input Schema

NameRequiredDescriptionDefault
tipoNoTipo aceito pela e-Kontroll: 1, 2 ou 1,2. Quando o usuário não especificar, use 1,2 para consultar ambos.1,2
comp_finalYesCompetência no formato AAAA-MM-01. Exemplo: 2026-08-01.
comp_inicialYesCompetência no formato AAAA-MM-01. Exemplo: 2026-08-01.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is fully covered elsewhere. The description adds nothing behavioral beyond that: it does not say whether the two competência parameters define a range or a single month, whether results are grouped per period, or how missing periods behave. What it does add (format, default tipo) is already present in the schema.

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?

A single compact sentence that front-loads the action and then the operative constraints. It is efficient, though it spends words restating the date format already fixed by the schema pattern.

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?

With a full output schema and fully described parameters, the description only needs to nail down scope. It leaves open whether comp_inicial/comp_final form a range and how this differs from the non-monthly and annual balancete siblings, which is the main thing an agent needs here.

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 all three parameters, including the tipo enum with its default '1,2' and the AAAA-MM-01 pattern with an example, are already documented. The description repeats the format and default without adding new meaning, 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 states a specific verb and resource ('Consulta o balancete') and adds a qualifying modifier ('por competência'), which hints at the monthly accrual-period variant. It never names the sibling tools (consultar_balancete, consultar_balancete_anual), so the agent must infer the distinction from the tool name alone rather than from the description.

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?

Usage is only implied: it says to use the 'AAAA-MM-01' format and to default to tipos 1 and 2. There is no statement of when to choose this tool over consultar_balancete or consultar_balancete_anual, and no exclusions or prerequisites.

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