Skip to main content
Glama

Sei transaction

sei_tx
Read-only

Look up a Sei transaction by hash: sender, recipient, value in SEI, nonce, gas limit, the 4-byte function selector and its block. Use to see what was sent or whether it exists; for success or failure and fees paid use sei_receipt, for emitted events sei_logs. Input is a 0x-prefixed 64-hex hash; an unknown hash returns 422, uncharged. Example: hash=0x51ee2bca2ed878b0f576071a0cd21c0f8f129d4de4a545c5a7b3511fa6d048bb. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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

Input Schema

NameRequiredDescriptionDefault
hashYes0x-prefixed transaction hash (64 hex characters)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover readOnly/openWorld/destructive, but the description adds genuinely new behavior: an unknown hash returns 422 and is uncharged, pricing at $0.01/call via x402 or credits, first 10 free, and failed calls free. It also rationalizes idempotentHint=false by explaining that repeats are re-charged, which an agent could not infer from annotations. Minor redundancy in "reads or computes only and changes nothing" restating readOnlyHint keeps this from 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and returned fields are front-loaded, then routing, then input format, then cost and error behavior — a sensible progression with no filler sentences. It is dense to the point of being one run-on paragraph, which slightly reduces scannability.

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?

There is no output schema, and the description compensates by listing exactly what the response contains. For a single-parameter read tool, error semantics, cost, and sibling routing are all present, leaving nothing an agent needs missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the field already documents the 0x-prefixed 64-hex format, so the baseline is 3. The description adds value with a concrete valid example hash and the consequence of passing an unknown one (422, uncharged), giving the agent a format check and failure expectation the schema alone does not.

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 a Sei transaction by hash") and enumerates the returned fields: sender, recipient, value in SEI, nonce, gas limit, 4-byte selector, and block. It also names the sibling tools that cover the adjacent jobs (sei_receipt, sei_logs), so an agent can distinguish it without opening other schemas.

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

Usage Guidelines5/5

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

Explicit when-to-use ("see what was sent or whether it exists") plus two named alternatives with the conditions that select them: success/failure and fees go to sei_receipt, emitted events go to sei_logs. Nothing about routing is left to inference.

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