Skip to main content
Glama

Read one credit bank in detail

credits_bank_get
Read-onlyIdempotent

Read one person’s single credit bank in the active group by bank ID, taken from credits.balances.list. Returns the current total, the bank status, whether credit use has been revoked and when, the rollover rule, the renewal rows, the per-session caps with how many of each are used and which session each cap belongs to, and the expiration rows with the date each batch runs out, how many are left and how many were originally granted. Those expiry dates are worked out at read time from the product's own settings, its rollover rule plus either a fixed date, a number of days after purchase, or the end of the current subscription cycle, and are not stored against this person. There is no per client expiry anywhere in the product, so a date here cannot be changed for one client and nothing in this connection can change it; changing when credits expire means changing the product, which affects everybody who owns it and is done in the admin. 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. A bank ID that belongs to another person or another group simply does not resolve. 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>",
      "bankId": "<bankId>"
    },
    "name": "credits_bank_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
bankIdYesID of one credit bank, from credits.balances.list; a bank of another person or group does not resolve.
profileIdYesProfile ID of the person who holds the bank.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / bankId / description
      Added value: +"ID of one credit bank, from credits.balances.list; a bank of another person or group does not resolve."
    • addedInput schema / properties / profileId / description
      Added value: +"Profile ID of the person who holds the bank."
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, yet the description adds real context beyond them: expiry dates are computed at read time from product settings rather than stored, no per-client expiry exists anywhere, changing expiry is an admin/product-level change, and the server pins this connection to read-only with no renewal or expiry side effects. It goes further by flagging the executing group and role and warning that returned customer strings are business-entered data.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and the sourced ID are front-loaded, which is good, but the middle section repeats the same point several times: expiry is not stored, cannot be changed per client, cannot be changed via this connection, and requires an admin change affecting all owners. 'This read never grants, spends or expires credits' also restates the earlier no-side-effects sentence, so the text could be tightened considerably.

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?

There is no output schema, and the description compensates by enumerating the returned fields: total, status, revocation state, rollover rule, renewal rows, per-session caps with usage counts and session mapping, and expiration rows with dates, remaining and original amounts. Combined with the sourcing rule for bankId and the identity/scope constraints, an agent has everything needed to call it correctly.

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 both parameters are already documented, and the description largely restates the same facts (bankId from credits.balances.list, out-of-scope banks not resolving). It adds only marginal meaning, such as tying the bank to the person identified by profileId, so the 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: read a single person's credit bank in the active group, keyed by bank ID drawn from credits.balances.list. It also names the holder dimension (profileId) and the scope (active group), which lets an agent distinguish it from credits_balances_list without opening either schema.

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?

It explicitly tells the agent where the required bankId comes from (credits.balances.list) and what happens when the ID is out of scope: a bank of another person or group simply does not resolve. It also rules out mutation intent ('never grants, spends or expires credits'), but it does not directly say when to prefer this over a sibling list call beyond sourcing the ID.

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