Skip to main content
Glama

Agent Kiosk — 23-in-1 B2A Intelligence, Action & x402 API

evm_tx_simulator

Read-onlyIdempotent

Pre-flight EVM Transaction Simulator, Gas Estimator, Revert Reason Decoder, ERC-20 Allowance Checker & EIP-1967 Proxy Detector ($0.005 USDC). Simulates any transaction via eth_call & eth_estimateGas across Base, Ethereum, Arbitrum, Optimism, and Polygon before signing.

Input Schema

NameRequiredDescriptionDefault
toNo0x target smart contract or recipient address
dataNo0x hex calldata to simulate (default: '0x18160ddd')
fromNo0x sender wallet address
chainNoTarget EVM blockchain (default: 'base')
tokenNoOptional 0x ERC-20 token address to verify allowance
valueNoOptional native ETH value in wei or 0x hex
spenderNoOptional 0x spender contract address to verify ERC-20 allowance
tx_hashNoOptional 0x transaction hash to decode receipt
x_api_keyNoOptional ak_live_... 30-day Prepaid API Pass key to unlock the full unmasked dataset
payment_signatureNoOptional x402 v2/v1 Base64 or JSON EIP-3009 USDC payment signature to unlock the full unmasked dataset directly via MCP

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / payment_signature
      Added value: +{
      +  "description": "Optional x402 v2/v1 Base64 or JSON EIP-3009 USDC payment signature to unlock the full unmasked dataset directly via MCP",
      +  "type": "string"
      +}
    • addedInput schema / properties / x_api_key
      Added value: +{
      +  "description": "Optional ak_live_... 30-day Prepaid API Pass key to unlock the full unmasked dataset",
      +  "type": "string"
      +}
  2. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered and the description is consistent with it. Beyond that, the description adds genuine context: the $0.005 USDC cost, the x402 payment path, and the eth_call/eth_estimateGas mechanism, all of which help an agent understand the operation's nature and cost.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The core purpose is front-loaded, which is good, but the first sentence is a dense keyword-stuffed list of five capabilities plus a price tag that reads more like marketing than specification. The second sentence is tighter and more informative, but overall the structure sacrifices clarity for feature enumeration.

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

Completeness3/5

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

With no output schema, the description carries the burden of explaining return values, yet it never describes the shape of the simulation result, gas estimate, or decoded revert reason. Annotations cover safety and parameters are fully documented, but for a simulator tool the absence of any output description is a meaningful gap.

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 100%, so the schema itself documents all ten parameters thoroughly. The description only loosely connects capabilities (allowance checker → token/spender, multi-chain → chain) but adds no syntax or format detail beyond what the schema already provides, so the baseline of 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 ("Pre-flight EVM Transaction Simulator") and adds recognizable sub-capabilities (gas estimation, revert decoding, allowance checking, proxy detection). It also names the RPC methods used and the supported chains, making it distinguishable from siblings like wallet_profiler or defi_swap_quote. The keyword-stuffed feature list slightly blurs the single primary purpose, keeping it from 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?

"before signing" implies the usage context (pre-flight check ahead of submitting a transaction), which is useful. However, there are no explicit when-not conditions and no routing guidance against sibling tools such as defi_swap_quote (which also touches on swaps) or wallet_profiler. Usage is only implied, not stated.

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.