Skip to main content
Glama
MCP e-Kontroll

MCP e-Kontroll

by ToniMigliato

Consultar operações fiscais detalhadas de entradas

consultar_operacoes_fiscais_detalhadas_entradas
Read-only

Retrieves detailed incoming fiscal operations for a defined competence period, using start and end month dates to support accounting review and reconciliation.

Instructions

Consulta fechada com método, parâmetros e saída definidos em código.

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

Input Schema

NameRequiredDescriptionDefault
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

C2/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 covered externally and the bar is lower. Against that lower bar the description still adds nothing: no indication of what the query returns, whether results are aggregated per fiscal operation, how volume or period boundaries behave, or that output follows a fixed documented shape.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is short but content-free; brevity here reflects under-specification rather than economy. There is no front-loaded statement of what the tool retrieves, so the sentence does not earn its place.

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

Completeness2/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 not required, and the two parameters are documented in the schema. However, for a domain-specific fiscal reporting query with a near-identical directional sibling, the description supplies no scope, no grain (per operation, per period, per establishment), and no differentiation, leaving the agent unable to judge when this tool is the right call.

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%, with both comp_inicial and comp_final fully documented including the AAAA-MM-01 pattern and an example, so the baseline of 3 applies. The description contributes no additional meaning about the parameters — notably it never clarifies whether the competence range is inclusive on both ends, which the schema leaves implicit.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says only that this is a 'consulta fechada' with method, parameters and output defined in code — a meta-statement that restates that it is a query without naming the resource, the scope, or what 'operações fiscais detalhadas de entradas' actually returns. Everything specific in the definition comes from the tool name and title, not the description, so an agent gains no basis for distinguishing it from sibling consultar_operacoes_fiscais_detalhadas_saidas.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no exclusion criteria, and no mention of the near-identical 'saidas' sibling or of alternatives such as consultar_operacoes_por_cfop or consultar_volumetria_fiscal. The phrase 'definidos em código' hints that behavior is fixed, but gives the agent nothing to route on.

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