Skip to main content
Glama
MCP e-Kontroll

MCP e-Kontroll

by ToniMigliato

Consultar estrutura da DRE

consultar_estrutura_dre
Read-only

Retrieve the DRE (income statement) structure from accounting data to identify available report lines and how they are organized.

Instructions

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

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.2/5.0
Behavior2/5

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

Annotations already establish that this is a safe, closed-world read (readOnlyHint=true, openWorldHint=false), so the description need carry less. But it adds nothing beyond them — no hint about what 'defined in code' implies for output shape, filtering, or scope, which is precisely the kind of context this sentence gestures at without delivering.

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

Conciseness3/5

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

It is a single short sentence with no padding, so nothing is wasted. However, brevity is achieved by removing substance rather than by front-loading useful detail, leaving the one sentence low in information.

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 values need not be described, and the tool is trivially callable with zero parameters. Even so, an agent cannot tell what this consulta covers or when it is the right pick versus the many sibling 'consultar_*' tools, which is the minimum this description should supply.

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?

The tool takes zero parameters (schema coverage 100%, empty properties), so there is no parameter meaning for the description to convey. Baseline 4 applies; the description neither helps nor harms here.

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 it is a 'consulta fechada' (closed query) whose method, parameters and output are 'definidos em código'. It never states what the DRE structure actually is or what the tool returns, so it essentially restates the name/title rather than explaining the operation.

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 guidance on when to use this tool, when not to, or how it relates to any sibling (e.g. consultar_balancete, consultar_plano_de_contas). An agent is left to guess entirely from the name.

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