Skip to main content
Glama

Saldo da conta

saldo

Saldo da conta em créditos (1 crédito = R$ 1) e quanto ele ainda rende. creditos traz plano (créditos do plano que restam no ciclo), extras (créditos extras, não vencem), guardados (créditos do plano que sobraram quando o plano venceu; voltam ao assinar um plano) e disponivel (plano + extras). consultas_restantes (IE, CNPJ, certidões) e notas_restantes (XML de NF-e) dividem o mesmo saldo. notas_restantes conta o XML com certificado; no Enterprise o XML sem certificado custa o dobro. Usa a chave da FiscalAPI e não consome consulta.

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": "saldo"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden well: it discloses that the call uses the FiscalAPI key, does not consume a query, explains non-expiring extras, rollover guardados, shared balance between consultations and NF-e XML, and Enterprise double-cost rules. It does not explicitly label the operation as read-only or state rate limits, but the financial semantics are unusually well covered.

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?

The description is dense but front-loads the core meaning (balance in credits and remaining yield) and then explains each credit category. Every sentence contributes business semantics, though the field-by-field breakdown makes it longer than a typical balance tool description.

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?

An output schema exists, so return values need not be explained, but the description still adds useful meaning for the credit fields. For a zero-parameter read tool, this is complete enough: an agent can understand what it checks, what it costs, and how the balances relate.

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?

The tool has zero parameters, so the baseline is 4. The description adds no parameter meaning because none is needed, and the schema already covers the empty input object completely.

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 the specific resource clearly: account balance in credits (1 credit = R$ 1) and what remains from it. It implicitly differentiates from the consultar_* siblings by noting it does not consume a query, but it does not name or explicitly compare with any sibling.

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?

Implied usage is clear: use it to check available credits before consuming consultations, and it clarifies that consultas_restantes and notas_restantes share the same balance. It does not explicitly say when to use it versus alternatives, nor when not to use it.

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.