Skip to main content
Glama

cigam_devolucoes

Read-onlyIdempotent

Devoluções de uma loja por período (notas fiscais com movimento de devolução, entrada e saída). Retorna as NFs + resumo com quantidade e valor total.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lojaYes
pageNo
limitNo
accountNo
data_finalNo
data_inicialNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, and non-destructive behavior. The description adds useful context about the output structure (NFs + summary with quantity and total value) and clarifies the scope (store and period). No contradictions with annotations.

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 a concise two-sentence overview that immediately states the main purpose and output. No fluff or redundancy.

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?

For a tool with 6 parameters, no output schema, and zero parameter descriptions, the description is too sparse. It lacks details on parameter semantics, pagination, account usage, and a more explicit explanation of the returned data, making it incomplete for an agent to use effectively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description must compensate for parameter meanings. It only implicitly covers 'loja' and date range, but leaves page, limit, account, and date format unexplained. It adds minimal value beyond parameter names.

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 retrieves 'returns of a store per period' (invoices with return movements) and specifies the output includes NFs plus a summary. This clearly distinguishes it from sibling tools like cigam_vendas (sales) or cigam_compras (purchases).

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?

The description implies usage for return-related queries but provides no explicit guidance on when to use this tool versus alternatives, nor does it list exclusions. The domain is inferable from the name and description, but no direct comparison is given.

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.