Skip to main content
Glama

Unified Pre-Flight Transaction Guard

preflight_transaction_guard
Read-onlyIdempotent

Read-only, side-effect-free unified pre-sign guardrail returning ALLOW, WARN, or BLOCK with cryptographic HMAC-SHA256 node attestation (10x SLA Service Credit) across EVM (simulation + address safety + EIP-7702) or BTC (consensus simulation + RBF shield) plus optional stablecoin peg risk. Use this as the primary one-call pre-sign gate before executing any EVM or BTC transfer; use simulate_evm_tx, inspect_evm_address_safety, inspect_eip7702_authorization, simulate_raw_transaction, or check_rbf_fraud_shield when you only need a single specialized check.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "protocol": "<protocol>"
    },
    "name": "preflight_transaction_guard"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoRequired for evm protocol
dataNoOptional EVM hex calldata
fromNoRequired for evm protocol
txidNoOptional BTC txid for RBF shield (for btc protocol)
valueNoOptional EVM wei value
chainIdNoRequired for evm protocol
protocolYesTarget transaction protocol
rawTxHexNoOptional signed raw BTC transaction hex (for btc protocol)
stablecoinSymbolNoOptional stablecoin peg risk check

Output Schema

NameRequiredDescriptionDefault
verdictNoDeterministic decision or classification label when applicable
decisionNoFinal pre-flight verdict: ALLOW, WARN, or BLOCK
protocolNoEvaluated protocol (evm or btc)
timestampNoISO-8601 evaluation timestamp when provided
attestationNoHMAC-SHA256 signed node attestation payload

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered; the description nonetheless adds real behavioral context the annotations do not: the three-valued verdict, the HMAC-SHA256 attestation, and the fact that EVM and BTC paths run different check suites. It stops short of disclosing failure modes, verdict thresholds, or what triggers a BLOCK, and includes promotional noise ('10x SLA Service Credit') that adds no operational value.

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?

Two sentences, with the purpose front-loaded before the alternative routing, which is the right ordering. It is dense but slightly overpacked: parenthetical jargon ('10x SLA Service Credit', 'cryptographic HMAC-SHA256 node attestation') inflates the first sentence without helping tool selection.

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?

With 9 parameters, an output schema, and full annotation coverage, the description supplies the missing selection layer (one-call gate vs specialized check) and the protocol branch structure. Minor gap: it does not clarify that several parameters become effectively required for the evm path, though the schema itself labels them 'Required for evm protocol'.

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 schema already carries per-parameter meaning and the protocol-conditional requirements. The description contributes only indirect mapping (protocol selects EVM vs BTC check suites, stablecoinSymbol drives peg risk) and never explains semantics the schema is silent on. Baseline 3 is appropriate when structured fields do the work.

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 names a specific resource and capability: a unified pre-sign guardrail that returns ALLOW/WARN/BLOCK over EVM or BTC, with named sub-checks (simulation, address safety, EIP-7702, RBF shield, stablecoin peg risk). Combined with the explicit alternative list, an agent can distinguish this from every named sibling without opening a 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?

It states the primary use case directly ('primary one-call pre-sign gate before executing any EVM or BTC transfer') and enumerates the exact conditions that select the alternatives ('when you only need a single specialized check'), naming five siblings. Both the when and when-not are explicit.

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