Skip to main content
Glama

Check this is the address you mean, before paying

onyx_preflight

Operational safety check for a payment, separate from risk screening. Detects address poisoning (a lookalike planted in your history so it gets copied instead of the real address), burn addresses, token contracts and other contract recipients that would swallow the tokens (a Safe multisig or an EIP-7702 delegated wallet is reported as a wallet, not a trap), and addresses that behave differently on different chains. Pass known_addresses (the counterparties you already use) to enable poisoning detection. Verdicts: stop, caution, clear, or unknown: on EVM chains the recipient check could not run (retry); on TRON and Solana only the lookalike check exists (partial: true) and known_addresses is required. In our live-traffic sample this class of loss came up far more often than sanctioned counterparties. Dedicated transaction-security services cover part of it; no AML screening does. Run this together with onyx_decide before every payment.

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": {
      "address": "<address>"
    },
    "name": "onyx_preflight"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoThe chain you are about to pay on. The recipient is then judged on that chain (a Safe or a contract exists only where it was deployed). Without it Ethereum and Base are read.
addressYesBlockchain address (TRON, Ethereum or other EVM, Solana)
known_addressesNoAddresses you have used before, so a lookalike can be spotted. Strongly recommended.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / chain
      Added value: +{
      +  "description": "The chain you are about to pay on. The recipient is then judged on that chain (a Safe or a contract exists only where it was deployed). Without it Ethereum and Base are read.",
      +  "enum": [
      +    "ethereum",
      +    "base",
      +    "bsc",
      +    "polygon",
      +    "arbitrum",
      +    "optimism",
      +    "avalanche"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/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 most of it: it names the verdict vocabulary (stop, caution, clear, unknown), explains that EVM recipients can fail to be judged and are retryable, and that TRON/Solana only run the lookalike check and return partial: true with known_addresses required. It does not cover latency, pricing, or permission requirements, but nothing it says conflicts with the read-only nature of a preflight check.

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?

Purpose and scope are front-loaded in the first sentence, and most of the dense parentheticals carry load-bearing detail about traps versus Safe/7702 wallets. The live-traffic sample and 'no AML screening does' sentences lean promotional, though they do support the sibling differentiation; a couple of clauses could be tightened.

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?

No output schema exists, so the description must explain results — and it does, via the four verdict values plus the partial: true and retry semantics. What is missing is the shape of the response beyond the verdict (any per-check details or fields), which matters for a safety-critical check the agent must act on before paying.

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 is 3, but the description adds meaning the schema does not: known_addresses is what actually switches on poisoning detection (and is required on TRON/Solana), and chain determines which chain's contract reality is judged against the recipient. That is real semantic value beyond the field 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?

States a specific verb and resource: an operational safety check on a payment recipient, explicitly separated from risk screening. It enumerates what is detected (address poisoning, burn addresses, token/contract recipients, cross-chain divergence) and distinguishes itself from onyx_decide and AML screening, so an agent can tell it apart from the siblings 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 explicit timing and pairing guidance: 'Run this together with onyx_decide before every payment.' It also tells the caller to pass known_addresses to enable poisoning detection, and states that dedicated transaction-security services cover only part of this while no AML screening does — routing the agent away from treating onyx_screen as a substitute.

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