Skip to main content
Glama
vechain

VeChain MCP Server

Official
by vechain

Indexer: Transaction by ID (v1)

getTransactionById
Read-onlyIdempotent

Retrieve a decoded transaction with events using its transaction hash from the VeWorld Indexer.

Instructions

Get a single decoded transaction (with events) by ID from VeWorld Indexer. Endpoint: /api/v1/transactions/{txId}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
txIdYesThe transaction hash to retrieve
expandedNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
dataNoA decoded VeChain transaction as returned by the VeWorld Indexer
errorNo
networkYes
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint. The description adds value by specifying that the tool returns decoded data with events and the external endpoint, enhancing transparency beyond the 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?

Two concise sentences: the first states the purpose and the second provides the endpoint. No redundant information, efficiently front-loaded.

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 simplicity (2 parameters, annotations present, output schema exists), the description sufficiently explains what is returned ('decoded transaction with events') and the source. No additional context needed.

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

Parameters2/5

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

Schema description coverage is 50% (only txId has a description). The description does not explain the 'expanded' parameter or its behavior. It only indirectly mentions txId via the endpoint URL, failing to add meaning for the optional parameter.

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's purpose: 'Get a single decoded transaction (with events) by ID'. It specifies the resource (transaction) and the action (get), and distinguishes from siblings like 'thorGetTransaction' by mentioning 'decoded (with events)' and the VeWorld Indexer source.

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 implies when to use (when you have a transaction ID and need decoded data with events), but does not explicitly state when not to use or highlight alternatives. The endpoint detail adds context but no exclusion criteria.

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