Skip to main content
Glama

Arquivix Notas · NFS-e

certificate_upload

DestructiveIdempotent

Upload the A1 digital certificate (.pfx/.p12, base64) and its password for a company that already exists in the connected environment. Arquivix Notas stores both encrypted and never returns them. Replaces the company's previous certificate. Needs the optional certificate permission granted when connecting.

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>",
      "pfx_base64": "<pfx_base64>",
      "password": "<password>"
    },
    "name": "certificate_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
tax_idYesCNPJ of the company.
passwordYesPassword of the certificate file.
pfx_base64YesThe .pfx/.p12 file encoded in base64 (up to 50 KB decoded). A data:...;base64, prefix and line breaks are accepted.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=true and openWorldHint=false, so the mutation profile is covered. The description adds real value beyond that: secrets are stored encrypted and never returned, and the upload replaces the previous certificate — matching the destructiveHint rather than contradicting it. It does not describe error behavior (invalid or expired certificate) or response shape, so a 3 is appropriate with annotations carrying the safety profile.

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?

Four short sentences, front-loaded with the action and scope, then secrets handling, then replacement semantics, then the permission prerequisite. Nothing is repeated from the schema and no sentence is filler.

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 three-parameter mutation with no output schema, it covers the critical unknowns: precondition, auth scope, secret retention and replacement of prior data. Minor gaps remain around failure modes and whether tax_id must match the connected company's CNPJ.

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%: tax_id (CNPJ), password and pfx_base64 (with 50 KB limit and data-prefix/line-break tolerance) are all documented in the schema. The description only restates format hints already present, so baseline 3 applies.

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?

Speaks a specific verb (upload) and resource (A1 digital certificate, .pfx/.p12 base64 plus password) and scopes it to a company that already exists in the connected environment. No sibling covers certificates, so the agent can place this tool immediately without confusion.

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?

Gives both the precondition (company already exists in the connected environment, implying company_create/company_get first) and the permission prerequisite (optional certificate permission granted at connect time). It stops short of explicit when-not guidance or a named alternative for certificate renewal, which keeps it from a 5.

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