{"name":"Agent Guard","description":"Safety and trust layer for AI agents: PII redaction, scam/phishing text scan, EVM/Solana address validation, IBAN checks, JSON repair, deep on-chain wallet risk scoring, x402 counterparty endpoint reputation checks. Free discovery: /openapi.json, /.well-known/x402, /v1/capabilities, /mcp (tools/list). REST + MCP. Pay with USDC via x402 — no API keys.","mcp":"https://agent-guard.annushka1190.workers.dev/mcp","tags":["Utility","Crypto","Addresses","Safety","MCP"],"discovery":{"openapi":"https://agent-guard.annushka1190.workers.dev/openapi.json","x402":"https://agent-guard.annushka1190.workers.dev/.well-known/x402","capabilities":"https://agent-guard.annushka1190.workers.dev/v1/capabilities","mcp":"https://agent-guard.annushka1190.workers.dev/mcp","note":"capabilities and mcp tools/list are free; tools/call and REST tools are x402-paid"},"tools":[{"method":"GET","path":"/v1/address/format-check","priceUsd":0.001,"summary":"Structural check of a crypto address","description":"Regex-only structural check: confirms 0x + 40 hex characters for EVM, or 32-44 char base58 for Solana. No checksum computed, no RPC call made. Use as a cheap pre-filter before the full checksum check at /v1/address/validate.","params":[{"name":"address","required":true,"description":"EVM 0x… or Solana base58 address"}]},{"method":"GET","path":"/v1/iban/format-check","priceUsd":0.001,"summary":"Structural check of an IBAN","description":"Regex-only structural check: two-letter ISO 3166 country code, two check digits, 10-30 alphanumeric BBAN characters. Mod-97 check digits are NOT computed here. Use as a cheap pre-filter before the full check at /v1/iban/validate.","params":[{"name":"iban","required":true,"description":"IBAN string"}]},{"method":"POST","path":"/v1/json/repair","priceUsd":0.002,"summary":"Repair broken JSON","description":"Parses malformed JSON typically produced by LLM output: strips markdown code fences, removes trailing commas before ]/}, converts single-quoted strings and unquoted object keys to valid double-quoted JSON. Returns the parsed object plus a boolean flag indicating whether a fix was needed.","params":[{"name":"json","required":true,"description":"Malformed JSON string (body.json or body.text)"}]},{"method":"GET","path":"/v1/address/validate","priceUsd":0.003,"summary":"Validate crypto address","description":"EIP-55 mixed-case checksum validation for 0x-prefixed 40-hex-character EVM addresses, or base58 charset/length validation for Solana addresses. Returns valid (boolean), chain (evm|solana), and checksumOk fields.","params":[{"name":"address","required":true,"description":"EVM or Solana address"}]},{"method":"GET","path":"/v1/iban/validate","priceUsd":0.003,"summary":"Validate IBAN","description":"Full ISO 13616 structural check plus ISO 7064 mod-97-10 check-digit verification (the same algorithm banks use). Returns valid (boolean), country code, and the normalized IBAN string.","params":[{"name":"iban","required":true,"description":"IBAN string"}]},{"method":"POST","path":"/v1/pii/redact","priceUsd":0.005,"summary":"Redact PII from text","description":"Detects and masks 5 PII categories in free text via regex: email addresses, phone numbers (8+ digits), card numbers (13-19 digits, Luhn-length), US SSN format (XXX-XX-XXXX), and 64-hex-char strings that match an EVM private key shape. Returns the redacted text plus a per-category match count.","params":[{"name":"text","required":true,"description":"Free text to redact (JSON body)"}]},{"method":"POST","path":"/v1/scam/scan","priceUsd":0.005,"summary":"Scam and phishing text scan","description":"Regex-heuristic scan for 7 known crypto-scam patterns: seed-phrase/recovery-phrase requests, gas-fee-in-advance scams, fake wallet-connect airdrop claims, urgency/pressure language, private-key exfiltration requests, unlimited-token-approval drainer patterns, and fake wallet-support impersonation. Returns a 0-1 score, a high/medium/low label, and the list of matched pattern names.","params":[{"name":"text","required":true,"description":"Free text to scan (JSON body)"}]},{"method":"POST","path":"/v1/wallet/heuristic-flags","priceUsd":0.015,"summary":"On-chain wallet heuristic flags (lightweight)","description":"Live JSON-RPC call to a public node — eth_getCode + eth_getTransactionCount on Base, or getSignaturesForAddress on Solana. Reports contract-vs-EOA, on-chain transaction count / recent signature count, and repeated-character vanity-address pattern detection. Lightweight pre-filter. For deeper scoring use /v1/wallet/risk-score.","params":[{"name":"address","required":true,"description":"Wallet address"},{"name":"network","required":false,"description":"base | solana (default base)"}]},{"method":"POST","path":"/v1/wallet/risk-score","priceUsd":0.025,"summary":"Deep on-chain wallet risk score","description":"Deep risk scoring for a wallet before your agent pays it. Base: contract vs EOA, tx count, ETH balance, USDC balance, vanity patterns, zero/low activity. Solana: recent signatures, SOL balance, USDC token accounts, activity flags. Returns riskScore (0-1), label (low|medium|high|critical), flags[], metrics, and recommendation (safe_to_pay|review|avoid). Designed for agents that need to decide whether to trust a counterparty wallet.","params":[{"name":"address","required":true,"description":"Wallet address"},{"name":"network","required":false,"description":"base | solana (default base)"}]},{"method":"POST","path":"/v1/x402/endpoint-check","priceUsd":0.02,"summary":"x402 counterparty endpoint reputation check","description":"Sends an unauthenticated GET to the given x402 resource URL and checks: does it return HTTP 402, does the accepts[] array include valid payTo/scheme/network/amount fields, is the price under 1.00 USDC, is maxTimeoutSeconds within a normal 5-3600s range, and does /.well-known/x402 exist at the origin. Returns a redFlags array and a 0-1 riskScore — useful before your own agent pays an unfamiliar x402 endpoint.","params":[{"name":"resourceUrl","required":true,"description":"x402 resource URL to probe (body.resourceUrl or body.url)"}]},{"method":"POST","path":"/v1/risk/full-scan","priceUsd":0.04,"summary":"Combined risk report (bundle)","description":"One paid call runs any combination of: text (PII redact + scam scan), address+network (deep on-chain wallet risk score), iban (mod-97 validation), and resourceUrl (x402 endpoint reputation check) — whichever fields you include in the JSON body. Returns each sub-result plus one aggregated overallRiskScore/overallLabel. $0.04 total vs calling the tools separately.","params":[{"name":"text","required":false,"description":"optional text"},{"name":"address","required":false,"description":"optional wallet"},{"name":"network","required":false,"description":"base|solana"},{"name":"iban","required":false,"description":"optional IBAN"},{"name":"resourceUrl","required":false,"description":"optional x402 URL"}]}],"mcpTools":["address_format_check","iban_format_check","json_repair","address_validate","iban_validate","pii_redact","scam_scan","wallet_heuristic_flags","wallet_risk_score","x402_endpoint_check","risk_full_scan"]}