Skip to main content
Glama

EVM Transaction Execution Decision

evm_transaction_execution_decision
Read-only

Evaluate an intended EVM transaction before submission using deterministic RPC simulation; chain state can change. USE WHEN: deciding whether to submit a transaction. DO NOT USE for submitted transactions. For chain, use only ethereum or base (case-sensitive); value is hex wei; from_address is the simulated sender, not necessarily the signer. Returns ALLOW, WARN, BLOCK or INCOMPLETE; provider failure yields INCOMPLETE, never ALLOW. ALLOW does not guarantee execution. Never signs or broadcasts.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chain": "base",
      "from_address": "0x267ead21c0a5c1bf7e44cb357641556edc52d232"
    },
    "name": "evm_transaction_execution_decision"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNoEVM calldata hex for contract interaction. Must start with 0x. Empty calldata is represented as "0x".
chainYesEVM network where the transaction would be executed.
valueNoNative value in hex wei (atomic units, 10^18 wei = 1 ETH). Zero means no native value transfer.
to_addressNoIntended recipient address or contract target for the transaction.
from_addressYesActual EVM sender address whose execution context should be simulated. Required because contract behavior may depend on msg.sender, balances, permissions, ownership, or allowlists.

Output Schema

NameRequiredDescriptionDefault
chainYesSelected EVM network.
reasonsYesHuman-readable reasons for the decision.
decisionYesPre-execution decision: ALLOW means simulation succeeded with no blocking signals; WARN means simulation succeeded with cautionary findings (e.g., approvals); BLOCK means deterministic simulation indicates execution would revert; INCOMPLETE means a technical/provider error prevented a conclusive decision.
findingsYesDeterministic factual findings.
providerYesRPC provider identifier.
latency_msYesObserved RPC latency in milliseconds.
counterpartyYesRecipient / counterparty address.
native_valueYesNative value in decimal wei.
estimated_gasNoEstimated gas from eth_estimateGas.
decoded_actionNoDecoded ERC20/ERC1155 action when recognized.
method_selectorYesFirst 4 bytes of calldata.
interaction_typeYesRecognized interaction type.
simulation_statusYesRPC simulation outcome.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "chain": "base",
      +    "from_address": "0x267ead21c0a5c1bf7e44cb357641556edc52d232"
      +  }
      +]
  2. Added

TDQS

A4.7/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: the outcome vocabulary (ALLOW/WARN/BLOCK/INCOMPLETE), the failure mapping (provider failure yields INCOMPLETE, never ALLOW), and the crucial caveat that ALLOW does not guarantee execution. It also clarifies scope limits ('never signs or broadcasts') and the non-determinism source ('chain state can change'). Slightly short of 5 only because it does not state simulability limits, such as whether the simulation runs at latest block or whether approval/state-override dependencies exist.

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?

Front-loads the core action, then layers USE WHEN, DO NOT USE, parameter constraints, return values, and caveats in a dense but zero-waste block. Every sentence carries information an agent needs to invoke the tool correctly; nothing is repeated from the schema or annotations.

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?

For a read-only simulation tool with full schema coverage, an output schema, and rich annotations, this covers the remaining gaps: outcome vocabulary, failure degradation, guarantee limits, and no side effects. An agent has everything needed to decide to call it and to interpret what a returned ALLOW does and does not mean.

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 coverage is 100%, so the baseline is 3, but the description adds genuine meaning: 'chain, use only ethereum or base (case-sensitive)', 'value is hex wei', and 'from_address is the simulated sender, not necessarily the signer' — the last being a real semantic distinction an agent could otherwise get wrong. It says less about data/to_address than the schema already covers, so it does not fully cover every parameter.

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?

States a specific verb and resource: 'Evaluate an intended EVM transaction before submission using deterministic RPC simulation.' It also implicitly separates itself from the evm_* lookup siblings by framing this as a pre-submission decision rather than a data retrieval, so an agent can route without opening the schema.

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

Usage Guidelines5/5

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

Gives explicit inclusion and exclusion criteria: 'USE WHEN: deciding whether to submit a transaction. DO NOT USE for submitted transactions.' The boundary is unambiguous, and no sibling in the catalog performs this same pre-flight decision, so no alternative needs to be named.

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