Skip to main content
Glama

Arquivix Notas · NFS-e

credits_balance

Read-onlyIdempotent

Credit balance of the workspace (notes left in the plan plus avulso notes) and, optionally, the recent credit history. It answers questions such as "quantas notas ainda posso emitir?" or "onde foram meus créditos?". With include_history=true it also returns the latest credit transactions, paginated with limit and cursor.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "credits_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoItens do histórico por página, de 1 a 100.
cursorNoPagination cursor from previous response
include_historyNoAlso return recent credit transactions.

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?

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds that history is optional and paginated via limit and cursor, which is useful, but nothing about ordering, how much history is retained, or whether balance and history are computed from the same snapshot.

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 resource definition before the optional history behavior. The two quoted Portuguese example questions are slightly verbose but serve a real purpose in matching user phrasing, so almost every sentence earns its place.

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?

With no output schema, the description does the necessary work of describing what comes back: a balance plus optionally recent credit transactions. It is adequate for a simple three-parameter read, though it omits any hint about how paging ends or what the history entries contain.

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 100%, so the baseline is 3; the description earns an extra point by explaining the interaction between include_history, limit and cursor ('paginated with limit and cursor'), which tells the agent that limit/cursor only matter when history is requested. It still leaves the meaning of an empty cursor response implicit.

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 resource and defines it precisely: 'Credit balance of the workspace (notes left in the plan plus avulso notes)'. The parenthetical removes ambiguity about what a credit is, but the description never contrasts itself with the sibling credits_purchase, so sibling differentiation is left to inference from the name.

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?

Concrete use cases are given in the form of the questions it answers ('quantas notas ainda posso emitir?', 'onde foram meus créditos?'), and the condition for turning on history is spelled out ('With include_history=true it also returns...'). No exclusions or named alternatives are offered, so it stops short of full when/when-not 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