Skip to main content
Glama

Arquivix Notas · NFS-e

accountant_package_send

Destructive

Sends the month package (ZIP with XML, PDF and resumo.csv of the notes of the month) to the accountant email saved on the company. Without confirm: true nothing is sent: it returns a preview with the month, the recipient email and the note count. With confirm: true it sends. Sends in the live environment only; the month defaults to the previous one.

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

Input Schema

NameRequiredDescriptionDefault
monthNoCompetence month, YYYY-MM. Defaults to the previous month.
tax_idNoCNPJ of the company (punctuation optional).
confirmNoMust be true to really send. Without it only a preview.
company_idNoUUID of the company. Either this or tax_id.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, openWorldHint=true, idempotentHint=false), the description discloses the dry-run contract, the exact preview payload (month, recipient email, note count), and the fact that the recipient is the accountant email persisted on the company rather than a caller-supplied value. These are material behaviors an agent cannot infer from the structured fields.

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?

Three tight sentences, front-loaded with the action and payload, then the confirm gate, then environmental and default caveats. Nothing is padding and the preview branch is described before the send branch, matching the safest call order.

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?

For a destructive, non-idempotent send with no output schema, the definition covers the payload, the preview return shape, and the environment restriction. It omits what a successful send returns and does not warn about duplicate sends on repeated invocation, a real risk given idempotentHint=false.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already defines month, tax_id, confirm and company_id, and the description mostly restates them (month defaulting to the previous one, confirm gating the send). The one genuinely additive item is that the recipient comes from the saved company email, which has no corresponding parameter. Baseline 3 is appropriate.

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

Purpose4/5

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

The description gives a specific verb and resource ('Sends the month package') and enumerates the payload ('ZIP with XML, PDF and resumo.csv of the notes of the month'), so an agent knows exactly what is being transmitted. It does not name the sibling nfse_get_package_url, which is the most plausible confusion point for an agent that just wants the package, so it stops short of full sibling differentiation.

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

Usage Guidelines4/5

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

It clearly states the when/when-not split: 'Without confirm: true nothing is sent' versus 'With confirm: true it sends', and adds an environment constraint ('Sends in the live environment only'). It does not name alternatives (e.g., the URL-retrieval sibling) or state what to do in sandbox, leaving the exclusions implied rather than explicit.

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.

Resources