Skip to main content
Glama

lookup_transaction

Read-onlyIdempotent

Look up one transaction by its 64-character hash: in the mempool or mined, block height, confirmations, whether it is spendable yet, the pool that mined its block, and whether that height was ever contested by a reorg.

Use this for any transaction-hash question. It never returns amounts, senders or recipients: the Monero protocol encrypts them.

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": "lookup_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
tx_hashYes64-character hexadecimal hash. Example: 418015bb9ae982a1975da7d79277c2705727a56894ba0fb246adaabb1f4632e3

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / tx_hash / description
      Added value: +"64-character hexadecimal hash. Example: 418015bb9ae982a1975da7d79277c2705727a56894ba0fb246adaabb1f4632e3"
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds genuinely useful behavior beyond that: an explicit negative contract that amounts, senders and recipients are never returned because Monero encrypts them, which prevents an agent from calling it hoping for value data. It omits what happens for an unknown or unconfirmed hash (error vs. empty result), which keeps it short of a 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?

Two sentences, front-loaded with the action and identifier format, then the returned fields, then the important limitation. No filler, and the closing sentence earns its place by ruling out a likely wrong expectation.

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?

There is no output schema, so the description carries the burden of describing return values, and it enumerates them well (status, height, confirmations, spendability, pool, reorg contention). The only gap for a single-parameter lookup is the not-found / pending-hash behavior, which an agent would want to know before calling.

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 parameter already documents the 64-character hexadecimal format with an example. The description's "64-character hash" phrasing restates the schema rather than adding new meaning, so the baseline of 3 applies.

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?

States a specific verb and resource ("Look up one transaction by its 64-character hash") and immediately scopes the returned data: mempool/mined status, block height, confirmations, spendability, mining pool, and reorg history. The phrase "any transaction-hash question" cleanly separates it from the block-oriented siblings (get_block, search_block, network_mempool) without needing to name them.

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?

"Use this for any transaction-hash question" gives a clear trigger condition for invoking the tool. There are no explicit exclusions or named alternatives for the block-height / mempool lookups the siblings cover, so the routing is implied rather than fully specified.

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.