Skip to main content
Glama
klever-io
by klever-io

get_transaction

Read-onlyIdempotent

Retrieve transaction details from the Klever blockchain using a transaction hash. Get sender, receiver, status, block info, contracts, and receipts.

Instructions

Get transaction details by hash from the Klever blockchain. Returns sender, receiver, status, block info, contracts, and receipts. Uses the API proxy for indexed data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hashYesTransaction hash (hex string).
networkNoNetwork to query. Options: "mainnet", "testnet", "devnet", "local". Defaults to server default (mainnet).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, covering safety. The description adds useful behavioral context beyond that: it mentions the use of the API proxy for indexed data and lists the exact categories of returned data, giving the agent a clearer picture of what to expect. No contradiction exists.

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?

The description is two concise sentences. The first sentence front-loads the core purpose and return contents; the second adds a relevant detail about the data source. Every word earns its place with no redundancy or fluff.

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 (two parameters, no output schema), the description is complete. It covers what the tool does, what it returns, and how it accesses data. The annotations and schema handle safety and parameter details, so nothing critical is missing.

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 both parameters (hash and network) fully described in the input schema. The description adds minimal extra meaning beyond the schema—it reiterates that the lookup is 'by hash' but does not provide additional syntax, constraints, or examples. Thus, baseline 3 is appropriate.

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 transaction details by hash from the Klever blockchain.' It specifies the resource (transaction) and actionable verb ('get'), then enumerates the return fields (sender, receiver, status, block info, contracts, receipts), distinguishing it from sibling tools like get_block or get_account.

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 the tool: when you need transaction details by hash. It also mentions the data source ('Uses the API proxy for indexed data'), which implies the appropriate environment. However, it does not explicitly mention alternatives or when not to use it, so it stops short of full 5.

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