Skip to main content
Glama

List credit ledger

list_credit_ledger
Read-only

List your tenant's credit ledger (every top-up/deduction/adjustment).

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

Input Schema

NameRequiredDescriptionDefault
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, destructiveHint=false, and openWorldHint=false, so safety, side effects, and tenant locality are covered. The description adds that this returns a record of individual ledger entries, but says nothing about ordering, time range, or how many entries are returned when limit is omitted.

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?

One short sentence, front-loaded with the resource and followed by the content qualifier. Nothing is redundant, though the whole definition is arguably too short to earn full marks.

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 simple read-only list tool with one optional parameter and no output schema, the description plus annotations cover what it returns and that it is safe. The main omission is any hint about result size or default behavior around limit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The only parameter is an undocumented limit at 0% schema description coverage, and the description never mentions it. An agent cannot tell from either source whether limit is a page size, a maximum row count, or whether results are truncated by default.

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 (List) and resource (tenant credit ledger), then clarifies the content as every top-up, deduction, and adjustment. That content scoping distinguishes it from get_credit_balance, which would return a current total rather than history.

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?

The parenthetical about ledger entries implies this is for reviewing transaction history rather than a balance snapshot, which gives some usage signal. However, no sibling is named and there is no explicit when-to-use versus get_credit_balance or list_credit_topup_packages.

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