Skip to main content
Glama

List credit transactions

list_credit_transactions
Read-onlyIdempotent

List AI credit ledger entries for the current tenant.

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_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows (default 20, max 200)
offsetNoPagination offset (default 0)
statusNoFilter by status
tx_typeNoFilter by tx_type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered elsewhere. The description adds only the tenant-scoping fact (entries are implicitly limited to the current tenant), which is genuinely useful context but thin; it says nothing about ordering, default page size behavior, or whether results are complete or paginated.

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?

A single front-loaded sentence with no wasted words; the resource and scope appear immediately. It is arguably too terse, but nothing in it is padding or restatement of the title beyond what is necessary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 full schema coverage, complete annotations, and no output schema, this is minimally sufficient. It is missing filtering semantics (what status/tx_type values are meaningful) and any note on result ordering or pagination expectations, which an agent would need to use it confidently.

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%, so all four parameters (limit, offset, status, tx_type) are already documented in the schema, and the description adds no further detail such as valid status or tx_type values. Baseline 3 applies since the schema carries the parameter burden.

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 ("List AI credit ledger entries") with tenant scoping, which distinguishes it from the generic list_transactions sibling by domain (AI credits vs. general transactions). It does not explicitly name or rule out any alternative, so the differentiation is implied rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, and no indication of when an agent should prefer list_transactions or another ledger tool instead. The reader must infer that this is the AI-credit-specific variant purely from the noun phrase.

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