Skip to main content
Glama

Recharge MCP by usefulapi

List charges

recharge_list_charges
Read-only

List charges with optional filters (customer, address, status, ids, purchase item, scheduled/created/updated date ranges) and sorting. Returns { charges }. Pagination is cursor-based: pass limit (default 50, max 250) and read next_cursor / previous_cursor from the response. IMPORTANT: when paging with cursor, Recharge accepts ONLY limit alongside it — omit every other filter on cursor requests. Recharge REST: GET /charges.

Input Schema

NameRequiredDescriptionDefault
idsNoComma-separated list of charge ids to fetch.
limitNoMax results per page (1-250, default 50).
cursorNoPagination cursor (next_cursor / previous_cursor from a prior response). Use it ALONE with `limit` — omit all other filters on cursor requests.
statusNoFilter by charge status: success | queued | error | refunded | partially_refunded | skipped | pending_manual_payment | pending.
sort_byNoSort order: id-asc | id-desc | updated_at-asc | updated_at-desc | scheduled_at-asc | scheduled_at-desc.
address_idNoFilter by address id.
customer_idNoFilter by customer id.
scheduled_atNoFilter to charges scheduled on this date (ISO 8601).
created_at_maxNoFilter to charges created on/before this date (ISO 8601).
created_at_minNoFilter to charges created on/after this date (ISO 8601).
updated_at_maxNoFilter to charges updated on/before this date (ISO 8601).
updated_at_minNoFilter to charges updated on/after this date (ISO 8601).
purchase_item_idNoFilter to charges containing this purchase item (subscription/onetime line item) id.
scheduled_at_maxNoFilter to charges scheduled on/before this date (ISO 8601).
scheduled_at_minNoFilter to charges scheduled on/after this date (ISO 8601).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, so the description carries real weight and delivers: it discloses the response envelope ({ charges }), pagination mechanics (next_cursor / previous_cursor), default and max page size, and a non-obvious API constraint that would otherwise cause silent failures on cursor requests. That is meaningful behavioral context beyond the annotation.

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 purpose, then return shape, then the pagination constraint, then the REST endpoint for traceability. The parenthetical filter enumeration partially duplicates the schema, but everything else earns its place and the critical warning is not buried.

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 15 parameters, no required fields, and no output schema, the description supplies exactly what is missing elsewhere: the response envelope, paging loop mechanics, and the cursor exclusivity rule. An agent has enough to call this correctly and paginate safely.

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% and the schema itself already documents limit bounds, the cursor caveat, enum values, and every filter. The description restates the filter list and the limit default/max rather than adding format or precedence detail, so this lands at the baseline for high 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 ("List charges") and immediately enumerates the filter dimensions and sorting capability, which cleanly separates it from the single-resource sibling recharge_get_charge. An agent can distinguish it from recharge_list_orders / recharge_list_customers without opening a 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?

Gives clear operational context: optional filters, cursor-based paging, and the hard constraint that cursor requests accept ONLY `limit`. It does not explicitly say when to prefer this over recharge_get_charge or sibling list tools, but for a list endpoint on a distinct resource that inference is essentially trivial.

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.