Skip to main content
Glama

Read one person’s credit history

people_credits_history
Read-onlyIdempotent

Read one page of the credit ledger for one person in the active group, newest first. Direction is carried by action, not by the sign of amount: amounts are recorded as positive sizes, so a row is not a grant just because its amount is above zero. An action of + or renew added credits, a - or booking spent them, expire took them away at the end of a window or cycle, refund returned them, archive removed what was left when the person's entitlement to that product was archived, and admin is a manual change made by a member of staff. An admin row is a manual change by staff, and balanceSet says which kind: with balanceSet true its amount is the NEW TOTAL the balance was set to, not the size of the change, so it is not an amount to add to anything; with balanceSet false staff awarded that many credits through a manual purchase, so they were added. balanceSet is false on every other action. Each row also carries whichever of the product, booking session or automation the change came from. page starts at 1 and this connection cannot ask for a larger page; more rows are on the next page. This is the movement history, not the current balance: credits.balances.list gives the per product banks and people.credits.legacy_total the older stored total. This read never grants, spends or refunds 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>",
      "page": "<page>"
    },
    "name": "people_credits_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYesPage number from 1 to 200; rows run newest first.
profileIdYesProfile ID of the person whose credit ledger is read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / page / description
      Added value: +"Page number from 1 to 200; rows run newest first."
    • addedInput schema / properties / profileId / description
      Added value: +"Profile ID of the person whose credit ledger is read."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive, and the description adds real context on top: that amounts are stored as positive sizes so sign does not carry direction, what each action means, that balanceSet=true means a new total rather than a delta, and that the call never grants, spends or refunds. It stops short of describing ordering guarantees beyond 'newest first' or what an empty page looks like.

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 core purpose and the ledger semantics, and the alternative tools are named near the end. It is long but nearly all of it does work, with a minor redundancy where the admin action is defined twice ('a manual change made by a member of staff' then 'a manual change by staff').

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, so the extensive row-level explanation (action vocabulary, balanceSet semantics, source references) is exactly what an agent needs to interpret results, and the mutation and auth caveats are stated. Complete for a two-parameter read tool.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds meaning the schema does not: page is 1-based, pagination is fixed-size and cannot be enlarged, and more rows sit on the next page. profileId receives no extra detail beyond the schema, which is fine at full coverage.

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 one page of the credit ledger for one person in the active group, newest first), and explicitly separates itself from credits.balances.list and people.credits.legacy_total. An agent can select it without opening the schema.

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?

Names the alternatives and the condition that selects them ('this is the movement history, not the current balance'), and adds a hard scope constraint (runs only for group qa-multi/qa-mcp-auth as Admin). It also warns that page starts at 1 and a larger page cannot be requested.

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