Skip to main content
Glama
vechain

VeChain MCP Server

Official
by vechain

Build a multi-clause transaction ready for the wallet to sign

buildContractTransaction
DestructiveIdempotent

Build and simulate multi-clause VeChainThor transactions. Returns ready-to-sign clauses with simulation results to catch reverts before signing.

Instructions

Build (but never sign or broadcast) a multi-clause VeChainThor transaction. Each clause is { name, method, args, valueWei?, comment?, address? }; for erc20 / erc721 an explicit address is mandatory. Returns the array of { to, value, data, comment? } clauses ready to be passed to VeWorld, the dApp Kit or vechain-kit for signing. By default every clause is simulated via Thor multicall first (using a generic signer): reverts are surfaced in simulation.results so the agent can fix the request before asking the user to sign. The server NEVER holds private keys and NEVER broadcasts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clausesYesArray of clauses to bundle into a single multi-clause transaction.
simulateNoWhen true (default) every clause is simulated via Thor multicall to surface reverts before signing.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
dataNo
errorNo
networkYes
Behavior5/5

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

The description discloses simulation behavior via multicall by default, which surfaces reverts before signing. It also clarifies the server's limitations (no private keys, no broadcasting). This adds significant context beyond the annotations, which already indicate non-read-only and idempotent.

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 paragraph that is informative and not overly verbose. It could be slightly more structured with line breaks, but it is concise and front-loaded with the core purpose.

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

Completeness5/5

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

Given the tool's complexity (multi-clause transaction building with optional simulation) and the presence of an output schema, the description adequately covers purpose, input format, behavior, and important caveats (no signing/broadcasting). It leaves no major gaps.

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

Parameters5/5

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

The input schema has 100% coverage, but the description enhances understanding by explaining the clause structure, mandatory address for erc20/erc721, and the meaning of each field. It also clarifies the args types and default value for valueWei.

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 tool builds a multi-clause VeChainThor transaction for signing, distinguishing it from read-only tools like callContract. It specifies the input (clauses array) and output (ready-to-sign clauses), and explicitly states it never signs or broadcasts.

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?

The description provides clear context on when to use (building multi-clause transactions for signing) and what the tool does not do (never holds keys or broadcasts). However, it does not explicitly mention alternatives or when not to use this tool, though the sibling list suggests callContract for single calls.

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/vechain-mcp-server'

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