Skip to main content
Glama

optimism_tx_explain

Use when: what did this Optimism transaction do? Explain a Optimism transaction: status, fee, decoded method + args (openchain signature DB), and ERC-20 transfers with symbols and human amounts. Costs $0.005.

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": {
      "hash": "<hash>"
    },
    "name": "optimism_tx_explain"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations the description carries the full burden, and it does disclose the price ($0.005), the decoding source (openchain signature DB), and the full shape of the returned data including symbol/human-readable amounts. It leaves gaps on failure behavior for an unknown or pending hash and on whether it is chain-locked, which matters for a tool whose only input is a hash.

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 usage trigger, then a dense enumeration of outputs. No filler, no restatement of the tool name, and the cost is tacked on at the end where it is easy to scan.

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 substitutes for the output schema by listing every returned field, which is the right call. It is only incomplete on error/edge behavior for hashes that don't resolve.

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 0%, so the description must compensate for the single `hash` parameter. The phrase "a Optimism transaction" implies a transaction hash, but no format, 0x-prefix, or chain-locking guidance is added beyond the schema's regex pattern.

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 ("Explain a Optimism transaction") and enumerates the exact outputs: status, fee, decoded method + args, and ERC-20 transfers. The chain qualifier in the name plus the enumerated payload distinguish it from optimism_address_inspect and optimism_token_approvals.

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 "Use when: what did this Optimism transaction do?" lead gives a concrete trigger condition, which is more than most tools offer. It stops short of naming alternatives or exclusions, e.g. it never says to use calldata_decode instead when only raw calldata is at hand, or that it rejects hashes from other chains.

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