Skip to main content
Glama

Agent Decision & Evidence Tools (MCP + x402)

Transaction status and revert evidence

tx_status
Read-only

Return mined or pending status, success or decoded revert reason, gas used, block and confirmations for a transaction on Base, Ethereum, Arbitrum, Optimism or Polygon.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNobase
tx_hashYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNo
fromNo
logsNo
toolNo
blockNo
chainNo
errorNo
valueNo
statusNo
chargedNoWhen present on an error, false means the failed result is uncharged.
messageNo
missingNo
receiptNo
settledNoWhen present on an error, false means no settlement occurred.
tx_hashNo
unknownNo
acceptedNo
evidenceNo
gas_usedNo
retryableNo
checked_atNo
error_codeNo
extensionsNo
status_codeNo
did_you_meanNo
fee_paid_ethNo
fee_paid_weiNo
confirmationsNo
known_to_nodeNo
revert_reasonNo
missing_checksNo
partial_evidenceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / chain / title
      Removed value: -"Chain"
    • addedInput schema / properties / tx_hash / pattern
      Added value: +"^0x[a-fA-F0-9]{64}$"
    • removedInput schema / properties / tx_hash / title
      Removed value: -"Tx Hash"
    • removedInput schema / title
      Removed value: -"tx_status_toolArguments"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "anyOf": [
      +    {
      +      "required": [
      +        "chain",
      +        "tx_hash",
      +        "status",
      +        "confirmations",
      +        "known_to_node",
      +        "evidence",
      +        "checked_at",
      +        "receipt",
      +        "extensions"
      +      ]
      +    },
      +    {
      +      "required": [
      +        "error"
      +      ]
      +    }
      +  ],
      +  "description": "Structured result contract for tx_status. A success satisfies the documented success branch. A domain or tool error includes error and is not a successful settlement; unpaid x402 requirements are carried by the transport wrapper.",
      +  "properties": {
      +    "accepted": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "block": {
      +      "type": "integer"
      +    },
      +    "chain": {
      +      "type": "string"
      +    },
      +    "charged": {
      +      "description": "When present on an error, false means the failed result is uncharged.",
      +      "type": "boolean"
      +    },
      +    "checked_at": {
      +      "type": "string"
      +    },
      +    "confirmations": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "did_you_mean": {
      +      "additionalProperties": true,
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "error": {
      +      "oneOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "additionalProperties": true,
      +          "properties": {
      +            "code": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "message": {
      +              "type": "string"
      +            },
      +            "param": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "type": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "message"
      +          ],
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "error_code": {
      +      "type": "string"
      +    },
      +    "evidence": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "extensions": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "delivery-receipt": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "how_to_verify": {
      +              "type": "string"
      +            },
      +            "issued_at": {
      +              "format": "date-time",
      +              "type": "string"
      +            },
      +            "issuer": {
      +              "type": "string"
      +            },
      +            "issuer_key": {
      +              "type": "string"
      +            },
      +            "key_id": {
      +              "type": "string"
      +            },
      +            "result_hash": {
      +              "type": "string"
      +            },
      +            "service": {
      +              "type": "string"
      +            },
      +            "signature": {
      +              "type": "string"
      +            },
      +            "signed_message": {
      +              "type": "string"
      +            },
      +            "standard": {
      +              "const": "eucompliance-receipt/2",
      +              "type": "string"
      +            },
      +            "subject": {
      +              "type": "string"
      +            },
      +            "valid_until": {
      +              "format": "date-time",
      +              "type": "string"
      +            },
      +            "verify_url": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "standard",
      +            "service",
      +            "subject",
      +            "result_hash",
      +            "issued_at",
      +            "valid_until",
      +            "issuer",
      +            "issuer_key",
      +            "key_id",
      +            "verify_url",
      +            "how_to_verify",
      +            "signature",
      +            "signed_message"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "delivery-receipt"
      +      ],
      +      "type": "object"
      +    },
      +    "fee_paid_eth": {
      +      "type": "string"
      +    },
      +    "fee_paid_wei": {
      +      "type": "string"
      +    },
      +    "from": {
      +      "type": "string"
      +    },
      +    "gas_used": {
      +      "type": "integer"
      +    },
      +    "known_to_node": {
      +      "type": "boolean"
      +    },
      +    "logs": {
      +      "items": {},
      +      "type": "array"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "missing": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "missing_checks": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "partial_evidence": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "receipt": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "how_to_verify": {
      +          "type": "string"
      +        },
      +        "issued_at": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "issuer": {
      +          "type": "string"
      +        },
      +        "issuer_key": {
      +          "type": "string"
      +        },
      +        "key_id": {
      +          "type": "string"
      +        },
      +        "result_hash": {
      +          "type": "string"
      +        },
      +        "service": {
      +          "type": "string"
      +        },
      +        "signature": {
      +          "type": "string"
      +        },
      +        "signed_message": {
      +          "type": "string"
      +        },
      +        "standard": {
      +          "const": "eucompliance-receipt/2",
      +          "type": "string"
      +        },
      +        "subject": {
      +          "type": "string"
      +        },
      +        "valid_until": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "verify_url": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "standard",
      +        "service",
      +        "subject",
      +        "result_hash",
      +        "issued_at",
      +        "valid_until",
      +        "issuer",
      +        "issuer_key",
      +        "key_id",
      +        "verify_url",
      +        "how_to_verify",
      +        "signature",
      +        "signed_message"
      +      ],
      +      "type": "object"
      +    },
      +    "retryable": {
      +      "type": "boolean"
      +    },
      +    "revert_reason": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "settled": {
      +      "description": "When present on an error, false means no settlement occurred.",
      +      "type": "boolean"
      +    },
      +    "status": {
      +      "enum": [
      +        "pending",
      +        "unknown",
      +        "success",
      +        "failed"
      +      ],
      +      "type": "string"
      +    },
      +    "status_code": {
      +      "type": "integer"
      +    },
      +    "to": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "tool": {
      +      "type": "string"
      +    },
      +    "tx_hash": {
      +      "type": "string"
      +    },
      +    "unknown": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "value": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description does not need to restate safety. It adds useful behavioral nuance by disclosing that it returns decoded revert reasons, pending vs mined status, gas used, block, and confirmations across multiple chains. It does not mention error cases or rate limits, but for a read-only status tool the disclosed behavior is sufficient.

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?

The description is a single, front-loaded sentence with no filler. It efficiently packs the core purpose, returned data fields, and supported chains, and every phrase adds useful information.

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?

Given that an output schema exists to define return values and annotations cover the read-only safety profile, the description gives enough context to invoke the tool correctly: what it returns, for which transaction, and on which chains. No critical detail for a simple status lookup is 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 description coverage is 0%, so the description must carry parameter meaning. It compensates well by listing the five supported chains, which defines the chain parameter, and by referencing 'a transaction' as the target of tx_hash. It does not explicitly tie each parameter name to its meaning or restate the 0x hash format, but the schema pattern and required field cover those details.

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 clearly names the verb 'Return' and a specific resource: mined/pending status, success or decoded revert reason, gas used, block, and confirmations for a transaction. It is unambiguous about what the tool does and semantically separates it from tools like gas_estimate or token_status, but it does not explicitly differentiate it from the closely related tx_preflight sibling.

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?

The description implies usage after a transaction has been submitted by mentioning 'mined or pending status' and 'confirmations', and it gives supported chains. However, it contains no explicit when-to-use or when-not-to-use guidance, and it never references alternatives such as tx_preflight for pre-send checks, so the usage context 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.