Skip to main content
Glama

Send a signed transaction

send_transaction
DestructiveIdempotent

Sends a transaction your wallet signed (base64, every signature in place) to Solana, as the site sends what a wallet signs: { signature }. Only one Souvenir built for you in the last few minutes (build_trade, or prepare_launch's devSwap or souvSwap), signed as it was built; any other is refused (not_built): send it through a Solana RPC. A trade can't be undone once it lands. With no answer from the network in time it may still land: its signature is answered the same. Trading a coin, in order: (1) quote_trade to see what you would get; (2) build_trade with your wallet's address; (3) sign the transaction it answers with your wallet; (4) send_transaction, or send it yourself through any Solana RPC. No sign-in: your wallet's signature is the approval, and Souvenir never needs its private key. The same fees and limits as the coin's page on souvenir.finance. An agent helping a person, which can't sign with their wallet, uses request_trade instead and gives them the link to approve it with their own wallet.

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": {
      "transaction": "<transaction>"
    },
    "name": "send_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
transactionYesThe transaction build_trade answered (or prepare_launch's devSwap or souvSwap), signed by your wallet, base64.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / transaction / description
      Previous value: -"The transaction build_trade answered (or prepare_launch's devSwap), signed by your wallet, base64."New value: +"The transaction build_trade answered (or prepare_launch's devSwap or souvSwap), signed by your wallet, base64."
  2. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare destructive, open-world, idempotent, but the description adds the operational facts that matter: only one Souvenir-built transaction from the last few minutes is accepted, anything else is refused with 'not_built', an unanswered send may still land and the signature is answered the same way, and the action is irreversible. It also states the auth model (wallet signature is approval, no private key, no sign-in), which is consistent with, not contradictory to, the idempotency hint.

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?

Front-loaded with the action and the accepted input, and most sentences earn their place. The RPC fallback is stated twice (in the 'not_built' clause and again in workflow step 4), and the four-step recap is long for a single-parameter tool, though it does serve routing.

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?

No output schema, so the description carries the return burden and only gestures at it with '{ signature }'. It compensates well on failure modes (not_built, timeout still landing), fees/limits reference, and irreversibility, but the exact success response shape for an agent to report back remains underspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and already spells out provenance and base64 encoding, so the baseline is 3. The description still adds meaning: the transaction must be the one just built, signed exactly as built, and stale or foreign transactions are rejected — semantics the schema does not carry.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Sends a transaction your wallet signed ... to Solana') and immediately constrains the input to base64 with every signature in place. It also distinguishes itself from build_trade/prepare_launch (which produce the transaction) and from a generic Solana RPC path, so an agent can place it in the pipeline without reading siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit four-step ordering ending in this tool (quote_trade → build_trade → sign → send_transaction), plus the fallback 'send it yourself through any Solana RPC'. It also names the when-not case: an agent that cannot sign with a person's wallet must use request_trade and hand over the approval link.

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