Skip to main content
Glama

transaction_preflight

Paid pre-sign simulation for an unsigned Base transaction. Call immediately before the wallet signs. Returns signed EXECUTE, REVIEW or BLOCK with current-state simulation, gas, revert, balance, nonce and approval-risk evidence. Machine price: $0.002 via x402.

Input Schema

NameRequiredDescriptionDefault
toYesTransaction target address.
dataNoOptional calldata, defaults to 0x.
fromYesSender wallet address.
valueNoOptional native ETH value in wei, decimal or hex.
sourceNoOptional integration source; defaults to mcp.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses that the call is paid ($0.002 via x402), that it returns a signed verdict (EXECUTE/REVIEW/BLOCK), and what evidence is included (simulation, gas, revert, balance, nonce, approval risk). It omits practical mechanics such as how payment is settled, what happens on non-payment, and whether repeated calls are charged each time.

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?

Four short sentences, front-loaded with what the tool is, then when to call it, then what comes back, then cost. Nothing is repeated from the schema and no sentence is 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?

No output schema exists, so the description must describe returns — and it does, enumerating the verdict tokens and evidence categories. It falls slightly short on result structure and on what a BLOCK/REVIEW verdict implies for next steps, but for a 5-parameter simulation call this is close to sufficient.

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% (to, from, data, value, source each documented with patterns and defaults), so the schema already does the parameter work. The description adds no extra semantics about required minimums, wei encoding, or how 'source' affects output — baseline 3 is appropriate.

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 gives a specific verb+resource pair: 'pre-sign simulation for an unsigned Base transaction,' which tells an agent exactly what is computed and on which chain. It stops short of naming which sibling (preflight_x402, token_transaction_verdict, firewall_before_payment) should be used instead in overlapping cases, so differentiation is implied by 'Base transaction' rather than stated.

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?

'Call immediately before the wallet signs' gives a clear temporal trigger for invocation. However, there is no when-not guidance, no naming of alternatives among the many similarly named sibling tools, and no note about behavior when the wallet has already signed or when the transaction is already on-chain.

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