Skip to main content
Glama

ordercloud.payments.transactions.list

List transactions for a specific payment using order ID, direction, and payment ID, with pagination controls for page and page size.

Instructions

List all transactions for a specific payment

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": {
      "orderId": "<orderId>",
      "direction": "<direction>",
      "paymentId": "<paymentId>"
    },
    "name": "ordercloud.payments.transactions.list"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-based)
orderIdYesThe order ID
pageSizeNoItems per page (max 100)
directionYesOrder direction
paymentIdYesThe payment ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and largely does not meet it. It says nothing about pagination (the schema allows page/pageSize with a 100-item cap, so the word "all" is potentially misleading), nothing about ordering of results, permissions, or what a transaction record contains. Only the basic read-only nature of the operation is inferable from the verb "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?

A single short sentence with the resource and scope front-loaded and zero redundant wording. It is efficient, though efficiency here comes partly from saying very little rather than from tight editing.

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?

For a five-parameter paginated list tool with no annotations and no output schema, the definition is thin: defaults for page/pageSize, expected result ordering, and the shape of a transaction are all left unstated. An agent can issue the call, but cannot predict what it gets back or how to page through results.

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 all five parameters including page, pageSize, and the direction enum are already documented in the schema; baseline 3 applies. The description adds no paging defaults or guidance on the direction filter, so it does not meaningfully extend the schema.

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 all transactions") plus the scoping entity ("for a specific payment"), which is enough to separate it from the payment-level siblings like ordercloud.payments.listForOrder or ordercloud.payments.get. It does not explicitly name any alternative, so the differentiation is conveyed by scope alone rather than by routing language.

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 only implied: the phrase "for a specific payment" tells the agent it needs a paymentId, and the resource name implies this is the lookup when you have a payment and want its transactions. There is no stated when-to-use, no when-not-to-use, and no pointer to a sibling for the case where the agent only has an order or wants a single transaction.

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

Deploy Server

Other Tools