Skip to main content
Glama

cigam_relatorio

Read-onlyIdempotent

Gera um relatório do CIGAM (operação LENTA, ~2 min, produz um arquivo Excel). Espera inline até aguardar_segundos; se não ficar pronto, retorna um job_id (busque depois com cigam_job, sem ficar repetindo). Retorna arquivo_url (link temporário do Excel). Ex. de report_id: REL_201 (Vendas por Período), REL_610 (posição atual de estoque).

Bulk support: accepts report_ids for batched execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNo
filtrosNo
report_idYes
report_idsNo
aguardar_segundosNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, the description discloses critical behavior: the operation is slow (~2 min), it returns a temporary 'arquivo_url', it may return a 'job_id' if not ready, and it supports batch mode. This adds significant operational transparency that annotations alone do not provide.

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

Conciseness5/5

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

The description is concise and well-structured: three dense sentences convey purpose, async behavior, return values, examples, and bulk support. No redundant or filler content is present.

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

Completeness4/5

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

The description is strong for an async, no-output-schema tool: it covers wait behavior, job fallback, return URL, examples, and batch mode. It falls slightly short by not specifying the exact response shape/status details or the semantics of 'account' and 'filtros', but overall it is sufficiently actionable.

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?

With 0% schema description coverage, the description compensates well by explaining 'report_id' with concrete examples, 'aguardar_segundos' as the inline wait period, and 'report_ids' as batch input. However, it does not add semantics for 'account' or 'filtros', so the compensation is not complete.

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

Purpose5/5

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

The description clearly states the tool's purpose: 'Gera um relatório do CIGAM' and distinguishes it from siblings by emphasizing it is slow, produces an Excel file, and may return a job_id for later polling. It also gives concrete report_id examples, making the resource and scope unmistakable.

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

Usage Guidelines5/5

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

The description gives explicit guidance on when to wait inline via 'aguardar_segundos' and when to poll later using 'cigam_job' instead of repeatedly retrying. It also documents the bulk usage path with 'report_ids', providing clear when-to-use and when-to-use-alternative context.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.