Skip to main content
Glama

base_tx

Read-onlyIdempotent

A transaction exactly as the chain has it — A Base transaction by hash, unedited: from, to, value in wei and ETH, nonce, gas, fee caps, type, and the 4-byte method selector with the calldata size. Flags a contract creation (null to) and a still-pending transaction (null block) rather than leaving you to infer either. Unknown hashes answer found:false, not an error. Required input: hash. Priced $0.002 per call over x402 on Base; send a prepaid x-credit-token header for unlimited calls, or get 1 free call/day per tool. No API key required.

Input Schema

NameRequiredDescriptionDefault
hashYesTransaction hash

Output Schema

NameRequiredDescriptionDefault
dataNoThe result payload. Shape is service-specific; every field is documented in the tool description.
serviceNoThe service id that answered.
checkedAtNoISO-8601 timestamp of when the underlying reads were taken.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / data / description
      Previous value: -"The result payload. Shape is service-specific; every field is documented in the service description above."New value: +"The result payload. Shape is service-specific; every field is documented in the tool description."
  2. Changed1 schema field changed
    • removedOutput schema / required
      Removed value: -[
      -  "data"
      -]
  3. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the bar is lower. The description still adds real value beyond them: it flags contract creation (null to) and pending transactions (null block) instead of forcing inference, and specifies the found:false semantics for unknown hashes. Pricing and payment mechanics ($0.002/call, x-credit-token header, 1 free call/day, no API key) are also disclosed, though auth/rate-limit behavior is only lightly touched.

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?

The purpose is front-loaded in the first clause, followed by return fields, edge cases, and pricing in a logical order. It is somewhat long at six sentences, and listing value 'in wei and ETH' is mildly redundant, but nearly every sentence carries distinct information (edge flags, error semantics, pricing).

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

Completeness5/5

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

With an output schema present the description needn't explain return values, yet it still summarizes fields and, more importantly, covers the behavioral gaps an agent needs: edge-case flags, not-found semantics, and payment requirements. Nothing an agent needs to invoke base_tx correctly is missing.

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 100% for the single 'hash' parameter, so the schema already carries the semantics. The description restates that hash is required but adds no format guidance (hex length, 0x prefix) beyond what the schema provides, so 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 states a specific verb+resource: fetch a Base transaction by hash, returning it 'exactly as the chain has it — unedited.' The explicit field enumeration (from, to, value in wei and ETH, nonce, gas, fee caps, type, method selector) makes the scope unambiguous. It distinguishes itself implicitly from decode/explain siblings via the 'unedited' framing, but names no sibling explicitly, so it lands just short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the required input ('Required input: hash') and clarifies that unknown hashes answer found:false rather than erroring, which is useful edge guidance. However, it never says when to reach for base_tx versus base_receipt, tx_decode, or ai_tx_explain, so usage is only implied.

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