Skip to main content
Glama

DropEngine x402 Agent Services

simulate_transaction

Paid Transaction Preflight ($0.02 USDC on Base). Simulates an unsigned Base transaction before an autonomous agent signs or broadcasts it. Returns RPC execution/revert status, gas estimate, known top-level method decoding, direct ERC-20 transfer/approval calldata, unlimited approval warnings, and machine-readable risk. Standard JSON-RPC does not expose full internal token state changes; do not treat calldata decoding as a complete state diff. Never send a private key or seed phrase. This tool never signs, holds keys, or broadcasts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYes
dataYes
fromYes
chainYes
valueYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYes
cachedYes
successYes
chain_idYes
degradedYes
warningsYes
approvalsYes
checked_atYes
risk_levelYes
risk_scoreYes
estimated_gasYes
gas_price_weiYes
revert_reasonYes
analysis_scopeYes
contract_callsYes
recommendationYes
simulated_blockYes
token_transfersYes
estimated_usd_costYes
simulation_successYes
contract_reputationYes
estimated_native_costYes
native_balance_changesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral disclosure burden. It discloses the $0.02 USDC payment, that it never signs/holds keys/broadcasts, that private keys/seed phrases must never be sent, and that return values include execution status, gas estimate, and risk. It also honestly flags the limitation that calldata decoding is not a complete state diff.

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 four tight sentences with no filler. It front-loads the cost and purpose, then states return values, limitations, and security rules in order of importance. Every sentence earns its place.

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?

An output schema exists, so the description does not need to explain return value structure. It still summarizes the key return categories, cost, safety guarantees, and an important limitation. For a preflight simulation tool, this is sufficient for an agent to invoke it correctly.

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 0%, so the description must compensate. It adds meaningful context by mentioning Base as the chain and ERC-20 transfer/approval calldata, which maps to the data parameter. It does not explain value denomination, the exact meaning of each required field, or hex encoding conventions, so compensation is partial rather than complete.

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 and resource: 'Simulates an unsigned Base transaction before an autonomous agent signs or broadcasts it.' This clearly defines the tool's scope and distinguishes it from signing/broadcasting tools. The sibling set contains no other transaction simulator, so there is no ambiguity.

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?

It explicitly states when to use the tool: before an autonomous agent signs or broadcasts a transaction. It also gives a when-not-to-use warning: 'do not treat calldata decoding as a complete state diff.' However, it does not name a specific alternative tool, so it stops short of full alternative routing.

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