Skip to main content
Glama

list_payments

Retrieve payments with optional date filters and field selection to minimize response size.

Instructions

List all payments with optional filters for date range. Supports field filtering to reduce response size.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination (optional)
limitNoMaximum number of items to return (default: 50, max: 500)
summaryNoReturn only count and pagination metadata without items (default: false)
fieldsNoSelect specific fields to return (e.g., ["id", "name", "days", "discount"]). Reduces response size by 70-90%. If not provided, returns default fields: id, name, days, discount
starttmpNoStarting timestamp (Unix timestamp) for filtering payments by date
endtmpNoEnding timestamp (Unix timestamp) for filtering payments by date
Behavior2/5

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

No annotations provided, so the description bears full burden. It discloses field filtering and date range capabilities but omits pagination behavior (though parameters exist) and any details about rate limits, performance, or side effects.

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?

The description is very concise with two sentences, no redundant information. It directly states the core function and key options without waste.

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

Completeness2/5

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

No output schema exists, so the description should provide some insight into the return structure. It does not mention response format, pagination metadata, or how fields filtering affects output. Missing key context for a listing tool with 6 optional parameters.

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%, so baseline is 3. The description adds high-level context about date range and field filtering, but this aligns with existing parameter descriptions, adding limited new meaning.

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 the purpose ('List all payments') and mentions optional filters and field filtering, making it distinct from sibling tools like 'get_payment' which retrieves a single payment. However, it does not explicitly differentiate from other list tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool vs alternatives (e.g., get_payment for a single payment). The description implies usage for batch retrieval with filters but lacks exclusions or context for specific scenarios.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/iamsamuelfraga/mcp-holded'

If you have feedback or need assistance with the MCP directory API, please join our Discord server