Skip to main content
Glama

AgentDrives: choose a tool, API or provider

Agent payments

list_agent_payments
Read-onlyIdempotent

Use when asked which services take an agent's payment: those our agent paid on their own rail (x402, MPP, agent card), with amount, day and proof, then those it couldn't pay and why. One in full: get_provider. Read-only, no key needed.

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

Input Schema

NameRequiredDescriptionDefault
railNoOnly this rail, e.g. x402

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent and non-destructive, so 'Read-only' largely restates them; the added value is 'no key needed' (auth requirement) and the result ordering (paid first, then unpayable with reasons). Beyond that it discloses nothing about volume, pagination, or freshness of the payment data, and an output schema already covers return shape.

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 the usage trigger and free of filler, but the telegraphic fragment 'One in full: get_provider' is cryptic and forces the reader to infer what 'one' refers to (a single provider's full record).

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?

For a one-optional-param, read-only list tool with annotations and an output schema, the description covers trigger, auth, result contents and ordering, and the handoff to get_provider. Missing only minor operational details such as result limits or whether unpaid entries are always included.

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?

Schema coverage is 100% with an example ('e.g. x402'), so baseline would be 3; the description earns more by enumerating concrete rail values (x402, MPP, agent card), which tells the agent what valid filters look like beyond the schema's single example.

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 ('which services take an agent's payment') and explains the result's structure: those paid on the agent's own rail with amount, day and proof, then those it couldn't pay and why. It is distinguishable from get_provider, though the name 'list_agent_payments' versus a service-oriented list creates mild ambiguity about whether payments or providers are returned.

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?

Opens with an explicit trigger ('Use when asked which services take an agent's payment') and routes to a sibling for detail ('One in full: get_provider'), which is a real when-to-use statement. It does not state exclusions or when a different list tool (e.g. list_best_providers) would be preferable.

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