Skip to main content
Glama
MCP e-Kontroll

MCP e-Kontroll

by ToniMigliato

Consultar operações fiscais por CFOP

consultar_operacoes_por_cfop
Read-only

Query accounting operations by CFOP within a start and end competence period to filter and analyze fiscal transaction data.

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

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

D1.4/5.0
Behavior1/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the description is only expected to add context beyond that — and it adds none. It does not explain that results are aggregated per CFOP, how the competência range bounds the data, or that missing months yield empty results. The sentence claims everything is 'defined in code', which is the opposite of disclosure.

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?

It is short, but every word is filler: the single sentence conveys no actionable content and is not front-loaded with purpose. Brevity here reflects under-specification rather than economy.

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

Completeness1/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 values need no explanation, and annotations cover the read-only profile. Even so, for a fiscal aggregation tool with a required period range, an agent needs to know what 'operações por CFOP' aggregates and how the period is applied — none of which is present.

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 coverage is 100% and both parameters carry the AAAA-MM-01 pattern plus an example, so the schema fully carries parameter meaning; the description adds nothing but is not required to. Baseline 3 applies per high coverage, though the description offers zero extra semantics on how comp_inicial/comp_final bound the CFOP aggregation.

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

Purpose1/5

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

The description never states a verb or resource: 'Consulta fechada com método, parâmetros e saída definidos em código' is a meta-statement about implementation, not about what the tool returns. It adds nothing beyond the title 'Consultar operações fiscais por CFOP' and gives an agent no way to distinguish it from siblings like consultar_operacoes_fiscais_detalhadas_entradas/saidas or consultar_volumetria_fiscal. The CFOP grouping/filtering implied by the name is never confirmed or explained.

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, when-not-to-use, or alternative-routing information at all. With close siblings covering detailed entries and exits, an agent has no basis to choose this tool. The only usable signal comes from the tool name, not the description.

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