Skip to main content
Glama

Submit fee compound

lp_compound_submit
Destructive

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

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": "lp_compound_submit"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=false, so the risk profile is carried by structured data. The description adds genuinely new context — that the server re-verifies the permit and summary before broadcasting, and returns a signature on success — but says nothing about failure behavior, whether a failed verification aborts before broadcast, or what retrying a non-idempotent submit does.

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, then the safety-relevant internal behavior, then the return value. Zero padding; only the trailing 'Same safety as lp_add_submit' is a slightly loose comparison that could be more concrete.

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 destructive, non-idempotent broadcast tool with no output schema, the description does state the success return (signature) and the pre-broadcast re-verification. It is still thin on failure modes and on the consequences of a rejected permit or summary mismatch, which is the main gap for a write operation of this risk level.

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% and each parameter is documented in the schema, including the conditional unsignedTransaction case. The description adds no syntax, format, or binding detail beyond what the schema states, so the baseline of 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?

The description names a specific verb and resource ("Submit a signed compound transaction") and scopes it to the compound flow, which separates it from the prepare/quote siblings. It does not explicitly contrast itself with lp_compound_prepare or the other *_submit tools beyond the 'same safety as lp_add_submit' remark.

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 permit/summary parameters reference lp_compound_prepare, so an agent can infer this is the terminal step after prepare. There is no explicit 'call this after lp_compound_prepare succeeds' or 'do not call twice' guidance, and no statement of when another submit tool would be preferred.

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