Skip to main content
Glama

screen_tx_policy

Read-only

Deterministic pre-sign EVM transaction calldata and EIP-712 Permit policy firewall decoding ERC-20 approve/transfer/transferFrom, setApprovalForAll, Permit2, Seaport orders, unlimited approvals, recipient allowlists, and live OFAC sanctions screening. Returns signed Ed25519 audit receipt. Requires $0.005 (5000 atomic) Base USDC.

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

Input Schema

NameRequiredDescriptionDefault
toNoTarget contract or recipient 0x address.
dataNo0x-prefixed hex calldata.
fromNoOptional sender 0x address.
valueNoNative wei value (decimal or 0x hex).
chainIdNoEVM chain ID (e.g. 8453 for Base, 1 for Ethereum).
typedDataNoOptional EIP-712 typedData object (Permit, PermitSingle, PermitBatch, PermitTransferFrom, OrderComponents).
maxSpendUsdNoOptional maximum native spend guardrail.
allowedRecipientsNoOptional allowlist of approved 0x recipients.

Output Schema

NameRequiredDescriptionDefault
okNoWhether the screening check completed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "ok": {
      +      "description": "Whether the screening check completed.",
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the paid model ($0.005 / 5000 atomic Base USDC), the deterministic nature of the check, live OFAC sanctions screening (consistent with openWorldHint), and that a signed Ed25519 audit receipt is produced. It does not explain why idempotentHint is false despite readOnlyHint being true, which is the one behavioral trait an agent might misread.

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 the core purpose and keeps to two sentences, with the payment requirement cleanly separated. The first sentence is a dense run-on list of payload types that trades readability for completeness, but little of it is waste.

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 screening tool with an output schema already defined, the description covers the necessary extras: cost and payment currency, the signed receipt artifact, the deterministic guarantee, and the live sanctions check. An agent has enough to decide, budget, and invoke without further context.

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 every one of the 8 parameters is already documented, including the typedData variants and the USD/native-value guardrails. The description adds coverage scope (which transaction shapes are decoded) but no per-parameter meaning, syntax, or constraints beyond the schema, so the baseline 3 applies.

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

Purpose4/5

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

States a specific verb and resource: deterministic pre-sign screening of EVM calldata and EIP-712 typedData, enumerating the covered payload types (ERC-20 approve/transfer, Permit2, Seaport, unlimited approvals, OFAC screening). An agent can tell this is a calldata/typedData policy auditor rather than an address or URL scanner. It does not name preview_tx_policy or explain how this differs from that sibling, leaving differentiation implicit in 'signed Ed25519 audit receipt'.

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?

The schema-level description says to use it 'before wallet signing', which gives the agent a clear usage moment. However, there is no explicit when-not guidance and no routing to preview_tx_policy despite an obvious sibling for a non-paid/dry-run path. Usage is implied rather than prescribed.

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