Skip to main content
Glama

get_credit_ledger

Read-onlyIdempotent

Movimientos de créditos de la cuenta (recargas del plan, reservas, cobros por artículo, devoluciones y caducidades), del más reciente al más antiguo. from/to en YYYY-MM-DD.

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

Input Schema

NameRequiredDescriptionDefault
toNoFecha final, YYYY-MM-DD.
fromNoFecha inicial, YYYY-MM-DD.
pageNoPágina de resultados, desde 1.
limitNoResultados por página (máximo 50).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / from / description
      Added value: +"Fecha inicial, YYYY-MM-DD."
    • addedInput schema / properties / limit / description
      Added value: +"Resultados por página (máximo 50)."
    • addedInput schema / properties / page / description
      Added value: +"Página de resultados, desde 1."
    • addedInput schema / properties / to / description
      Added value: +"Fecha final, YYYY-MM-DD."
  2. First observed

TDQS

A3.5/5.0
Behavior3/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 facts — results are ordered newest-to-oldest and the ledger spans five categories of entries — which an agent cannot infer from annotations. It does not disclose pagination defaults, total counts, or what fields a ledger entry exposes.

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?

Two compact sentences with the core content front-loaded and the format note placed last; there is no filler. The second sentence is partly redundant with the schema, which keeps it from a 5.

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 read-only, zero-required-parameter list tool with full schema coverage and no output schema, the description supplies what matters: what the entries are, their ordering, and the date format. Only the shape of a returned entry and paging behavior are left unstated, which is a minor gap.

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 description coverage is 100%, with each of the four parameters already documented in the schema, including the max-50 limit and max page. The description restates only the YYYY-MM-DD format for from/to, which the schema already specifies, and adds nothing about page/limit behavior. Baseline 3 is correct.

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 names a specific resource (account credit movements) and enumerates the entry types it returns — plan recharges, reservations, per-article charges, refunds and expirations — so an agent knows exactly what data comes back. It lacks an explicit verb such as 'list', but the resource is unambiguous and no sibling covers the same territory.

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 implied: consult this when you need the account's credit history, optionally bounded by date. There is no explicit when-not guidance, no mention of when to prefer get_account or get_stats over this tool, and no statement about defaults when from/to are omitted.

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