Skip to main content
Glama

Check Before Signing or Sending (Crypto)

crypto_check_before_sign
Read-onlyIdempotent

Before an agent signs or sends from a crypto wallet: send the destination address (to), the page that asked (url) and/or the wallet request it is about to approve (request: the EIP-1193 method and params).

Instructions

Before an agent signs or sends from a crypto wallet: send the destination address (to), the page that asked (url) and/or the wallet request it is about to approve (request: the EIP-1193 method and params). The address is checked for its chain and checksum, the US Treasury OFAC sanctions list, the addresses the FBI published in its alerts, whether Tether froze USDT at it, and pages DechoNet judged dangerous that showed it; the page goes through the phishing link check and the official exchange, wallet and dApp list; the request is read for what approving it would allow (unlimited token approval, approval for a whole NFT collection, Permit/Permit2 signatures, Seaport orders, raw eth_sign, transfers). Verdicts: danger, suspicious, no_signals. no_signals means none of the checks found a warning sign and is not a statement that the transaction is harmless; 'unchecked' lists what was not looked at (balances, token contracts, simulation). Nothing sent is stored. Rate-limited.

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

Input Schema

NameRequiredDescriptionDefault
toNoDestination wallet address (0x…, T…, bc1…, Solana)
urlNoAddress of the page that asked for the signature or transfer (https://…)
requestNoThe wallet request about to be approved

Output Schema

NameRequiredDescriptionDefault
requestNoWhat approving the request would allow
signalsYes
verdictYesdanger: a check found a danger sign; suspicious: a warning sign; no_signals: none of the checks found one — not a statement that the transaction is harmless (see unchecked)
receiptsNoSigned observation receipts behind this result, one per lookup: when, from where and under which rules version DechoNet observed it. Each url shows the record and checks its Ed25519 signature.
uncheckedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.7.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only cover read-only/idempotent safety; the description goes much further, disclosing data sources (OFAC, FBI alerts, Tether freeze list, DechoNet), the verdict vocabulary and its exact semantics, the caveat that 'no_signals' is not a clean bill of health, the 'unchecked' residual field, the no-storage privacy posture, and rate limiting. That is a materially richer behavioral contract than the annotations provide.

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?

The trigger condition is front-loaded and every clause carries content, but the single semicolon-chained paragraph is dense and the check inventory in the middle could be compressed without loss. It is efficiently written for its length, just not scannable.

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 three-input, nested-object tool with an output schema, the description covers everything the agent needs: what is inspected, what the verdicts mean, what 'unchecked' and 'no_signals' do not guarantee, and the privacy/rate-limit constraints. Return-value shape is correctly left to the output schema.

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 real meaning: it explains that 'to' is validated for chain/checksum/history, that 'url' is the requesting page, and that 'request' is parsed for approval semantics (unlimited approvals, Permit2, Seaport, eth_sign). This tells the agent *why* each field matters, not just its shape.

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 opens with a precise verb and timing ('Before an agent signs or sends from a crypto wallet') and enumerates the three inputs it consumes plus the categories of check performed. It is clearly a composite pre-signature gate rather than an address-only or page-only check, so an agent can separate it from the more granular siblings.

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 trigger condition is explicit and front-loaded: call this immediately before signing or sending. It does not, however, state when *not* to use it or name a narrower alternative (e.g. an address-only or link-only check) for cases where only one input is on hand, leaving that routing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.