Skip to main content
Glama

Explain a transaction

explain_transaction
Read-only

A Cardano transaction by its hash: whether it is confirmed, the addresses it paid and how much ADA, its metadata and the message in it (CIP-20) if there is one.

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": {
      "tx_hash": "<tx_hash>"
    },
    "name": "explain_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
tx_hashYesTransaction hash, 64 hex characters

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered; the description's added value is disclosing the shape of the result (confirmation state, payment addresses, amounts, metadata, CIP-20 message), which matters because there is no output schema. It does not say what happens for an unknown or unconfirmed hash, nor which network is used. That residual gap keeps it at 4 rather than 5.

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?

One dense sentence with no filler, and the key resource identifier (transaction hash) is front-loaded before the returned fields. Every clause contributes distinct information about the output. Nothing could be removed without losing content.

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 single-parameter read tool with no output schema, the description adequately covers what an agent gets back and the read-only nature is confirmed by annotations. Missing are network context (mainnet vs testnet) and behavior on not-found hashes. These are modest gaps for a tool this simple, so it is nearly complete.

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?

There is a single parameter with 100% schema description coverage ('Transaction hash, 64 hex characters'), so the schema already carries the semantics. The description only restates 'by its hash' and adds no format, casing, or validation detail beyond what the schema provides. Baseline 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?

The description names the concrete resource (a Cardano transaction keyed by hash) and enumerates what it reveals: confirmation status, paid addresses, ADA amounts, metadata, and CIP-20 messages. That is far more specific than the title alone and clearly separates it from siblings like check_staking, pool_info, and token_search. It stops short of a 5 because the leading phrase is a noun fragment with no explicit verb, leaving the action ('look up and explain') implicit.

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?

There is no when-to-use or when-not-to-use guidance, no mention of alternatives, and no stated prerequisites (such as needing a full 64-character hash or which network is queried). The only implicit signal is that the tool consumes a transaction hash, which an agent must infer. Siblings operate on entirely different resources, so the omission is not fatal, but no explicit routing guidance is offered.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.