Skip to main content
Glama

payout_report_payment

Idempotent

Hand one batch transaction to the server, right after sending it, with the invoiceIds that payout_batch listed for it. Each invoice is verified on-chain like any invoice payment (what reached that receiver); call again a few seconds later if some are still pending.

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": {
      "txHash": "<txHash>",
      "payer": "<payer>",
      "invoiceIds": "<invoiceIds>"
    },
    "name": "payout_report_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
payerYesThe wallet that signed.
txHashYesThe Solana signature or EVM transaction hash.
invoiceIdsYesEVM: payout_batch evm.invoiceIds (all of them, paid by the one pay transaction). Solana: payout_batch.transactions[i].invoiceIds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / txHash / description
      Previous value: -"The Solana signature."New value: +"The Solana signature or EVM transaction hash."
  2. Changed2 schema fields changed
    • changedInput schema / properties / invoiceIds / description
      Previous value: -"From payout_batch.transactions[i].invoiceIds."New value: +"EVM: payout_batch evm.invoiceIds (all of them, paid by the one pay transaction). Solana: payout_batch.transactions[i].invoiceIds."
    • changedInput schema / properties / invoiceIds / maxItems
      Previous value: -20New value: +50
  3. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover idempotency, non-read-only and open-world nature, but the description adds the substantive behavior: each invoice is verified on-chain against what reached that receiver, and partial results may come back pending requiring a re-call. Minor gap: no statement about what happens if a transaction never appears on-chain.

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 sentences, no redundant restatement of the name or schema, and the most important constraint (timing relative to sending) is front-loaded. Every clause carries operational information.

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?

Covers the sequencing, the sourcing of ids, the on-chain verification model and the pending/retry loop, which is what an agent needs to call it correctly in a multi-step payout flow. Without an output schema it could say a bit more about what a successful report returns or how partial pending batches resolve, but nothing critical is missing.

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 payer, txHash and the EVM/Solana sourcing of invoiceIds in detail, so the baseline applies. The description only adds the hint that invoiceIds should match what payout_batch reported, which is a small increment over the schema text.

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 action ('hand one batch transaction to the server') tied to a concrete resource (a batch payout tx plus its invoiceIds), and roots the input in what payout_batch listed, which separates it from the single-payment sibling invoice_report_payment. Slightly indirect phrasing ('hand ... to the server') keeps it from being maximally crisp, but an agent knows exactly what it does.

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?

Gives explicit timing ('right after sending it') and a retry rule ('call again a few seconds later if some are still pending'), which is the key operational guidance for this tool. It also points at payout_batch as the source of invoiceIds, though it never explicitly excludes invoice_report_payment or names it as the wrong choice here.

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