Skip to main content
Glama

Moneda

list_subscription_charges

Read-only

List the user's subscription charge history (SUBSCRIPTION_CHARGE rows from the keeper cron), newest first. Cursor-paginated — pass nextCursor from the previous page back as cursor to advance. Each row carries the plan tier, billing period (MONTHLY/ANNUAL), amount (lower-units string), currency, status, on-chain transaction hash, billing period start/end, and the invoice number (null until the user generates the invoice). Use get_subscription_invoice to generate the PDF for a charge.

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

Input Schema

NameRequiredDescriptionDefault
limitNoPage size (default 25, max 100).
cursorNoOpaque cursor from a previous response's `nextCursor`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries most of the burden and does it well: it discloses ordering, cursor pagination mechanics, the full row payload, and the notable state that invoice number is null until the user generates it. It omits retention window, auth prerequisites, or empty-history behavior, which keeps it from a 5.

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

Conciseness5/5

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

Three sentences, front-loaded with purpose and ordering, then pagination, then payload and the handoff to the invoice tool. Every sentence adds information an agent needs to call this correctly; no filler.

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, describing the returned row fields (tier, billing period, amount as lower-units string, currency, status, tx hash, period start/end, invoice number) is exactly the missing piece, and the null-invoice caveat prevents a likely misinterpretation. Nothing essential for a correct call is absent.

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%, with both limit and cursor documented in-schema, so the baseline is 3. The description only restates the cursor round-trip already given in the schema and adds no format, default, or boundary guidance beyond it.

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 the user's subscription charge history"), the source of the rows (SUBSCRIPTION_CHARGE rows from the keeper cron) and the ordering (newest first). It is clearly distinguishable from sibling tools like get_current_subscription and get_subscription_invoice, and the latter is named directly.

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?

Explicitly routes invoice-PDF generation to get_subscription_invoice, and explains the paging loop (pass nextCursor back as cursor). It does not state when-not to use it (e.g., how it differs from get_current_subscription for the active plan), so it stops short of full when/when-not coverage.

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