Skip to main content
Glama
Stables MCP Server

Stables MCP Server

Official

List documents

list_documents
Read-onlyIdempotent

Retrieve documents attached to a transfer or payment route deposit, ordered newest first, to review supporting files for a specific transaction.

Instructions

List the documents attached to a transfer or a payment route deposit, newest first.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "on": "<on>",
      "transactionId": "<transactionId>"
    },
    "name": "list_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
onYesWhat the document belongs to: a transfer, or a deposit on a payment route
transactionIdYesThe transfer ID, or the deposit ID from get_payment_route_history

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.6.15
    • changedInput schema / properties / transactionId / description
      Previous value: -"The transfer ID, or the deposit ID from get_virtual_account_history"New value: +"The transfer ID, or the deposit ID from get_payment_route_history"
  2. Changed1 schema field changedv2.6.11
    • removedInput schema / additionalProperties
      Removed value: -false
  3. Addedv2.4.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavior with 'newest first' ordering, but says nothing about pagination, limits, or whether documents of both types are ever mixed.

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?

One sentence, front-loaded with the verb and resource, with the scope and sort order packed in without waste. Nothing could be removed without losing information.

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

Completeness3/5

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

For a simple read-only list, the description plus fully documented schema is nearly sufficient, but it omits any indication of result volume or pagination behavior, and there is no output schema to cover the return shape. An agent knows how to call it but not what to expect back.

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 coverage is 100% and the schema already documents both 'on' (with an enum and its meaning) and 'transactionId' (including that the deposit ID comes from get_payment_route_history). The description adds no parameter meaning beyond that, so baseline 3 applies.

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?

States a specific verb and resource ('List the documents') plus the two valid scopes (transfer, payment route deposit) and the sort order ('newest first'). It is clearly distinct from the mutation siblings add_document and delete_document, though it does not name a sibling to route away from.

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?

The description gives no when-to-use or when-not-to-use guidance and no prerequisites; the only context is the scope of documents. An agent can infer that it needs a transfer or deposit ID first, but nothing in the text says so explicitly or names where to get that ID.

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