Skip to main content
Glama

List your recent calls and charges

list_calls
Read-onlyIdempotent

Free; reads only. Lists your recent account calls, newest first: the tool, whether it succeeded, failed, was rejected (refused before running) or is still running, what it was charged (failed and rejected calls cost $0), the error code and message of a failed or rejected call, the name of the API key that made it, and its request id, plus the total charged on the page. Use it to review spending or find a request id for get_call. Filter by status, page back with before (the next value from the previous page). Needs an account API key on the connection; x402 calls are paid from your own wallet and show in its history instead.

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

Input Schema

NameRequiredDescriptionDefault
limitNoHow many calls to return, 1 to 50. Default 20.
beforeNoOnly calls made before this time (ISO 8601). Use the createdAt of the last call on the previous page.
statusNoOnly calls with this status (rejected = refused before running, e.g. a rate limit). Leave out for all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / status / description
      Previous value: -"Only calls with this status. Leave out for all."New value: +"Only calls with this status (rejected = refused before running, e.g. a rate limit). Leave out for all."
    • changedInput schema / properties / status / enum
      Previous value: -[
      -  "succeeded",
      -  "failed",
      -  "running"
      -]New value: +[
      +  "succeeded",
      +  "failed",
      +  "rejected",
      +  "running"
      +]
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, closed-world and non-destructive, and the description still adds real value on top: ordering (newest first), cost semantics (failed and rejected calls cost $0), the meaning of "rejected" as refused before running, and the auth prerequisite of an account API key on the connection. It also discloses that x402-paid calls are out of scope for this list.

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 two most decision-relevant facts ("Free; reads only") and then the result ordering. The long single-sentence enumeration of returned fields is dense and slightly run-on, but nearly every clause carries information an agent needs; only the repeated status/zero-cost phrasing could be tightened.

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?

There is no output schema, and the description compensates by spelling out the returned fields and the page total. Auth requirements, pagination mechanics, cost behavior and the x402 exclusion are all covered, so an agent can call this correctly and interpret the result without further context.

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%, so the baseline is 3, but the description earns more by explaining the pagination contract for `before` (take the next value from the previous page, i.e. the createdAt of the last call) and by restating the rejected status meaning in the context of charges. `limit` and enum options are left to the schema, which fully documents them.

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 ("Lists your recent account calls, newest first") and enumerates exactly what each row contains: tool, status, charge, error code/message, API key name, request id, plus page total. It also distinguishes itself from the single-record reader by saying the list is where you find a request id "for get_call".

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

Usage Guidelines5/5

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

Gives concrete when-to-use guidance ("review spending or find a request id for get_call"), how to filter ("Filter by status") and how to paginate ("page back with before (the next value from the previous page)"). It also names an exclusion: x402 calls are paid from the wallet and appear in its history instead, so the agent knows results are not exhaustive across payment modes.

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