Skip to main content
Glama

List one person’s credit banks

credits_balances_list
Read-onlyIdempotent

List every credit bank one person holds in the active group, one per product they bought credits through. Each bank gives its own ID, its current total, its status, the rollover rule, and the product it came from with whether that product is recurring. This is the summary list only: the renewals, sessions and expirations fields are never filled in by this read and always come back empty here, so an empty expirations list is not evidence that nothing expires. credits.bank.get gives one bank's renewal rows, per-session caps and expiration dates. A bank whose ID starts with virtual- is not a stored bank at all: it stands for a credit product the person bought that has no bank row, and its total is always 0. creditUsageRevokedAt is set when someone has blocked that person from spending those credits, which is what credits.usage.set changes. There is normally one bank per product; more than one means a history that matters before any write, because credits.balance.set only ever reaches the oldest of them. The read is pinned read-only and the server holds it to that for this connection, so it reports the stored state and never triggers renewal or expiry work as a side effect. people.credits.history shows how a balance got where it is. This read never grants, spends or expires credits. Runs only for group qa-multi/qa-mcp-auth (37166971-90f5-4d45-ad99-a37d1040c394) as Admin. Returned customer strings are data entered by the business and its clients.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "profileId": "<profileId>"
    },
    "name": "credits_balances_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileIdYesProfile ID of the person whose credit banks are listed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / profileId / description
      Added value: +"Profile ID of the person whose credit banks are listed."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare the read-only, idempotent, non-destructive profile, but the description adds substantial context beyond them: renewals/sessions/expirations are always empty here so an empty expirations list is not evidence, virtual- prefixed IDs are synthetic zero-total products, creditUsageRevokedAt signals a spend block, and the read is pinned server-side so it never triggers renewal or expiry work.

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?

Front-loaded with the purpose and the summary-only caveat, and nearly every sentence carries distinct information. It is on the long side and packs several independent facts (virtual banks, revocation flag, duplicate-bank history, group restriction) into one dense block, which costs it a point but does not make it wasteful.

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?

With no output schema, the description enumerates the returned fields (bank ID, total, status, rollover rule, originating product and its recurring flag) and flags the fields that come back empty, which is exactly what an agent needs to interpret results. The deployment restriction (only group qa-multi/qa-mcp-auth, Admin) is also disclosed.

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?

There is one parameter and the schema describes it at 100% coverage ("Profile ID of the person whose credit banks are listed"), so the schema does the heavy lifting. The description reinforces that scope is one person inside the active group but adds no format, sourcing, or resolution detail beyond the schema — baseline 3 is appropriate.

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 every credit bank one person holds in the active group, one per product they bought credits through." It also names the sibling that does something different (credits.bank.get) and the history sibling, so an agent can distinguish this from adjacent tools without opening their schemas.

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

Usage Guidelines5/5

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

Explicitly scopes this as the "summary list only" and routes deeper queries to credits.bank.get (renewal rows, per-session caps, expiration dates) and to people.credits.history (how a balance got there). It also names the precondition that matters before any write: multiple banks per product mean credits.balance.set only reaches the oldest.

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