optimism_tx_explain
Explain a Optimism transaction: status, fee, decoded method + args (openchain signature DB), and ERC-20 transfers with symbols and human amounts. Costs $0.005.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes |
Explain a Optimism transaction: status, fee, decoded method + args (openchain signature DB), and ERC-20 transfers with symbols and human amounts. Costs $0.005.
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden, and it only partially meets it. It usefully discloses the data source for decoding (openchain signature DB) and the per-call price ($0.005), which are real value-adds. But it says nothing about failure modes (unknown hash, pending tx, non-Optimism hash), whether results are cached, rate limits, or what the decoded output looks like when the signature DB has no match.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, both front-loaded: the capability and its decoded outputs come first, the price last. No filler, no restatement of the tool name, and the output enumeration is compact and scannable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema and no annotations, the description does the right thing by enumerating the returned fields (status, fee, decoded method/args, ERC-20 transfers) and naming the decoding source. For a one-parameter read-style tool this is nearly complete; the residual gap is error/edge-case behavior, which matters given the paid call.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The single `hash` parameter is documented in the schema only by a 0x+64-hex regex pattern; the description implies it is a transaction hash on Optimism but adds no format, casing, or validity guidance beyond the pattern. With one self-evident required parameter the schema does most of the work, so this sits at baseline adequacy rather than being a gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
A specific verb ("Explain") plus resource ("a Optimism transaction") followed by an enumeration of what is returned: status, fee, decoded method + args, ERC-20 transfers with symbols and human amounts. The chain prefix in the name plus the enumerated fields distinguish it from arbitrum_tx_explain, ethereum_tx_explain and the other per-chain siblings. What is missing is an explicit statement that this is Optimism-only, leaving cross-chain routing to the naming convention alone.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied: an agent can infer that you call this with a transaction hash to understand what a tx did. There is no statement of when to prefer this over calldata_decode or optimism_contract_risk, nor any preconditions such as the tx needing to be mined or on Optimism specifically. The cost note adds practical context but is not usage guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.