Skip to main content
Glama

simulate

Will this Base transaction revert? Prospective-tx dry-run via eth_simulateV1: pass from, to, optional data (0x calldata) and value (wei) and get will_revert + revert_reason + gas_used + token asset_changes BEFORE the agent spends gas sending it. Keyless, Base-native, Tenderly/Alchemy-class output with no API key. Use before a swap/approve/transfer or alongside gate_swap. Cost: $0.005 USDC per call via x402.

Input Schema

NameRequiredDescriptionDefault
toYesTarget contract or address (0x, Base) — required
dataNoOptional 0x calldata (omit for a plain transfer)
fromYesSender (0x, Base) — required
valueNoOptional wei to send (decimal or 0x hex)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden and does well: it states the return fields (will_revert, revert_reason, gas_used, asset_changes), discloses the cost ($0.005 USDC via x402), and confirms keyless/no-API-key operation. It doesn't explicitly say it sends no transaction or whether payment must be pre-approved, which keeps it short of 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?

Front-loaded with the core question and dry-run mechanism, then returns, then usage. Dense and mostly waste-free, though 'Keyless ... with no API key' repeats the same point and 'Tenderly/Alchemy-class' is marketing filler.

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?

For a 4-param simulation with no output schema and no annotations, the description is nearly self-sufficient: it names the return fields, the payment model, and the pre-send use case. A small gap remains around x402 payment mechanics and whether any state is affected.

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 baseline is 3. The description largely restates the schema (from, to, optional 0x data, value in wei) without adding format or constraint detail the schema doesn't already cover.

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?

Opens with a specific question ('Will this Base transaction revert?') and a concrete verb+resource: a prospective-tx dry-run via eth_simulateV1 on Base. It distinguishes itself from general chain tools, but never names or differentiates itself from the sibling simulate_preview, leaving ambiguity about which simulation variant to pick.

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

Usage Guidelines4/5

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

Explicit context: 'Use before a swap/approve/transfer or alongside gate_swap.' The pre-send timing is clear. However, there is no exclusion guidance and no mention of when simulate_preview or chain_tx would be the better choice.

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.