Skip to main content
Glama

x402, crypto, defi, base, usdc, evm, security, sec-edgar, news, web-search

All-in-one pre-sign calldata & EIP-712 security suite

workflow_tx_guardian
Read-onlyIdempotent

[$0.04] Trigger When: vetting an EVM tx or off-chain Permit2/EIP-712 signature. Workflow Outcome: runs calldata/typed-data decode, bytecode & taint audit, eth_call simulation, and safe rewrite. Do not use for protocol TVL/circuit-breaker audits (use workflow_protocol_audit) or token-only bytecode scans (use token_contract_audit). Supply to+data for calldata simulation, typed_data for off-chain EIP-712/Permit2 vetting, or both; from_addr enables sender-accurate eth_call. Live RPC/bytecode/taint check, read-only non-custodial (no broadcast); requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "workflow_tx_guardian"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoTarget 0x contract or recipient address
dataNo0x-prefixed hex calldata0x
chainNoEVM chain (base, ethereum, arbitrum, optimism)base
from_addrNoOptional sender 0x address for eth_call simulation
typed_dataNoOptional EIP-712 / Permit2 / Seaport typed-data JSON

Output Schema

NameRequiredDescriptionDefault
chainNo
flagsNo
cachedNo
degradedNo
endpointNo
gas_gweiNo
risk_scoreNo
rpc_sourceNo
simulationNo
taint_hitsNo
non_custodialNo
bytecode_auditNo
schema_versionNo
attestation_sigNo
calldata_analysisNo
exploit_feed_hitsNo
typed_data_analysisNo
recommended_private_rpcNo
safe_to_sign_or_broadcastNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, it discloses that the check is performed against live RPC/bytecode/taint data, that nothing is broadcast (non-custodial read), and that payment is required via x402 USDC or Stripe MPP with 10 free lifetime calls at 30-60 req/min, plus a $0.04 cost tag. These are operationally decisive facts an agent cannot get from readOnlyHint/destructiveHint/openWorldHint alone.

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?

The labeled 'Trigger When' / 'Workflow Outcome' / 'Do not use' structure front-loads the decision-relevant information, and the cost tag leads. It is dense but every clause carries routing, parameter, or payment information; only the 'safe rewrite' phrase is left unexplained within an otherwise tight block.

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 an output schema present and full parameter coverage, the definition need not describe return values, and it already covers pricing, auth, rate limits, and alternative routing. The only residual gap is what the 'safe rewrite' output is and how chain support behaves across the four listed networks.

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 would be 3; the description earns more by explaining the conditional relationship between parameters (calldata path needs to+data, off-chain path needs typed_data, either or both, and from_addr only affects eth_call sender accuracy). It does not clarify defaults such as chain selection implications, but the combinatorial semantics are a real addition.

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 definition uses a concrete verb-plus-resource framing ('runs calldata/typed-data decode, bytecode & taint audit, eth_call simulation, and safe rewrite') and explicitly scopes itself to pre-sign vetting of EVM transactions and EIP-712/Permit2 signatures. It also names the siblings it is not (workflow_protocol_audit, token_contract_audit), so an agent can route without opening either 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 an explicit trigger ('vetting an EVM tx or off-chain Permit2/EIP-712 signature') and explicit exclusions with named alternatives for both TVL/circuit-breaker audits and token-only bytecode scans. The input-combination guidance ('to'+'data' vs 'typed_data' vs both) further tells the agent how to invoke it correctly in each case.

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