Skip to main content
Glama

simulateTx

Simulate EVM transactions to estimate gas costs, decode revert reasons, and calculate USD fees before execution on multiple chains.

Instructions

트랜잭션을 시뮬레이션합니다 (eth_call + estimateGas, 가스비 USD 환산, revert reason 디코딩)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromYes발신자 주소 (0x...)
toYes수신자/컨트랙트 주소 (0x...)
dataNo호출 데이터 (hex, 0x...)
valueNo전송할 네이티브 토큰 수량 (예: '0.1')0
chainNoEVM 체인ethereum
Behavior3/5

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

With no annotations provided, the description carries full disclosure burden. It successfully reveals key behavioral outputs (USD gas conversion, revert reason decoding, eth_call methodology) but omits critical operational context: it does not explicitly state that this is read-only and state-safe, nor does it mention potential rate limits or that 'from' address must be valid for simulation even without signing.

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?

Extremely efficient single-sentence structure front-loaded with the action verb. Parenthetical enumeration of three distinct capabilities (eth_call+estimateGas, USD conversion, revert decoding) packs maximum information density without redundancy. Every element earns its place.

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

Completeness4/5

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

In absence of an output schema, the description commendably identifies the three key return components (gas estimate, USD value, revert reason). However, it stops short of describing the return structure format or error handling patterns, which would be necessary for complete context given the tool's complexity.

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%, establishing a baseline of 3. The description adds implicit context via 'eth_call + estimateGas' which hints at the Ethereum transaction structure (to/data/value), but does not add explicit syntax guidance, validation rules, or format details beyond what the schema already provides.

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?

The description uses a specific verb ('시뮬레이션합니다'/simulates) with clear resource (transaction) and technical scope. Parenthetical details (eth_call + estimateGas, USD conversion, revert decoding) precisely distinguish it from siblings like decodeTx (post-hoc decoding) and getTxStatus (live transaction monitoring) by emphasizing pre-execution simulation capabilities.

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?

While 'simulation' implies pre-flight usage before submission, the description lacks explicit guidance on when to choose this over alternatives (e.g., 'use before submitting transactions' or 'not for querying confirmed transaction status'). The usage relative to siblings is implied by functionality rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/calintzy/evmscope'

If you have feedback or need assistance with the MCP directory API, please join our Discord server