Skip to main content
Glama

EVM wallet risk screen (phishing, sanctions, laundering) + live balances

evm_wallet_risk_check
Read-onlyIdempotent

Screens an EVM wallet for phishing, sanctions, mixers and malicious-contract links; returns CLEAN/SUSPICIOUS/MALICIOUS verdict, live ETH/USDC balance and risk score before paying or onboarding.

Instructions

Screens an EVM wallet with GoPlus address security (phishing, sanctions, stealing attacks, mixers, money laundering, malicious contracts created) and reads live native ETH and USDC balances, transaction count and account type (EOA or CONTRACT) over RPC, returning riskVerdict (CLEAN, SUSPICIOUS, MALICIOUS) and riskScore 0-100. Use it before paying, refunding or onboarding a counterparty wallet, or to check a token deployer flagged by base_token_safety_check. Do not use it to evaluate a token contract (use base_token_safety_check). It is a risk signal, not a legal sanctions determination. Read-only: it never signs or moves funds. Balances are live, so repeat calls can differ. An invalid address returns ok:false with error and message. Billing: 0.015 USDC per call. With X402_PRIVATE_KEY set, the server pays with x402 v2 on Base mainnet (eip155:8453) and refuses locally, before any request, when the price exceeds X402_MAX_USDC_PER_CALL (default 0.05). With BRAZIL_AI_API_KEY set, the call is debited from a prepaid B2B quota instead. With no credentials nothing is charged: the tool returns isError with error "payment_required_x402" plus the decoded paymentRequirements, so call brazil_ai_suite_status first to see the active payment mode. Errors never throw: a spend-cap block ("x402_spend_cap_exceeded"), a non-2xx API answer ({ status, endpoint, body }) or a network failure ("mcp_tool_execution_failed") comes back as an isError result with JSON text, so the agent loop keeps running.

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

Input Schema

NameRequiredDescriptionDefault
chainNoChain for the GoPlus screen: base (default), ethereum, arbitrum, optimism or polygon.
addressYesWallet address to screen (0x + 40 hex chars). Required.

Output Schema

NameRequiredDescriptionDefault
okNotrue when the screen ran; false for invalid input.
metaNoService metadata added by the API on paid calls: service id, version, authMode (x402 or b2b), facilitator and processingTimeMs.
textNoRaw response body, present only when the API answered with non-JSON content (for example format=markdown).
chainNoChain key actually screened.
errorNoStable machine-readable failure code, present only on failure.
addressNoNormalized wallet address.
chainIdNoEVM chain id of the screened chain.
messageNoHuman-readable explanation of the failure, present only on failure.
sourcesNoWhich sources answered: goPlusAddressSecurity, onchainRpc (booleans).
txCountNoOutgoing transaction count (nonce); null if RPC did not answer.
balancesNoLive balances: nativeEth and usdc, as decimal numbers.
riskScoreNo0-100 risk score; 95 for sanctions, phishing or stealing attacks.
accountTypeNoEOA (externally owned account) or CONTRACT.
riskVerdictNoCLEAN (score below 40), SUSPICIOUS (40-74) or MALICIOUS (75+).
triggeredFlagsNoGoPlus flags that fired, e.g. phishing_activities, sanctioned, mixer.
_x402SettlementNox402 settlement receipt decoded from the PAYMENT-RESPONSE header (success flag, transaction hash, network, payer). Present only when the call was paid with an x402 wallet.
maliciousContractsCreatedNoNumber of malicious contracts deployed by this wallet.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.7.1

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the annotations: it sets the limits of the signal ("not a legal sanctions determination"), warns that balances are live so repeat results can differ, describes failure semantics (invalid address returns ok:false; spend-cap, non-2xx and network errors come back as isError text so the loop keeps running), and documents the billing model and spend cap. The "repeat calls can differ" note refines rather than contradicts idempotentHint, which concerns side effects, not identical returns.

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

Conciseness3/5

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

Purpose, verdicts and the sibling exclusion are correctly front-loaded, but the single unbroken block then runs a long payment/credential branch (x402, X402_PRIVATE_KEY, X402_MAX_USDC_PER_CALL, BRAZIL_AI_API_KEY) that dominates the length. Splitting into short labelled sections would preserve the value while making the operational rules 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 screening tool with an output schema, it still states the return shape (riskVerdict values, riskScore range), the error contract, and the payment prerequisites that gate a successful call. Nothing an agent needs in order to invoke it correctly or interpret a failure appears to be missing.

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% and the enum already documents the five chains, so the schema carries both parameters. The description adds only one semantic detail — that an invalid address yields ok:false with error and message — which is useful but does not enrich chain or address meaning beyond the schema.

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?

Opens with a specific verb and resource ("Screens an EVM wallet") and enumerates exactly what the screen covers plus the live balance/RPC data returned. It distinguishes itself from base_token_safety_check both positively (check a deployer flagged by that tool) and negatively (do not use to evaluate a token contract).

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?

Names concrete decision points for use ("before paying, refunding or onboarding a counterparty wallet") and an explicit exclusion with the correct alternative ("Do not use it to evaluate a token contract (use base_token_safety_check)"). It also routes to brazil_ai_suite_status first when no credentials are set, so the agent has a fallback path rather than a dead end.

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