Skip to main content
Glama

sodax_relay_submit_tx

Idempotent

Submit a finalized cross-chain transaction to the intent relay for delivery to the destination chain. Accepts optional split-tx data for 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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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.
txHashYesREQUIRED: The confirmed transaction hash on the source chain
dataNoRequired only for split-tx chains (Solana, Bitcoin). Omit for EVM chains.
formatNoResponse format: 'json' for raw data or 'markdown' for formatted textmarkdown
Behavior4/5

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

Annotations already indicate idempotency and non-destructiveness; the description adds that re-submission is a no-op and that the tx must be finalized, which prevents premature submission. This adds value beyond annotations.

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 concise sentences with no waste. The most critical and front-loaded information is presented first: the purpose, then precondition, then special case for split-tx chains.

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?

While the usage context is well-covered, there is no description of the return value or response format beyond the `format` parameter. Since there is no output schema, the description should hint at what the tool returns upon success or failure, which is missing.

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?

With 100% schema coverage, baseline is 3. The description adds context for `chainId` (decimal string, example, and mapping function), explains the conditional nature of `data`, and clarifies the response format parameter. This enriches understanding.

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?

The description clearly states the action: submitting a confirmed spoke-chain transaction to the SODAX intent relay for delivery. It specifies the resource (intent relay) and distinguishes from sibling read-only tools.

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 provides clear context: the transaction must be finalized on the source chain, and re-submission is a no-op. It also notes when to use the optional `data` argument for split-tx chains. However, it does not explicitly exclude any scenarios or mention alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gosodax/builders-sodax-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server