Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Wandura. If you published it, claim ownership there.

list_credit_transactions

Read-onlyIdempotent

Workspace Analytics & Billing: the credit ledger of ONE Enterprise workspace, one row per credit movement, oldest first, by the day it was posted (Asia/Ho_Chi_Minh). Needs a workspace reporting key (wdr_report_…, made by the workspace Owner) for that workspace, or your own sign-in as its Owner, Admin or Member. A Member sees only the movements of their own wallet. Each row of data: transaction_id (stable), posted_at (ISO 8601, +07:00, to the second), kind (topup = a card purchase, apero_budget = a budget from Wandura, allocate = pool → a member wallet, reclaim = a wallet → the pool, spend = a run charged (held or settled), refund = credits given back, adjust = a correction by Wandura), credits (signed: + adds credits to the pool or wallet, − takes them away), wallet_user_id + wallet_email (the member wallet moved; null = the workspace pool), actor_user_id + actor_email (who did it; null = the system), job_id, ref (the movement's own reference), refund_of_ref (refunds only: the ref of the spend it reverses), spend_state (spend rows only: held = the run is still going and its credits may come back, settled, or refunded = all of it given back; as it stands now, so an updated_since sync keeps the state it first saw) and held_credits (spend rows only: credits still held), reason. Net credits used = −Σ credits of spend and refund rows (matches the Usage page); allocate / reclaim only move credits inside the workspace and are never cost. Range: from (first day, included) and to (the day after the last, excluded), YYYY-MM-DD in Asia/Ho_Chi_Minh, at most 366 days; default the last 30 days including today. Paging: up to limit rows (1–1,000, default 1,000); when meta.next_cursor is not null pass it as cursor (with the same range) for the next page. Sync: updated_since = the last posted_at you stored returns only newer rows, never one you already have (ledger rows never change). Free; at most 60 calls a minute per key or person. CSV: GET /api/v1/workspaces/{workspace_id}/reports/list_credit_transactions?format=csv (next page cursor in the X-Next-Cursor header).

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": {
      "workspace_id": "<workspace_id>"
    },
    "name": "list_credit_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoThe day after the last, excluded (YYYY-MM-DD, Asia/Ho_Chi_Minh). Default: tomorrow. At most 366 days after `from`.
fromNoFirst day, included (YYYY-MM-DD, Asia/Ho_Chi_Minh). Default: 30 days before `to`.
limitNoRows per page.
cursorNometa.next_cursor of the previous page, unchanged.
workspace_idYesThe workspace: the one the reporting key belongs to, or one you are a member of.
updated_sinceNoOnly rows posted after this time (to the second), e.g. the last posted_at you stored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, and the description adds substantial context beyond them: the 60-calls-per-minute rate limit, that the call is free, the 366-day range cap, cursor pagination via meta.next_cursor, and the immutability guarantee that ledger rows never change so updated_since cannot produce duplicates. It also documents that spend_state reflects current state rather than the state at posting, which is a non-obvious behavior an agent would otherwise get wrong.

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?

The text is dense and front-loaded, with no marketing filler, and the field enumeration earns its place because no output schema exists. The main weakness is structural: it is one large unstructured paragraph with no line breaks or headings, so the paging and sync rules are buried mid-block. Labeled segments ('Range:', 'Paging:', 'Sync:', 'CSV:') help but do not fully offset the wall-of-text effect.

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?

For a six-parameter read tool with no output schema, the description covers everything an agent needs: authentication paths, ordering and timezone, every row field including the refund_of_ref back-reference and held_credits, the cost-accounting formula that reconciles with the Usage page, pagination, incremental sync, and a CSV escape hatch with its header-based cursor. Nothing material about calling it correctly appears to be missing.

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 the baseline is 3, and the description adds meaning beyond the schema: it clarifies that `to` is exclusive and pairs with `from` under a shared 366-day cap, that the default window is the last 30 days including today, and that `cursor` must be replayed with the same range. The `updated_since` guidance, storing the last posted_at, is the most valuable addition because it defines a sync pattern rather than restating the field.

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?

The description opens with a precise verb-plus-resource statement: it returns the credit ledger of one Enterprise workspace, one row per credit movement, ordered oldest-first by posting day. It goes further than the name by defining scope ('ONE Enterprise workspace'), grain ('one row per credit movement'), and sort ('oldest first', Asia/Ho_Chi_Minh), which distinguishes it from summary-level siblings such as get_usage_summary and get_workspace_budget.

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?

Usage context is explicit on prerequisites and permissions: a wdr_report_ key or Owner/Admin/Member sign-in, with Members limited to their own wallet. It also explains which rows count as cost ('Net credits used = −Σ credits of spend and refund rows') and notes that allocate/reclaim are never cost, which steers correct interpretation. It never explicitly names an alternative tool or says when not to use it, so it falls short of full routing guidance.

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