Skip to main content
Glama

get_transaction

Fetch detailed information for a specific transaction using its hash, including sender, recipient, value, data, and related details.

Instructions

Get detailed information about a specific transaction by its hash. Includes sender, recipient, value, data, and more.

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": {
      "txHash": "<txHash>"
    },
    "name": "get_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
txHashYesThe transaction hash to look up (e.g., '0x1234...')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.2

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. 'Get' plus the field list establishes a read-only lookup and previews the payload, but it says nothing about chain/network context, behavior when the hash is unknown, or whether pending transactions are returned — all material for a multi-chain toolset.

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?

Two short sentences, front-loaded with the action and identifier, followed by the return payload. The trailing 'and more' is slightly vague but honestly signals an incomplete field list without padding.

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?

For a one-parameter read tool with no annotations and no output schema, the description compensates by naming the principal returned fields. The remaining gap — chain qualification and not-found behavior — is modest, though the surrounding multi-chain siblings make it a real omission.

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%, and the single txHash parameter is already documented in the schema with an example format. The description's 'by its hash' adds no format, validation, or network-qualification detail beyond what the schema already provides, so the baseline of 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?

States a specific verb and resource — retrieve a transaction identified by hash — and enumerates returned fields (sender, recipient, value, data). This distinguishes it from a block lookup or a receipt lookup in substance, though it never names a sibling explicitly.

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 by the phrase 'by its hash'; the agent can infer that this is the lookup path when a transaction hash is known. There is no explicit when-not guidance and no pointer to get_transaction_receipt for status/gas/logs, so the agent must reason about the boundary itself.

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