Skip to main content
Glama

List customers

recharge_list_customers
Read-only

List customers with optional filters (email, ids, created/updated date ranges) and sorting. Returns { customers }. 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 /customers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsNoComma-separated list of customer ids to fetch.
emailNoFilter by customer email.
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.
sort_byNoSort order: id-asc | id-desc | created_at-asc | created_at-desc | updated_at-asc | updated_at-desc.
created_at_maxNoFilter to customers created on/before this date (ISO 8601).
created_at_minNoFilter to customers created on/after this date (ISO 8601).
updated_at_maxNoFilter to customers updated on/before this date (ISO 8601).
updated_at_minNoFilter to customers updated on/after this date (ISO 8601).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true. The description adds behavioral details: pagination behavior, sorting options, and cursor/filter interaction. Could mention error responses or rate limits, but the provided context is sufficient.

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 well-structured sentences with front-loaded purpose, pagination details, and an important warning in caps. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Explains the return format ({ customers }), covers all filter types, sorting, pagination, and cursor constraint. Lacks output schema but describes response adequately. Does not mention edge cases like empty results, but overall complete for a list 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?

The schema provides 100% coverage with parameter descriptions. The description adds value by summarizing filter types and explaining the critical cursor condition, which is not fully captured in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it lists customers with optional filters and sorting, and returns { customers }. It specifies the REST endpoint. However, it does not explicitly differentiate from sibling list tools like recharge_list_addresses, though the resource name makes it clear.

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?

Provides clear instructions on pagination (cursor-based, limit, max 250), and emphasizes the critical constraint that when using cursor, all other filters must be omitted. Does not compare to sibling tools, but that is less necessary as resources differ.

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.