Skip to main content
Glama

SoFinance

submit_compound_transaction

Destructive

Submit a signed compound transaction. Re-verifies permit and summary, then broadcasts. Returns signature on success. Same safety as submit_signed_transaction.

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": {
      "signedTransaction": "<signedTransaction>",
      "permit": "<permit>",
      "wallet": "<wallet>",
      "summary": "<summary>"
    },
    "name": "submit_compound_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
permitYesHMAC permit from prepare_compound_transaction
walletYesWallet public key
summaryYesComplete summary object from prepare_compound_transaction response, unchanged (bound by the permit)
signedTransactionYesBase64-encoded signed transaction
unsignedTransactionNoBase64 prepared transaction from prepare_compound_transaction. Pass this when the wallet rewrote the message (Phantom Lighthouse / ComputeBudget).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag the operation as destructive, non-idempotent, and open-world, so the bar is lower. The description adds meaningful context beyond them: it re-verifies the permit and summary before broadcasting and returns a signature on success, telling the agent this is a validated, side-effecting broadcast rather than a blind submit. It stops short of describing failure behavior or retry safety for a non-idempotent operation.

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?

Four short sentences, front-loaded with the action and followed by verification, return value, and a safety comparison. Nothing is padded, though the trailing sibling comparison is slightly under-exploited since it does not state the actual difference.

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 destructive five-parameter tool with a nested summary object and no output schema, the description covers the key points: what is submitted, that permit/summary are re-validated, and that a signature is returned. Failure modes and retry semantics for a non-idempotent broadcast are the notable omission.

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%, including the nested summary object and the conditional unsignedTransaction case, so the schema carries parameter documentation. The description only reinforces that permit and summary are re-verified, adding modest meaning on top of the schema. Baseline 3 applies when the schema does the heavy lifting.

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 states a specific verb and resource ('Submit a signed compound transaction') and clarifies the broadcast behavior. The closing reference to submit_signed_transaction hints at the sibling relationship, but it never explicitly contrasts compound vs. single-transaction submission, so the differentiation is only partial.

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 implied rather than stated: the permit is 'from prepare_compound_transaction', so the agent can infer this must follow that call. However, there is no explicit when-to-use/when-not guidance and no statement about when to prefer this over submit_signed_transaction despite the comparison being raised.

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