Skip to main content
Glama

Arquivix Notas · NFS-e

nfse_get_package_url

Read-onlyIdempotent

Generate a temporary download link for the month package of one company: a ZIP with the XML and PDF of every authorized or cancelled NFS-e whose competence is in the month, plus resumo.csv for the accountant. The link opens without login and expires in 7 days. Fails when the month has no notes or more than 500.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tax_id": "<tax_id>",
      "month": "<month>"
    },
    "name": "nfse_get_package_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
monthYesCompetence month, YYYY-MM
tax_idYesCNPJ of the company (punctuation optional)

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?

Goes well beyond the readOnly/idempotent annotations by disclosing that the link requires no login, expires after 7 days, and that generation fails when the month is empty or exceeds 500 notes. Those are exactly the operational traits an agent needs before planning a retry or handing the URL to a user.

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 tightly packed sentences: deliverable first, contents and access model second, failure conditions last. Every clause carries information and there is no filler.

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

Completeness5/5

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

For a two-parameter, non-destructive link generator with no output schema, the description covers the artifact produced, its packaging, auth-free access, lifetime, and error conditions. Nothing material is missing for a correct call.

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% and the schema already documents both month (YYYY-MM) and tax_id (CNPJ, punctuation optional). The description only echoes the month-scoping concept via 'competence is in the month' and adds no format or edge-case detail for the parameters themselves, so it sits at the baseline.

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?

States a specific verb and resource: generate a temporary download link for a company's month package, and enumerates the contents (XML+PDF of authorized or cancelled NFS-e plus resumo.csv). The 'month package / one company' scope implicitly separates it from single-document siblings, but the description never names nfse_get_download_url, leaving the distinction to inference.

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 purpose clearly implies bulk monthly retrieval and the description states two hard preconditions (month must have notes, at most 500), which is real usage guidance. However, it never says when to prefer this over a single-document download tool, so the agent must infer the alternative from sibling names.

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