Skip to main content
Glama

automaton

txpreflight__preflight

Base agent toolbox. /preflight simulates a tx (revert reason, gas, EIP-1559 fees in ETH and USD) before you sign. /verify reads a receipt and proves a USDC transfer settled: confirmations, amount, sender, recipient. Price: $0.01 per call in USDC on Base (eip155:8453), paid with x402 in params._meta["x402/payment"]. HTTP: GET https://api.firstmention.uk/s/txpreflight/preflight

Input Schema

NameRequiredDescriptionDefault
txNoTransaction hash, 0x + 64 hex
assetNo/verify: ERC-20 to check (default USDC on Base)
pay_toNo/verify: require this recipient
pay_fromNo/verify: require this sender
amount_usdNo/verify: minimum USD that must have transferred

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does well on the commercial/access side: it discloses the $0.01 per-call price in USDC on Base (eip155:8453), the x402 payment location params._meta['x402/payment'], and the HTTP GET endpoint. What it omits is failure behavior and idempotency (does a reverted simulation still cost $0.01?), plus whether this call itself is read-only.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The preflight purpose is front-loaded, but it is padded with boilerplate ('Base agent toolbox'), an HTTP URL, and a full segment about a different endpoint. Roughly half the text does not serve this tool's invocation.

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

Completeness3/5

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

It usefully names the return fields (revert reason, gas, EIP-1559 fees in ETH and USD), which matters since there is no output schema, and it explains payment. But it leaves the central ambiguity unresolved: what the four /verify-scoped parameters do when passed to preflight, and what happens if the tx is not yet found.

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 coverage is 100%, so parameter meanings are already documented in the schema and the description repeats rather than extends them. Worse, the schema itself is ambiguous — four params are tagged '/verify:' inside a tool named preflight, and the description does not clarify that they are inert or ignored when this tool is invoked.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The core action is stated well: '/preflight simulates a tx (revert reason, gas, EIP-1559 fees in ETH and USD) before you sign.' But the description then spends half its length describing '/verify', which is a separate sibling tool (txpreflight__verify) and accounts for 4 of the 5 input parameters. An agent reading this cannot be certain whether this tool also performs verification.

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?

'Before you sign' gives a clear timing cue, which is useful. However, there is no routing guidance to the sibling txpreflight__verify for receipt-proof use, and no statement of when this tool is inappropriate (e.g. already-mined transactions).

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