Skip to main content
Glama

Arquivix Notas · NFS-e

customer_delete

DestructiveIdempotent

Forget a saved customer. Invoices already issued do not change; the name is no longer filled in for that CPF/CNPJ. Without confirm: true it changes nothing and returns a preview; with confirm: true it runs.

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_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
tax_idYesCPF or CNPJ of the saved customer, with or without punctuation
confirmNotrue runs the action. Without it nothing changes and only a preview is returned.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds real context beyond that: already-issued invoices are unaffected, the name simply stops being filled for that tax_id, and calls without confirm are a no-op preview. It stops short of saying whether the record can be restored or what permissions are needed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the effect on existing invoices before the confirm mechanics, with no filler. The final sentence largely duplicates the confirm parameter's schema description, which is mild redundancy rather than noise.

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 two-parameter destructive tool with no output schema, the description covers the consequence of the action and the dry-run gate, which is what an agent most needs to call it safely. Remaining gaps, such as preview return contents and recoverability, are secondary given the annotation coverage.

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 both tax_id and confirm are already documented in the schema with the same CPF/CNPJ and preview semantics. The description restates those meanings rather than adding new ones such as accepted formats or whether a missing confirm returns an error versus a preview payload. Baseline 3 applies when the schema carries the load.

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?

"Forget a saved customer" identifies the resource (saved customer record) and the operation (removal), and the CPF/CNPJ detail makes clear it is the stored customer entity, not an invoice or service favorite. The verb "forget" is softer than "delete" and requires a beat of interpretation, but the scope is unambiguous enough to separate it from customer_update or customer_list.

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 makes the two-step call pattern clear (preview by default, real deletion with confirm: true), which is genuine invocation guidance. It does not state when an agent should prefer this over alternatives such as customer_update or when deletion is inappropriate, so usage is implied rather than framed.

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