Skip to main content
Glama
VeChain-AI-Terminal

VeChain AI Terminal MCP Server

xflows_build_transaction

Build cross-chain swap transactions using XFlows, detailing source and destination chains, tokens, amounts, and recipient addresses.

Instructions

Build cross-chain swap transaction using XFlows (section 5)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dexNoDEX to use for swaps
bridgeNoBridge to usewanbridge
slippageNoSlippage tolerance (e.g., 0.01 for 1%)
toAddressYesRecipient wallet address
toChainIdYesDestination chain ID
fromAmountYesAmount to swap/bridge
fromAddressYesSender wallet address
fromChainIdYesSource chain ID (e.g., 100010 for VeChain testnet)
toTokenAddressYesDestination token contract address
fromTokenAddressYesSource token contract address
Behavior2/5

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

No annotations are provided, so the description must carry the burden of behavioral disclosure. It only states 'build cross-chain swap transaction' without explaining whether this constructs an unsigned transaction, executes a swap, or requires prior approvals. It does not mention side effects, return format, or any safety-related traits.

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?

The description is a single sentence with no wasted words, making it concise. However, the parenthetical '(section 5)' is vague and may confuse rather than help, slightly diminishing the structural quality.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 10 parameters, no output schema, and non-trivial behavior (cross-chain swap transaction building), the description is not complete. It lacks any indication of the return value, prerequisites, or behavioral context, making it insufficient for an agent to understand the tool's full role.

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 coverage is 100% with descriptions for every parameter, so the baseline is 3. The description adds no additional parameter semantics beyond what the schema already provides, but it also does not need to compensate for missing schema details.

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?

Description clearly states the tool 'builds a cross-chain swap transaction using XFlows', which is a specific verb and resource. The mention of XFlows helps distinguish it from sibling tools like bridge_create_transaction, but the reference to 'section 5' is cryptic and adds little clarity.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool vs alternatives such as xflows_get_quote or bridge_create_transaction. No prerequisites, sequencing, or exclusions are mentioned, leaving the agent without context on how to select this tool appropriately.

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/VeChain-AI-Terminal/vechain-terminal-mcp'

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