Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Ingravity Autonomous EVM Security & DeFi Guard ($0.005 x402 v2). If you published it, claim ownership there.

EVM Transaction Firewall

ingravity_inspectEvmTransactionFirewall
Read-onlyIdempotent

Simulates pre-sign EVM calldata (to, data, optional from and wei value defaulting to '0') across five chains (chainId default 8453 Base) to block drainers before wallet signing. Strictly read-only: decodes ERC-20 approve, NFT setApprovalForAll, EIP-2612/Permit2 signatures, and recursive multicall while reading live RPC bytecode and EIP-1967/1167 proxy slots to return SAFE/WARNING/BLOCK_DRAINER (PROCEED/CAUTION/ABORT) and unsigned revocation calldata. Fixed price of $0.10 USDC per call on Base via x402 v2 (unpaid returns isError: true). Call before signing transactions; use ingravity_scanTokenRugpullAndHoneypot for token due diligence without calldata.

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": {
      "to": "<to>"
    },
    "name": "ingravity_inspectEvmTransactionFirewall"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesTarget EVM contract, token, or recipient 42-character hex address (0x...).
ammNoOptional AMM pool reserves ({reserveIn, reserveOut, amountIn, feeBps, userSlippageBps}) to run exact BigInt slippage and MEV sandwich guard inside the same pre-sign call.
dataNoHexadecimal transaction calldata (0x...); pass '0x' for a plain native ETH transfer.
fromNoOptional sender wallet address (0x...) evaluated for allowance context.
valueNoOptional native ETH value in wei as a decimal string.0
chainIdNoTarget EVM chain ID for live RPC bytecode/EIP-1967 inspection (8453 Base, 42161 Arbitrum, 10 Optimism, 137 Polygon, 1 Ethereum; unknown falls back to 8453).
ticketIdNoOptional ZK-EC incident ticket ID (TICKET-8453-...) when requesting optional post-incident Safe-Harbor rescue.
tokenOutNoOptional output ERC-20 token address (0x...) in a DEX swap to inspect for honeypot/freeze traps in the same pre-sign call (auto-extracted from standard Uniswap/Aerodrome swap calldata when omitted).
capitalAtRiskUsdNoOptional transaction value in USD used for risk context labeling.

Output Schema

NameRequiredDescriptionDefault
actionYesPre-sign action recommendation.
signalYesTraffic-light risk signal.
chainIdYesResolved EVM chain ID used for live RPC inspection.
settledYesWhether x402 USDC payment settled cleanly.
verdictYesDetailed firewall classification.
decisionYesNormalized risk decision.
selectorYes4-byte function selector ('0x' for empty calldata, 'INVALID' if malformed hex).
triggersYesTriggered drainer/permission heuristics and RPC checks.
riskScoreYesCumulative risk score from 0 to 100.
decodedActionYesHuman-readable decoded calldata action.
decodedParamsNoDecoded ABI arguments (e.g., spender, operator, owner, value, deadline).
agentDirectiveYesExecution directive explaining how to proceed or revoke.
liveOnChainForensicsNoLive 5-EVM RPC bytecode and EIP-1967 proxy slot inspection (null when unavailable or malformed).
unifiedPreSignDecisionNoNormalized 3-in-1 pre-sign orchestrator verdict ({decision: PROCEED|REVIEW|BLOCK, checksExecuted, tokenOutSafety, ammMevGuard}).
executableRemediationTxNoUnsigned EIP-5792 wallet_sendCalls and approve(spender, 0) revocation calldata when a risky spender is decoded.
savedCapitalEstimateUsdYesEstimated wallet value protected if drainer blocked.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / amm
      Added value: +{
      +  "description": "Optional AMM pool reserves ({reserveIn, reserveOut, amountIn, feeBps, userSlippageBps}) to run exact BigInt slippage and MEV sandwich guard inside the same pre-sign call.",
      +  "properties": {
      +    "amountIn": {
      +      "description": "Swap input amount in atomic units.",
      +      "type": "string"
      +    },
      +    "feeBps": {
      +      "description": "Pool fee in bps (default 30).",
      +      "maximum": 9999,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "reserveIn": {
      +      "description": "Pool input reserve in atomic units.",
      +      "type": "string"
      +    },
      +    "reserveOut": {
      +      "description": "Pool output reserve in atomic units.",
      +      "type": "string"
      +    },
      +    "userSlippageBps": {
      +      "description": "Max slippage tolerance in bps.",
      +      "maximum": 9999,
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / tokenOut
      Added value: +{
      +  "description": "Optional output ERC-20 token address (0x...) in a DEX swap to inspect for honeypot/freeze traps in the same pre-sign call (auto-extracted from standard Uniswap/Aerodrome swap calldata when omitted).",
      +  "type": "string"
      +}
    • addedOutput schema / properties / unifiedPreSignDecision
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Normalized 3-in-1 pre-sign orchestrator verdict ({decision: PROCEED|REVIEW|BLOCK, checksExecuted, tokenOutSafety, ammMevGuard}).",
      +  "type": "object"
      +}
  2. Changed4 schema fields changed
    • changedInput schema / properties / capitalAtRiskUsd / description
      Previous value: -"Optional protected capital value in USD for +0.15% Pre-Flight SLA / Safe-Harbor rescue quoting."New value: +"Optional transaction value in USD used for risk context labeling."
    • changedInput schema / properties / from / description
      Previous value: -"Optional sender wallet address (0x...) also matched against active ZK-EC whale exposure dossiers."New value: +"Optional sender wallet address (0x...) evaluated for allowance context."
    • changedInput schema / properties / ticketId / description
      Previous value: -"Optional ZK-EC blinded exposure ticket ID (TICKET-8453-...) to unseal full remediation coordinates upon x402 rescue settlement."New value: +"Optional ZK-EC incident ticket ID (TICKET-8453-...) when requesting optional post-incident Safe-Harbor rescue."
    • changedOutput schema / properties / executableRemediationTx / description
      Previous value: -"Unsigned EIP-5792 wallet_sendCalls and approve(spender, 0) calldata when spender is decoded (or lock notice when masked in pre-flight tier)."New value: +"Unsigned EIP-5792 wallet_sendCalls and approve(spender, 0) revocation calldata when a risky spender is decoded."
  3. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "to",
      -  "data"
      -]New value: +[
      +  "to"
      +]
  4. Changed2 schema fields changed
    • addedInput schema / properties / capitalAtRiskUsd
      Added value: +{
      +  "description": "Optional protected capital value in USD for +0.15% Pre-Flight SLA / Safe-Harbor rescue quoting.",
      +  "type": "number"
      +}
    • addedInput schema / properties / ticketId
      Added value: +{
      +  "description": "Optional ZK-EC blinded exposure ticket ID (TICKET-8453-...) to unseal full remediation coordinates upon x402 rescue settlement.",
      +  "type": "string"
      +}
  5. Changed9 schema fields changed
    • addedInput schema / properties / chainId / default
      Added value: +8453
    • changedInput schema / properties / chainId / description
      Previous value: -"EVM Chain ID (8453 Base, 42161 Arbitrum, 10 Optimism, 137 Polygon, 1 Ethereum)"New value: +"Target EVM chain ID for live RPC bytecode/EIP-1967 inspection (8453 Base, 42161 Arbitrum, 10 Optimism, 137 Polygon, 1 Ethereum; unknown falls back to 8453)."
    • addedInput schema / properties / chainId / enum
      Added value: +[
      +  8453,
      +  42161,
      +  10,
      +  137,
      +  1
      +]
    • changedInput schema / properties / data / description
      Previous value: -"Hexadecimal transaction calldata (0x...)"New value: +"Hexadecimal transaction calldata (0x...); pass '0x' for a plain native ETH transfer."
    • changedInput schema / properties / from / description
      Previous value: -"Sender wallet address (0x...)"New value: +"Optional sender wallet address (0x...) also matched against active ZK-EC whale exposure dossiers."
    • changedInput schema / properties / to / description
      Previous value: -"Target contract or recipient address (0x...)"New value: +"Target EVM contract, token, or recipient 42-character hex address (0x...)."
    • addedInput schema / properties / value / default
      Added value: +"0"
    • changedInput schema / properties / value / description
      Previous value: -"Native ETH value in wei (decimal string)"New value: +"Optional native ETH value in wei as a decimal string."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "action": {
      +      "description": "Pre-sign action recommendation.",
      +      "enum": [
      +        "PROCEED",
      +        "CAUTION",
      +        "ABORT"
      +      ],
      +      "type": "string"
      +    },
      +    "agentDirective": {
      +      "description": "Execution directive explaining how to proceed or revoke.",
      +      "type": "string"
      +    },
      +    "chainId": {
      +      "description": "Resolved EVM chain ID used for live RPC inspection.",
      +      "type": "integer"
      +    },
      +    "decision": {
      +      "description": "Normalized risk decision.",
      +      "enum": [
      +        "SAFE",
      +        "CAUTION_REQUIRED",
      +        "CRITICAL_RISK"
      +      ],
      +      "type": "string"
      +    },
      +    "decodedAction": {
      +      "description": "Human-readable decoded calldata action.",
      +      "type": "string"
      +    },
      +    "decodedParams": {
      +      "additionalProperties": true,
      +      "description": "Decoded ABI arguments (e.g., spender, operator, owner, value, deadline).",
      +      "type": "object"
      +    },
      +    "executableRemediationTx": {
      +      "additionalProperties": true,
      +      "description": "Unsigned EIP-5792 wallet_sendCalls and approve(spender, 0) calldata when spender is decoded (or lock notice when masked in pre-flight tier).",
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "liveOnChainForensics": {
      +      "additionalProperties": true,
      +      "description": "Live 5-EVM RPC bytecode and EIP-1967 proxy slot inspection (null when unavailable or malformed).",
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "riskScore": {
      +      "description": "Cumulative risk score from 0 to 100.",
      +      "type": "number"
      +    },
      +    "savedCapitalEstimateUsd": {
      +      "description": "Estimated wallet value protected if drainer blocked.",
      +      "type": "string"
      +    },
      +    "selector": {
      +      "description": "4-byte function selector ('0x' for empty calldata, 'INVALID' if malformed hex).",
      +      "type": "string"
      +    },
      +    "settled": {
      +      "description": "Whether x402 USDC payment settled cleanly.",
      +      "type": "boolean"
      +    },
      +    "signal": {
      +      "description": "Traffic-light risk signal.",
      +      "enum": [
      +        "GREEN_LIGHT",
      +        "YELLOW_LIGHT",
      +        "RED_LIGHT"
      +      ],
      +      "type": "string"
      +    },
      +    "triggers": {
      +      "description": "Triggered drainer/permission heuristics and RPC checks.",
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "verdict": {
      +      "description": "Detailed firewall classification.",
      +      "enum": [
      +        "SAFE",
      +        "WARNING",
      +        "BLOCK_DRAINER"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "settled",
      +    "action",
      +    "signal",
      +    "decision",
      +    "verdict",
      +    "riskScore",
      +    "selector",
      +    "decodedAction",
      +    "chainId",
      +    "savedCapitalEstimateUsd",
      +    "agentDirective",
      +    "triggers"
      +  ],
      +  "type": "object"
      +}
  6. Changed1 schema field changed
    • changedInput schema / properties / chainId / description
      Previous value: -"EVM Chain ID (e.g., 8453 for Base)"New value: +"EVM Chain ID (8453 Base, 42161 Arbitrum, 10 Optimism, 137 Polygon, 1 Ethereum)"
  7. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotent/non-destructive, and the description adds substantial context beyond them: the $0.10 USDC x402 v2 pricing model, that unpaid calls return isError: true, the decoding surface (ERC-20 approve, setApprovalForAll, EIP-2612/Permit2, recursive multicall), live RPC/proxy-slot reads, and the exact SAFE/WARNING/BLOCK_DRAINER output vocabulary. That is well beyond what the annotations convey; minor deduction only because the x402 payment flow itself (how the agent is expected to settle) is not described.

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?

Front-loaded with the action and scope, and nearly every clause carries decision-relevant information (price, return codes, sibling routing). It is dense to the point of being a single sprawling sentence-chain, which slightly hurts scannability, but there is no filler to cut.

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 9-parameter tool with a nested AMM object and an output schema, the description covers cost, failure mode (unpaid), chain fallback behavior, and the shape of the verdict. The presence of an output schema means return values need not be detailed further.

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 schema already documents every parameter including the chainId enum and the nested amm object. The description still adds genuine meaning by naming the defaults that matter operationally (value '0', chainId 8453 Base), the five-chain scope, and the semantic of passing '0x' for a plain native transfer, rather than merely restating field names.

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 ('Simulates pre-sign EVM calldata') plus scope ('across five chains') and the outcome ('block drainers before wallet signing'). It also explicitly names the sibling it is not (ingravity_scanTokenRugpullAndHoneypot), so an agent can route 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?

Gives a direct trigger ('Call before signing transactions') and an explicit alternative with its differentiating condition ('for token due diligence without calldata'). The choice between this tool and the sibling is fully determined by the description text.

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