Skip to main content
Glama

summarize_sped

Summarize a Brazilian SPED file by identifying its type, extracting period, company, record totals, and blocks, producing a concise executive summary in Portuguese.

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

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.5.1

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the full transparency burden. The description does not explicitly state side effects or permissions, but the operation (reading a file and summarizing) is implicitly read-only. It could be more explicit about not modifying the file or requiring special access.

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 single, concise sentence in Portuguese, covering the main functionality and input requirement without unnecessary detail. It is well-structured and easy to parse.

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 lists the elements that will be extracted (type, period, company, total records, blocks) and states it produces a summary in pt-BR, giving the agent a reasonable expectation of the output contents. It does not specify the output format or structure, but this is acceptable given the lack of an output schema.

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 description explains that file_path is a local .txt file path, which adds meaning beyond the bare schema type string. It specifies the file extension and location, giving the agent clear guidance on the expected input format.

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: it produces an executive summary of a SPED file, identifying the type (Fiscal, Contribuições, ECF, or ECD) and extracting period, company, total records, and blocks. This distinguishes it from siblings like analisar_sped (deep analysis) and listar_registros_sped (listing records).

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 when to use the tool (for a summary) but does not explicitly differentiate it from similar tools like analisar_sped or listar_registros_sped. It mentions the input format but gives no direct guidance on alternative scenarios, leaving some ambiguity for the agent.

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

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/AgileConecta/RTC-MCP_FISCAL'

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