Skip to main content
Glama
SODAX Builders MCP
by gosodax

sodax_relay_submit_tx

Idempotent

Submit a finalized source-chain transaction to the SODAX intent relay for delivery to the destination chain. Supports EVM chains plus split-tx chains like Solana and Bitcoin.

Instructions

Submit a confirmed spoke-chain transaction to the SODAX intent relay so it can be delivered to the destination chain. The tx must already be finalized on the source chain. Re-submitting the same tx is a no-op. For split-tx chains (Solana, Bitcoin) supply the optional data argument.

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": {
      "chainId": "<chainId>",
      "txHash": "<txHash>"
    },
    "name": "sodax_relay_submit_tx"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNoRequired only for split-tx chains (Solana, Bitcoin). Omit for EVM chains.
formatNoResponse format: 'json' for raw data or 'markdown' for formatted textmarkdown
txHashYesREQUIRED: The confirmed transaction hash on the source chain
chainIdYesREQUIRED: Intent-relay chain ID of the source chain (decimal string, e.g. '146' for Sonic, '2' for Ethereum). Call sodax_get_relay_chain_id_map to translate from a chain key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.7
    • addedInput schema / properties / chainId / pattern
      Added value: +"^\\d+$"
  2. Addedv1.0.3

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=true, openWorld=true, destructive=false, so the bar is lower. The description still adds real value by restating the finality prerequisite and confirming that re-submitting the same tx is a no-op, which reinforces and explains the idempotent hint. It says nothing about what comes back after submission or failure modes, which is the remaining gap.

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?

Three tight sentences, front-loaded with the action and followed by the prerequisite and the edge case. Nothing is redundant and every sentence carries information the agent needs before calling.

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 mutation tool with full annotation coverage, a fully described schema, and no output schema, the description covers purpose, prerequisite, idempotency, and the split-tx special case. The one omission is any statement about the submission result or error behavior, though the absence of an output schema makes that less critical.

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 chainId translation hint pointing at sodax_get_relay_chain_id_map, so the schema already carries the parameter burden. The description only echoes the split-tx `data` requirement that the schema already states. Baseline 3 is appropriate.

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: submitting a confirmed spoke-chain transaction to the SODAX intent relay for delivery to a destination chain. That is unambiguous and clearly distinct from the surrounding read-only get_* tools. It stops short of explicitly naming a sibling or contrast case, so it lands at 4 rather than 5.

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?

It states the key precondition ('the tx must already be finalized on the source chain') and when the optional `data` argument applies (split-tx chains: Solana, Bitcoin). It does not enumerate alternatives or say what to do instead if the tx is not yet finalized, so there is no explicit when-not guidance.

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