Skip to main content
Glama

List Credit Ledger

beatra.wallet.ledger
Read-onlyIdempotent

List this account's credit ledger newest first: charges, refunds, top-ups, and expiry. This call is read-only and does not charge. Page with the returned next_cursor. Ledger amounts are not a price estimate; use beatra.models.list before comparing models or quoting a generation.

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": "beatra.wallet.ledger"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo

Output Schema

NameRequiredDescriptionDefault
errorNo
itemsNo
next_cursorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false; the description reinforces this with the domain-specific reassurance that the call "does not charge," which matters for a billing-adjacent tool. It also discloses the pagination mechanism (returned next_cursor) and the account scoping. Return-format details are unnecessary because an output schema exists.

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 tight sentences: scope and ordering first, then safety and paging, then the pricing caveat. Every sentence carries distinct information and there is no filler.

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 two-parameter, non-destructive list tool, the description covers what the tool returns conceptually, how to paginate, and the most likely misuse (treating ledger amounts as prices). Annotations cover safety and an output schema covers return structure, so no material gap remains.

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 0%, so the description must carry parameter meaning. It explains cursor semantics indirectly by stating the page token is the returned next_cursor, which is genuinely useful. However, the limit parameter's role, default, and 1-50 bounds are left entirely to the schema, so compensation is only partial.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("List this account's credit ledger") plus the exact contents covered (charges, refunds, top-ups, expiry) and the ordering (newest first). An agent can tell this is a read-only transaction history for the current account, distinct from a balance lookup or a pricing catalog.

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?

Explicitly names the alternative for pricing work and the condition that selects it: "Ledger amounts are not a price estimate; use beatra.models.list before comparing models or quoting a generation." It also tells the agent to page with the returned next_cursor. It stops short of contrasting with beatra.wallet.get (current balance vs. history), which would have made the routing complete.

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