Skip to main content
Glama

OnchainCheck Wallet Screen

Prepayment safety check lite

prepayment_safety_check_lite
Read-onlyIdempotent

Is it safe to pay this address? /check without the token score: OFAC SDN screen, who it is (exchange, issuer or verified contract name; mixers and fake claim contracts flagged), wallet age, first funder and large transfers on Base, Ethereum, Arbitrum, Optimism or Polygon (activity on Solana), with the funder and counterparties screened too. Returns ok, caution or block with plain reasons. No chain given: it finds the busiest one. Not legal advice. Costs $0.01 USDC on Base via x402.

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

Input Schema

NameRequiredDescriptionDefault
chainNoChain of the payment. Omit it and a base58 address is checked on solana; a 0x address on the EVM chain where it (or the token) has the most transactions, reported in chainDetection
expectNoWhat the address should be: eoa (a wallet), contract, or any (default); a mismatch gives caution
addressYesAddress you are about to pay or receive from

Output Schema

NameRequiredDescriptionDefault
chainNostring, e.g. "base"
notesNostring, e.g. "Screens only the digital currency addresses that OFAC publi
rulesNostring, e.g. "block if the address or token contract is on the OFAC SDN l
tokenNonull, e.g. null
checksNoobject
expectNostring, e.g. "any"
walletNoobject
addressNostring, e.g. "0x2211d1D0020DAEA8039E46Cf1367962070d77DA9"
reasonsNoarray
summaryNoobject
verdictNostring, e.g. "ok"
sanctionsNoobject
tokenAddressNonull, e.g. null

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, yet the description adds substantial context beyond them: funder and counterparties are screened too, mixers and fake claim contracts are flagged, the return vocabulary is ok/caution/block with plain reasons, and payment is $0.01 USDC on Base via x402, which the agent must know before calling. The 'not legal advice' disclaimer and default chain-detection behavior further bound expectations.

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 description is front-loaded with the decision question and then packs the checks, return values, chain handling and price efficiently. It reads as a dense run-on with somewhat heavy punctuation, but nearly every clause carries actionable information and none is wasted.

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 three parameters, full schema coverage, an output schema and rich annotations, the description supplies everything else an agent needs: what is screened, what verdicts mean, which chains, the chain-selection default, and the paid access mechanism. No material gap remains for correct invocation.

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 coverage is 100%, so the schema already documents address, chain and expect, including the chain-omission fallback. The description restates the chain auto-detection ('No chain given: it finds the busiest one') and the Solana activity nuance without adding syntax or format detail, so it adds little meaning beyond the schema. 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?

The description states a specific question it answers (pre-payment safety), the exact checks performed (OFAC SDN, address classification, wallet age, funder, large transfers, counterparty screening), the supported chains, and the three verdict levels. It separates itself from the fuller variant by noting it runs 'without the token score', though it never names that sibling directly.

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?

Usage is implied by the leading question ('Is it safe to pay this address?'), which frames the decision context well, and the price signal clarifies commitment. However, there is no explicit when-not-to-use guidance and no named alternative for agents that want token-level risk (the full prepayment_safety_check), so the agent must infer the routing.

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