{"ok":true,"protocol":"mcp","protocolVersion":"2024-11-05","transport":"streamable-http","jsonRpcEndpoint":"https://defi.brunopompeo.com.br/mcp","serverInfo":{"name":"base-defi-shield-x402","version":"2.7.1"},"description":"Base & EVM DeFi Pre-Trade Shield: Token Safety, Honeypot, Oracle Divergence & Wallet Risk","capabilities":{"tools":{}},"x402":{"version":2,"network":"eip155:8453","priceUsdc":"0.015"},"tools":[{"name":"base_token_safety_check","title":"Pre-trade token safety check: honeypot, taxes, liquidity and oracle price","description":"Screens one ERC-20 token on Base or another EVM chain right before a swap and returns a verdict SAFE, CAUTION, DANGER or HONEYPOT, a safety score from 0 to 100 and a swap-eligibility decision with a recommended maximum slippage. It combines the GoPlus contract scan and a honeypot.is sell simulation (buy and sell tax, hidden owner, blacklist, mintable, proxy, cannot-sell-all), live DexScreener liquidity, volume and pool age, and a DefiLlama oracle price compared with the DEX price, and lists every finding as a coded flag. Use it as the last guard of a trading or treasury agent before buying an unfamiliar token, or to explain why a token is risky. Do not use it as investment advice or a price forecast, for NFTs or native coins, or for a wallet address, which belongs to evm_wallet_risk_check. Live data: results change as markets move, so call it again right before each trade rather than reusing an old result. Read 'verdict', 'swapEligibility' and 'flags'. Costs 0.015 USDC per call, paid with x402 v2 on Base (eip155:8453) or with a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header instead of an exception, and every failure is a JSON body with ok false and 'error', so an agent loop never breaks on a thrown error. Read-only: it never signs, sends or approves a transaction and holds no keys.","annotations":{"title":"Pre-trade token safety check: honeypot, taxes, liquidity and oracle price","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"inputSchema":{"type":"object","properties":{"address":{"type":"string","description":"Token contract address as 0x followed by 40 hex characters, or on Base one of the tickers WETH, ETH, USDC, USDBC, CBBTC, AERO, VIRTUAL, DEGEN, BRETT, TOSHI, ONDO or CLANKER. Anything else returns ok false with error 'invalid_token_address'."},"chain":{"type":"string","enum":["base","ethereum","arbitrum","optimism","polygon","bsc","avalanche"],"default":"base","description":"Chain the token lives on. Default base. Aliases such as eth, arb, op, matic, bnb, avax or a numeric chain id are also accepted; an unknown value falls back to base."}},"required":["address"],"additionalProperties":false},"outputSchema":{"type":"object","description":"Token safety report. When ok is false only 'error', 'message' and 'supportedChains' are present.","properties":{"ok":{"type":"boolean","description":"False when the address could not be resolved or the call was rejected."},"chain":{"type":"string","description":"Resolved chain key."},"chainId":{"type":"number","description":"EVM chain id, 8453 for Base."},"token":{"type":"object","description":"address, symbol, name and decimals, each null when no source knows it."},"verdict":{"type":"string","enum":["SAFE","CAUTION","DANGER","HONEYPOT"],"description":"HONEYPOT when the token cannot be sold; otherwise DANGER below score 45, CAUTION below 75, SAFE from 75."},"safetyScore":{"type":"number","description":"0 to 100, starting at 100 and reduced by each finding."},"swapEligibility":{"type":"object","description":"eligible (true for SAFE, or CAUTION with at least USD 25,000 liquidity and no oracle failure), maxRecommendedSlippageBps (50, 100 or 250 by liquidity) and reason."},"pricingAndOracle":{"type":"object","description":"dexPriceUsd, oraclePriceUsd, oracleConfidence, divergencePct and oracleAgree ('pass', 'warn' or 'fail')."},"liquidityAndMarket":{"type":"object","description":"primaryDex, pairAddress, pairUrl, topPoolLiquidityUsd, totalChainLiquidityUsd, volume24hUsd, priceChange24hPct, pairAgeHours and txns24h {buys, sells}."},"contractSecurity":{"type":"object","description":"Contract scan: isHoneypot, cannotSellAll, buyTaxPct, sellTaxPct, hiddenOwner, canTakeBackOwnership, isMintable, isProxy, isBlacklisted, tradingCooldown, holderCount, top10HolderPct and more; null where no source answered."},"flags":{"type":"array","items":{"type":"object"},"description":"Findings as {severity: high | medium | low, code, detail}, such as HONEYPOT_DETECTED, HIGH_SELL_TAX, LOW_DEX_LIQUIDITY or ORACLE_PRICE_DIVERGENCE."},"sources":{"type":"object","description":"Which upstreams answered: goPlus, honeypotIsV2, dexScreener, defiLlama. A false entry means less evidence, not a clean result."},"suggestedNextSteps":{"type":"array","items":{"type":"object"},"description":"Advisory follow-up calls, such as a wallet risk check of the deployer."},"meta":{"type":"object","description":"Call metadata: service, version, authMode ('x402' or 'b2b-api-key'), facilitator and processingTimeMs."},"error":{"type":"string","description":"Machine code of the failure, present only when ok is false."},"message":{"type":"string","description":"Human-readable failure detail, present only when ok is false."}},"required":["ok"]}},{"name":"evm_wallet_risk_check","title":"Screen an EVM wallet for phishing, sanctions and laundering flags plus live balances","description":"Screens one EVM address before an agent pays it, approves it or accepts funds from it: GoPlus address-security flags for phishing, theft, sanctions, money laundering, mixers, fake KYC, blacklists and malicious contracts created, rolled up into a risk verdict CLEAN, SUSPICIOUS or MALICIOUS with a score, plus live on-chain facts from an RPC node: whether it is a person's wallet (EOA) or a contract, its transaction count and its ETH and USDC balances on Base. Use it as a counterparty check in payment, payout and escrow flows, or to vet the deployer of a token found by base_token_safety_check. Do not use it to identify who owns a wallet, which it cannot do, or for a token contract's own risk, which base_token_safety_check covers. CLEAN only means no known flag, not a guarantee. Read 'riskVerdict', 'triggeredFlags' and 'accountType'. Costs 0.015 USDC per call, paid with x402 v2 on Base (eip155:8453) or with a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header instead of an exception, and every failure is a JSON body with ok false and 'error', so an agent loop never breaks on a thrown error. Read-only: it never signs, sends or approves a transaction and holds no keys.","annotations":{"title":"Screen an EVM wallet for phishing, sanctions and laundering flags plus live balances","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"inputSchema":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet or contract address, 0x followed by 40 hex characters. ENS names and tickers are not accepted and return ok false with error 'invalid_wallet_address'."},"chain":{"type":"string","enum":["base","ethereum","arbitrum","optimism","polygon","bsc","avalanche"],"default":"base","description":"Chain to screen the address on. Default base."}},"required":["address"],"additionalProperties":false},"outputSchema":{"type":"object","description":"Wallet risk report. When ok is false only 'error' and 'message' are present.","properties":{"ok":{"type":"boolean","description":"False when the address is malformed or the call was rejected."},"chain":{"type":"string","description":"Resolved chain key."},"chainId":{"type":"number","description":"EVM chain id."},"address":{"type":"string","description":"The screened address."},"accountType":{"type":"string","enum":["EOA","CONTRACT"],"description":"EOA for a key-controlled wallet, CONTRACT when code is deployed at the address."},"riskVerdict":{"type":"string","enum":["CLEAN","SUSPICIOUS","MALICIOUS"],"description":"MALICIOUS from score 75, SUSPICIOUS from 40, otherwise CLEAN."},"riskScore":{"type":"number","description":"95 for sanctions, theft or phishing; 80 for two or more flags or malicious contracts created; 55 for one flag; 0 when none."},"triggeredFlags":{"type":"array","items":{"type":"string"},"description":"GoPlus flag names that fired, such as sanctioned, phishing_activities, money_laundering or mixer."},"maliciousContractsCreated":{"type":"number","description":"Number of malicious contracts deployed by this address."},"balances":{"type":"object","description":"nativeEth and usdc as numbers, null when the RPC did not answer."},"txCount":{"type":["number","null"],"description":"Transactions sent from the address (nonce)."},"sources":{"type":"object","description":"goPlusAddressSecurity and onchainRpc: which upstreams answered."},"meta":{"type":"object","description":"Call metadata: service, version, authMode ('x402' or 'b2b-api-key'), facilitator and processingTimeMs."},"error":{"type":"string","description":"Machine code of the failure, present only when ok is false."},"message":{"type":"string","description":"Human-readable failure detail, present only when ok is false."}},"required":["ok"]}}]}