Skip to main content
Glama
nikolasdehor

mcp-fiscal-brasil

by nikolasdehor

summarize_sped

Summarize a Brazilian SPED fiscal file (Fiscal, Contribuições, ECF, ECD) by extracting its type, period, company, record count, and block structure from a local .txt file.

Instructions

Sumarizacao executiva de um arquivo SPED (Fiscal, Contribuicoes, ECF ou ECD). Identifica tipo, extrai período, empresa, total de registros, blocos e produz resumo em pt-BR. Recebe caminho de arquivo .txt local.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool reads a local .txt file and produces a summary, but does not mention side effects, destructive actions, permissions, error handling, or performance characteristics. It appears read-only but this is not explicitly stated.

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 (two sentences), front-loading the main purpose. Every sentence adds necessary information: what the tool does and the input format. No redundant phrases.

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

Completeness3/5

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

Given the existence of an output schema (not shown), the return values are covered. However, the description lacks distinction from similar sibling tools (e.g., analisar_sped) and does not explain how the summary differs from a full analysis. The file path requirement is clear, but other context like file size limits or encoding is absent.

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?

There is only one parameter 'file_path' with no schema description (0% coverage). The description adds value by specifying the expected format: 'Recebe caminho de arquivo .txt local.' This tells the agent the file must be local and .txt, which is not evident from the schema alone.

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 function: executive summarization of SPED files (Fiscal, Contribuicoes, ECF, ECD). It specifies what it does (identifies type, extracts period, company, total records, blocks, produces summary in pt-BR) and the input format (local .txt file). This is specific and distinguishes it from generic file readers.

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 summarizing SPED files, but does not explicitly state when to use this tool over siblings like analisar_sped or listar_registros_sped. No when-not-to-use or alternative conditions are given. The user must infer based on the verb 'summarize' vs 'analyze' or 'list'.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nikolasdehor/mcp-fiscal-brasil'

If you have feedback or need assistance with the MCP directory API, please join our Discord server