Skip to main content
Glama

onyx_tx_preflight

Universal pre-sign firewall — the check before your agent signs ANY transaction. Give the tx (to, data, value); Onyx decodes the 4-byte selector + args, tells you in plain terms what it does, and flags the wallet-drain patterns: unlimited approve(), setApprovalForAll (blanket NFT approval), transfers to fresh/EOA recipients, raw ETH sends to unknown addresses, and calls to unverified targets. Returns a SIGNED ALLOW/REVIEW/BLOCK + human explanation. The single highest-frequency safety gate an on-chain agent has — every signed tx should pass through it. (price: $0.10 USDC, tier: metered)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesThe transaction's `to` address (target contract or recipient). Required.
dataNoThe transaction calldata (0x-hex). Omit/empty for a plain ETH transfer.
value_weiNoOptional. ETH value being sent, in wei (base-10 string).

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so richly. It discloses specific behaviors: decoding selectors, flagging particular patterns (unlimited approve, setApprovalForAll, transfers to fresh/EOA, raw ETH sends, unverified targets), and returning a 'SIGNED ALLOW/REVIEW/BLOCK + human explanation.' It also states pricing and tiering.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact yet dense, with each sentence earning its place. It fronts the core purpose, lists flags, specifies output, and ends with practical info (price/tier). No filler or repetition.

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?

Given no output schema, the description adequately explains return values ('SIGNED ALLOW/REVIEW/BLOCK + human explanation') and main usage. It covers parameters and safety patterns. It falls short of covering edge cases or error handling, but for a pre-sign analysis tool the core is complete.

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 baseline is 3. The description adds meaning by explaining the parameter trio '(to, data, value)', noting that data can be omitted for plain ETH transfer, and that value is in wei. This goes slightly beyond the schema's own descriptions.

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 states a specific verb and resource: 'Universal pre-sign firewall' that 'decodes the 4-byte selector + args' and 'flags wallet-drain patterns.' It clearly distinguishes itself from siblings by positioning as the 'single highest-frequency safety gate' for any transaction before signing.

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?

The description explicitly says to use it 'before your agent signs ANY transaction' and that 'every signed tx should pass through it,' giving clear context. However, it does not mention excluded cases or alternative tools (e.g., deeper audits), so it lacks explicit when-not-to-use guidance.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool targets a specific aspect of security or verification, from agent liveness to token risk to transaction preflight, with clear descriptions that prevent confusion. Even similar-sounding tools like tx_guard and tx_preflight cover distinct scenarios.

Naming Consistency5/5

All tools follow a consistent 'onyx_<descriptive_name>' pattern using snake_case, making it easy to infer purpose from the name. No mixing of styles or conventions.

Tool Count4/5

23 tools is on the higher end but justified by the broad scope of security services offered, covering many distinct verification needs without being excessive.

Completeness5/5

The tool set provides a comprehensive surface for agent security, including pre-payment checks, smart contract audits, token risk, merchant verification, and identity attestation. No obvious missing operations for the stated purpose.