Skip to main content
Glama

Consultar el saldo de créditos

consultar_saldo
Read-onlyIdempotent

Devuelve los créditos que le quedan a la API key actual, sus últimos movimientos (con la API de la suite donde ocurrieron) y una URL para recargar. El saldo es el mismo en AR Tools, Índices AR y Direcciones AR. Sin costo.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context: the call is free of charge, the balance is shared across three product suites, and the response includes movement history attributed to a specific suite API plus a recharge link.

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 short sentences, front-loaded with the return value, then the cross-suite scoping fact, then the cost note. Nothing is repeated from the title and no sentence is filler.

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 correctly carries the burden of describing return contents (credits, movements, recharge URL), and with zero parameters there is no input surface to cover. Minor gaps remain: how many movements are returned and whether history is paginated or time-bounded is unstated.

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 takes zero parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. Implicitly, the description clarifies that the key is taken from the current session ('la API key actual'), which explains why no key argument exists.

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 verb and resource (returns remaining credits for the current API key) and enumerates exactly what comes back: recent movements tagged with the suite API where they occurred, plus a recharge URL. It does not distinguish itself by name from siblings such as comprar_creditos, but the scope is unambiguous.

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?

Usage is only implied: 'Sin costo' signals it is free to call, and the note that the balance is identical across AR Tools, Índices AR and Direcciones AR tells the agent one call covers all three suites. There is no explicit when-to-use vs. when-not guidance, and it never points to comprar_creditos as the counterpart for actually buying credits.

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