Skip to main content
Glama

Get a transaction

get_transaction
Read-onlyIdempotent

One transaction by txid, with decoded inputs and outputs.

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

Input Schema

NameRequiredDescriptionDefault
slugYesA chain slug from `list_explorer_chains`.
txidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds one genuine behavioral detail beyond that — the response includes decoded inputs and outputs — but says nothing about behavior for unknown txids, confirmation handling, or chain-specific constraints.

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?

A single front-loaded sentence with no filler, and the key qualifier (single transaction by txid) leads. It is arguably over-terse given the gaps elsewhere, but nothing in it is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter read-only lookup with no output schema, the description covers what the tool returns (decoded inputs and outputs) and how to identify the record. It falls short on txid format expectations and failure behavior, which matter for a lookup-by-identifier tool.

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 50%: the slug parameter is documented as coming from list_explorer_chains, while txid has no schema description at all. The description only restates 'by txid', adding no format or validity detail (e.g., hash length or prefix) to compensate for the undocumented parameter.

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 resource (a single transaction) and lookup key (txid), plus what is returned ('decoded inputs and outputs'). It is clearly distinguishable from siblings like get_block or get_address by resource type, though it never names an alternative explicitly.

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 guidance, no prerequisites, and no mention of alternatives. The only hint is that a chain slug is required, which comes from the schema rather than the description; an agent must infer that this is the single-transaction lookup versus list/search tools.

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.

Resources