Skip to main content
Glama

Arquivix Notas · NFS-e

customer_update

Idempotent

Correct the name, email, NF-e address or state registration (IE) of a saved customer. Applies to the next invoices only; invoices already issued do not change. Send a field as null to remove it. An NF-e for a saved customer is filled from this address and IE.

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>"
    },
    "name": "customer_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNome ou razão social do cliente.
emailNoE-mail do cliente; null apaga.
tax_idYesCPF or CNPJ of the saved customer, with or without punctuation
addressNoRecipient address for NF-e; null removes it
ind_ie_destNo1 contributor, 2 exempt, 9 non-contributor
state_registrationNoInscrição estadual, só dígitos; null apaga.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false. The description adds genuinely useful behavior beyond that: the effect is limited to future invoices, null clears fields, and the NF-e address and IE feed the next NF-e emission. It does not clarify what happens to invoices already issued beyond saying they are unaffected, or whether partial versus full replacement occurs, leaving some mutational detail unstated.

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: the update scope first, the downstream effect second, and the null convention last. No filler, and the most decision-relevant information is front-loaded.

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 six-parameter update tool with full schema coverage and no output schema, the description covers scope, side effects, and clearing semantics well. The only notable omission is any statement about authorization or what the response contains, though the schema and annotations carry most of that burden.

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 documents each parameter, including null semantics for email, address, complement, and state_registration. The description reinforces the null-clearing convention at a general level but adds no field-level detail beyond what the schema provides, so the baseline 3 applies.

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 ("Correct") and names the exact fields affected: name, email, NF-e address, and state registration. It is clearly a customer-record mutation and implicitly distinct from customer_delete and customer_list, though it does not name a sibling explicitly.

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 explains the operational scope ("Applies to the next invoices only; invoices already issued do not change") and how to clear a value ("Send a field as null to remove it"), which directly guides invocation. It does not state when to prefer a different tool or when not to use this one, so it stops short of full routing guidance.

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