Skip to main content
Glama
Rails by Spritz API

Rails by Spritz API

Official

get_off_ramp_transaction

Retrieves off-ramp transaction parameters for a quote, returning EVM calldata or a serialized Solana transaction to sign and submit on-chain.

Instructions

Get transaction params for a quote. Returns EVM calldata (contractAddress, calldata, value) or a serialized Solana transaction (transactionSerialized) depending on the chain. The agent must sign and submit the transaction on-chain.

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": {
      "quoteId": "<quoteId>"
    },
    "name": "get_off_ramp_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
quoteIdYesThe quote ID
feePayerNoAddress that pays transaction fees. Solana only — defaults to senderAddress if omitted.
senderAddressNoWallet address that will sign the transaction. Required for Solana.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does valuable work by disclosing that the result is chain-dependent and that the caller must sign and broadcast the transaction, but it says nothing about quote expiry, idempotency of repeat calls, failure modes, or whether the returned calldata is single-use.

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 short sentences, front-loaded with the action and its return shapes, then the critical follow-up obligation. Every sentence carries information; nothing is redundant or padded.

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 exists, so describing the two possible return payloads is essential and the description does it explicitly. The main residual gap is lifecycle context around the quote (validity window, whether params can be regenerated) for a tool whose output is a signed-transaction prerequisite.

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%, so all three parameters are already documented with examples. The description adds only the chain-dependency framing that explains why senderAddress/feePayer matter on Solana, but no format or validation detail beyond the schema. Baseline 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?

Specific verb plus resource ("Get transaction params for a quote") and it spells out what comes back: EVM calldata fields or a serialized Solana transaction. It implicitly separates itself from the quote-creation/list siblings by operating on an existing quoteId, though it never names an alternative tool outright.

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: "for a quote" and the closing instruction to sign and submit suggest this is the step after obtaining a quote, but there is no explicit when-to-use, no stated prerequisite (e.g. a valid/fresh quote), and no when-not guidance relative to the sibling quote tools.

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