Skip to main content
Glama

Arquivix Notas · NFS-e

service_favorite_create

Save a favorite for a company so it can be reused on later invoices. A service (default kind, up to 50 per company) needs label, description and service_code. With kind "product" (up to 500; the same description updates the saved one) send description, ncm and unit_price, and optionally code, gtin, cest, cfop, unit, csosn and origin. Arquivix Notas only estimates the taxes: the person informs NCM and, when needed, CFOP and CSOSN.

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": {
      "company_id": "<company_id>",
      "description": "<description>"
    },
    "name": "service_favorite_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
ncmNoProduct: NCM, 8 digits
cestNoProduct: CEST, 7 digits
cfopNoProduct: default CFOP
codeNoProduct: your code
gtinNoProduct: barcode
kindNoDefault service
unitNoProduct: unit, default UN
csosnNoProduct: 102, 101, 400 or 500
labelNoShort name (service only)
originNoProduct: origin, 0 to 8
company_idYesUUID of the company
unit_priceNoProduct: price of one unit in reais
descriptionYesService description printed on the invoice
amount_centsNoDefault amount in cents (R$ 150,00 = 15000), optional
service_codeNoNational service code (cTribNac), 6 digits
municipality_codeNoIBGE place of service (7 digits), optional

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent and closed-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the 50/500 per-company caps and the upsert-by-description rule for products. However, the tax caveat ("Arquivix Notas only estimates the taxes") is domain context rather than tool behavior, and the upsert rule sits in mild tension with idempotentHint=false without being explained.

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 sentences, front-loaded with the purpose, then the service case, then the product case and the tax caveat. Dense but each sentence carries field-level rules that an agent needs; the final tax sentence is the weakest, being domain background rather than invocation guidance.

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 16-parameter creation tool with full schema descriptions and no output schema, the description supplies exactly what the schema cannot: conditional required fields per kind, capacity limits, and the duplicate/update rule. Nothing critical for a correct call appears to be missing.

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

Parameters4/5

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

Schema coverage is already 100% for 16 parameters, so the baseline is met by the schema alone. The description goes further by grouping parameters into per-kind requirement sets — which fields are mandatory for service versus product and which are optional — information the flat schema does not express. It does not clarify cross-field constraints such as whether service_code or municipality_code are ignored for products.

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 states a specific verb and resource — save a reusable favorite for a company so it can be reused on later invoices — and immediately splits the two shapes it can take (service vs product) with their capacity limits. It does not name or route away from any sibling (e.g. service_favorite_list/delete), so it falls 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 gives concrete selection guidance between the two modes: default kind is service (needs label, description, service_code, up to 50), while kind "product" needs description, ncm and unit_price (up to 500), with an optional tail of fields. It also flags that repeating the same description updates the saved product rather than creating a duplicate. It does not say when not to use this tool or point to alternatives.

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