Skip to main content
Glama

List Payments

list_payments
Read-only

Retrieves the account's balance top-ups newest first with page and limit controls, requiring an ADMIN key.

Instructions

List the account's balance top-ups, newest first. Needs an ADMIN key.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, from 1
limitNoItems per page (max 100)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds two pieces of non-structured context: an ADMIN-scoped key is required, and results come back newest first — both meaningfully affect how an agent prepares the call and interprets ordering.

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?

Two short sentences with zero waste; the resource scope and ordering are front-loaded, and the authorization constraint follows immediately. Nothing is padded or redundant.

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?

An output schema exists, so return values need not be described, and the description covers the two things structured fields cannot: the auth tier and sort order. Only default pagination behavior is unaddressed, a minor gap for a two-parameter list tool.

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 only two optional pagination parameters (page, limit max 100), so the schema already carries full semantics. The description adds nothing about paging defaults or limits, which is acceptable given the schema but earns only the baseline.

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 gives a specific verb and resource ("List the account's balance top-ups") plus an ordering guarantee ("newest first"), which clearly separates it from sibling tools like get_balance or list_api_keys. It stops short of explicitly naming a contrasting sibling, but the resource is precise enough for an agent to disambiguate.

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

Usage Guidelines3/5

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

Usage is implied by the scope (the account's balance top-ups) and gated by the stated ADMIN key requirement, but there is no explicit when-to-use versus alternatives guidance — nothing tells the agent to prefer get_balance for current balance or another list tool for other resources.

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