Skip to main content
Glama

Sipiteno agent pre-checks (x402)

Sipiteno Tx Guard (pre-sign check, Base)

tx_guard
Read-onlyIdempotent

Check a Base transaction or EIP-712 signature before your agent signs it. Decodes approve, setApprovalForAll, transfers, EIP-2612 and Permit2 permits, Seaport orders and multicall; flags unlimited approvals, approvals to plain wallets, unverified spenders, OFAC-listed addresses and failing simulations (eth_call). Returns allow, warn or block with reasons. Never signs or sends. POST JSON {to,data,value,from} or {typed_data}. $0.01 USDC on Base. Not charged if Base RPC is unreachable. Paid tool: $0.01 USDC on Base via x402. Without payment it returns the x402 PaymentRequired (isError) - pay and retry with _meta["x402/payment"].

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": "tx_guard"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoTransaction target address (0x…40 hex). Required unless typed_data is given
dataNoCalldata hex (0x…), empty for a plain ETH transfer
fromNoOptional signer address, enables simulation as that wallet and current allowance
valueNoETH value in wei, decimal or 0x hex (default 0)
typed_dataNoOptional EIP-712 payload (eth_signTypedData_v4: domain, types, primaryType, message) instead of a transaction

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld/idempotent annotations: it lists the specific risk categories flagged (unlimited approvals, approvals to EOAs, unverified spenders, OFAC addresses, failing eth_call simulations), the tri-state verdict, and the hard guarantee that it never signs or sends. It also discloses the payment model and the concrete failure mode (x402 PaymentRequired isError without payment, no charge if RPC unreachable).

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-loads purpose, then decoding scope, verdict output, safety guarantee and payment in a logical order. The pricing sentence is stated twice ("$0.01 USDC on Base" and "Paid tool: $0.01 USDC on Base via x402"), which is wasted space in an otherwise dense paragraph.

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?

Given zero required parameters, no output schema and a single-shot POST API, the description supplies everything needed: accepted input shapes, decoded coverage, verdict semantics, safety guarantee, cost, and the exact retry mechanism after an x402 payment error.

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 documents all five parameters including the to-vs-typed_data requirement. The description only restates the two accepted payload shapes (POST JSON {to,data,value,from} or {typed_data}), adding modest framing but no format or constraint detail beyond the schema.

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+resource+timing: "Check a Base transaction or EIP-712 signature before your agent signs it," then enumerates the exact payload families it decodes (approve, setApprovalForAll, EIP-2612, Permit2, Seaport, multicall). An agent can distinguish this from generic trust/sanctions siblings without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear usage context (pre-sign gating, before signing) and implies the decision output (allow/warn/block) that determines follow-up action. It does not explicitly exclude or route to alternatives such as preflight, token_safety or sanctions_screen, so it stops short of the top band.

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