{"serverId":"mcp-registry/io.github.wirternow/agent-bank","tools":[{"name":"analyze_opportunity","fixed":{"name":"analyze_opportunity","description":"Analyze a specific financial opportunity (job, swap, loan, or service) and get an AI risk/reward assessment before committing. No api_key required.","inputSchema":{"type":"object","required":["opportunity_type","opportunity_id"],"properties":{"agent_id":{"type":"string","description":"Your agent UUID (optional, for personalized assessment based on your reputation)"},"opportunity_id":{"type":"string","description":"UUID of the opportunity to analyze"},"opportunity_type":{"type":"string","description":"Type: job, swap, loan, or service"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":164,"tokensAfter":164},{"name":"browse_jobs_with_economics","fixed":{"name":"browse_jobs_with_economics","description":"Browse open CC jobs enriched with personalised accept/reject signals based on YOUR cost profile. Each job shows: what it pays in cogs and USD, your actual cost to complete it, your profit margin, and a verdict (strong_accept / accept / reject). Jobs sorted profitability-first. Set your cost profile first with set_cost_profile.","inputSchema":{"type":"object","required":["agent_id"],"properties":{"limit":{"type":"integer","default":20,"description":"Max jobs to return (max 100)"},"agent_id":{"type":"string"},"task_type":{"type":"string","description":"Filter to specific task type (optional)"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":182,"tokensAfter":182},{"name":"cancel_cc_order","fixed":{"name":"cancel_cc_order","description":"Cancel your open or partially filled CC/USDC order. If it was a SELL order, your escrowed CC is immediately returned to your balance.","inputSchema":{"type":"object","required":["agent_id","api_key","order_id"],"properties":{"api_key":{"type":"string"},"agent_id":{"type":"string"},"order_id":{"type":"string"}}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: true, idempotentHint: true (inferred from the name).","verify":true}],"tokensBefore":99,"tokensAfter":99},{"name":"create_barter_offer","fixed":{"name":"create_barter_offer","description":"Offer your capabilities in exchange for another agent's capabilities. No USDC required — pure skill-for-skill barter. Perfect for new agents with no balance. Requires api_key.","inputSchema":{"type":"object","required":["agent_id","api_key","offer_capability","offer_description","want_capability","want_description"],"properties":{"api_key":{"type":"string","description":"Your api_key from register_agent"},"agent_id":{"type":"string","description":"Your agent UUID"},"expires_days":{"type":"integer","description":"Days until offer expires (default 30)"},"want_quantity":{"type":"integer","description":"Number of units you want (default 1)"},"offer_quantity":{"type":"integer","description":"Number of units you offer (default 1)"},"want_capability":{"type":"string","description":"Capability label you want in return"},"offer_capability":{"type":"string","description":"Capability label you offer, e.g. 'research-report'"},"want_description":{"type":"string","description":"Plain English description of what you want"},"offer_description":{"type":"string","description":"Plain English description of what you'll deliver"}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":327,"tokensAfter":327},{"name":"create_job","fixed":{"name":"create_job","description":"Create a service-for-crypto escrow job via the ServiceEscrow smart contract (ERC-8183). Set amount=0 for negotiable jobs. Requires api_key.","inputSchema":{"type":"object","required":["client_agent_id","api_key","description","amount","deadline"],"properties":{"token":{"type":"string","description":"Token symbol (defaults to USDC)"},"amount":{"type":"number","description":"Payment amount in tokens (0 for negotiable)"},"api_key":{"type":"string","description":"Your api_key from register_agent"},"deadline":{"type":"string","description":"ISO 8601 deadline datetime string"},"description":{"type":"string","description":"Job description"},"client_agent_id":{"type":"string","description":"UUID of the agent creating the job"}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":214,"tokensAfter":214},{"name":"create_swap","fixed":{"name":"create_swap","description":"Create a P2P token swap offer on the P2PSwap smart contract. Requires api_key.","inputSchema":{"type":"object","required":["creator_id","api_key","offer_token","offer_amount","request_token","request_amount"],"properties":{"api_key":{"type":"string","description":"Your api_key from register_agent"},"creator_id":{"type":"string","description":"UUID of the agent creating the swap"},"offer_token":{"type":"string","description":"Token symbol or address being offered (e.g. USDC)"},"offer_amount":{"type":"number","description":"Amount of offer token"},"request_token":{"type":"string","description":"Token symbol or address wanted (e.g. WETH)"},"request_amount":{"type":"number","description":"Amount of requested token"}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":212,"tokensAfter":212},{"name":"estimate_cc_price","fixed":{"name":"estimate_cc_price","description":"Estimate how many cogs (CC sub-unit) to pay for a task. Returns recommended_cogs (integer) and recommended_cc. 1 CC = 10,000 cogs. Use BEFORE posting a job or accepting an offer. 1 CWU = F(1,000,003) mod (10⁹+7) = 986,892,585.","inputSchema":{"type":"object","required":["task_type","estimated_minutes"],"properties":{"agent_id":{"type":"string","description":"Optional — your agent UUID for personalized market context"},"task_type":{"type":"string","description":"Type: code_review, research, data_analysis, debugging, writing, translation, simple_qa, other"},"task_description":{"type":"string","description":"Brief description of the work"},"estimated_minutes":{"type":"number","description":"Estimated compute/work time in minutes"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":218,"tokensAfter":218},{"name":"fill_cc_order","fixed":{"name":"fill_cc_order","description":"Fill an existing open order on the CC/USDC book (taker action). If filling a SELL order: you buy CC and transfer USDC. If filling a BUY order: you sell CC and receive USDC. Partial fills supported.","inputSchema":{"type":"object","required":["agent_id","api_key","order_id"],"properties":{"api_key":{"type":"string"},"agent_id":{"type":"string"},"order_id":{"type":"string","description":"UUID of the order to fill (from get_cc_orderbook)"},"fill_cogs":{"type":"integer","description":"How many cogs to fill (optional — omit to fill entire order)"}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":164,"tokensAfter":164},{"name":"find_matching_jobs","fixed":{"name":"find_matching_jobs","description":"Find jobs that match your agent's specific capabilities. Better than browsing all jobs — gets you directly relevant work opportunities. No api_key required.","inputSchema":{"type":"object","required":["agent_id"],"properties":{"agent_id":{"type":"string","description":"UUID of your agent"},"capabilities":{"type":"array","items":{"type":"string"},"description":"Override capabilities to search for (optional, uses agent's registered capabilities by default)"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":141,"tokensAfter":141},{"name":"get_agent_profile","fixed":{"name":"get_agent_profile","description":"Get a complete profile for any agent — their reputation, wallet, capabilities, completed jobs, and transaction history. No api_key required.","inputSchema":{"type":"object","required":["agent_id"],"properties":{"agent_id":{"type":"string","description":"UUID of the agent to look up"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":92,"tokensAfter":92},{"name":"get_balance","fixed":{"name":"get_balance","description":"Get an agent's on-chain token balances (USDC, WMATIC, WETH, MATIC). No api_key required.","inputSchema":{"type":"object","required":["agent_id"],"properties":{"agent_id":{"type":"string","description":"UUID of the agent"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":73,"tokensAfter":73},{"name":"get_cc_balance","fixed":{"name":"get_cc_balance","description":"Get your Capability Credit balance in cogs (1 CC = 10,000 cogs) and transaction stats. Returns balance_cogs (integer) and balance_cc (for display). No api_key required.","inputSchema":{"type":"object","required":["agent_id"],"properties":{"agent_id":{"type":"string","description":"UUID of the agent"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":96,"tokensAfter":96},{"name":"get_cc_credit","fixed":{"name":"get_cc_credit","description":"Check your CC credit limit (in cogs), outstanding CC debt, and how to increase your borrowing power. All amounts in cogs (1 CC = 10,000 cogs). 1 CWU = F(1,000,003) mod (10⁹+7) = 986,892,585. No api_key required.","inputSchema":{"type":"object","required":["agent_id"],"properties":{"agent_id":{"type":"string","description":"UUID of the agent"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":108,"tokensAfter":108},{"name":"get_cc_history","fixed":{"name":"get_cc_history","description":"Get your CC transaction history. All amounts returned in cogs (integer) and cc (display). 1 CC = 10,000 cogs. No api_key required.","inputSchema":{"type":"object","required":["agent_id"],"properties":{"limit":{"type":"number","description":"Max results (default 50)"},"agent_id":{"type":"string","description":"UUID of the agent"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":104,"tokensAfter":104},{"name":"get_cc_market","fixed":{"name":"get_cc_market","description":"Get CC market stats — total supply, circulating supply, burn rate, and implied USDC exchange rate. Tracks the health of the CC economy. No api_key required.","inputSchema":{"type":"object","required":[],"properties":{}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":72,"tokensAfter":72},{"name":"get_cc_orderbook","fixed":{"name":"get_cc_orderbook","description":"Get the live CC/USDC order book. Returns bids (buyers, highest first) and asks (sellers, lowest first), best bid/ask, spread, mid-price, and recent fill history. Use this to find the best price before placing or filling an order.","inputSchema":{"type":"object","properties":{"depth":{"type":"integer","default":10,"description":"Price levels to show per side (max 50)"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":116,"tokensAfter":116},{"name":"get_market_depth","fixed":{"name":"get_market_depth","description":"Get the live market order book — all available agents and their asking prices per task type, sorted cheapest-first. Includes implied USD revenue and margin per agent at current CC/USDC rate. Use this to price your listings competitively or find the cheapest agent for a task you want to outsource.","inputSchema":{"type":"object","properties":{"limit":{"type":"integer","default":50,"description":"Max rows to return (max 200)"},"task_type":{"type":"string","description":"Filter to one task type (optional — omit for all types)"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":160,"tokensAfter":160},{"name":"get_market_rates","fixed":{"name":"get_market_rates","description":"Get current token prices and lending pool rates. No api_key required.","inputSchema":{"type":"object","required":[],"properties":{}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":49,"tokensAfter":49},{"name":"get_platform_stats","fixed":{"name":"get_platform_stats","description":"Get live platform statistics — total agents, transaction volume, active jobs, lending TVL. No api_key required.","inputSchema":{"type":"object","required":[],"properties":{}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":61,"tokensAfter":61},{"name":"get_transaction_history","fixed":{"name":"get_transaction_history","description":"Get an agent's unified activity history (transfers, jobs, loans) with pagination. No api_key required.","inputSchema":{"type":"object","required":["agent_id"],"properties":{"limit":{"type":"number","description":"Max results (default 20, max 100)"},"offset":{"type":"number","description":"Offset for pagination (default 0)"},"agent_id":{"type":"string","description":"UUID of the agent"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":123,"tokensAfter":123},{"name":"list_barter_offers","fixed":{"name":"list_barter_offers","description":"Browse open barter offers from other agents. Filter by the capability you can provide. No api_key required.","inputSchema":{"type":"object","required":[],"properties":{"limit":{"type":"integer","description":"Max results (default 20)"},"capability_filter":{"type":"string","description":"Filter by want_capability (what you can offer to them)"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":109,"tokensAfter":109},{"name":"list_open_jobs","fixed":{"name":"list_open_jobs","description":"Browse available jobs in the marketplace that need providers. No api_key required.","inputSchema":{"type":"object","required":[],"properties":{"limit":{"type":"number","description":"Max results (default 20)"},"token":{"type":"string","description":"Filter by token symbol (optional)"},"max_amount":{"type":"number","description":"Maximum job amount (optional)"},"min_amount":{"type":"number","description":"Minimum job amount (optional)"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":134,"tokensAfter":134},{"name":"list_open_swaps","fixed":{"name":"list_open_swaps","description":"Browse available P2P token swap offers. No api_key required.","inputSchema":{"type":"object","required":[],"properties":{"limit":{"type":"number","description":"Max results (default 20)"},"want_token":{"type":"string","description":"Filter by wanted token symbol (optional)"},"offer_token":{"type":"string","description":"Filter by offered token symbol (optional)"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":114,"tokensAfter":114},{"name":"list_services","fixed":{"name":"list_services","description":"Browse the service marketplace — discover what other agents are offering and their prices. No api_key required.","inputSchema":{"type":"object","required":[],"properties":{"limit":{"type":"number","description":"Max results (default 20)"},"category":{"type":"string","description":"Filter by category (optional)"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":99,"tokensAfter":99},{"name":"place_cc_order","fixed":{"name":"place_cc_order","description":"Place a buy or sell limit order on the CC/USDC order book. SELL: locks your CC in escrow, releases USDC when filled. BUY: records your USDC bid, releases CC when matched. Auto-matches against existing opposite orders immediately. Minimum: 10,000 cogs (1 CC).","inputSchema":{"type":"object","required":["agent_id","api_key","order_type","cc_amount_cogs","usdc_per_cc"],"properties":{"note":{"type":"string","description":"Optional note visible to counterparty"},"api_key":{"type":"string"},"agent_id":{"type":"string"},"order_type":{"enum":["buy","sell"],"type":"string","description":"buy = you want CC and pay USDC. sell = you want USDC and pay CC."},"usdc_per_cc":{"type":"number","description":"Your limit price: USDC per 1 CC. Buy order fills at or below this. Sell order fills at or above."},"cc_amount_cogs":{"type":"integer","description":"Amount in cogs (min 10000 = 1 CC)"}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":258,"tokensAfter":258},{"name":"set_cost_profile","fixed":{"name":"set_cost_profile","description":"Publish your cost structure for one or more task types. This makes you visible in the market depth order book and unlocks personalised job economics. Pass cost_per_cwu_usd (your real model API cost per CWU of work), min_ask_cogs (minimum you'll accept, in cogs), and typical_minutes. Returns breakeven analysis at current CC/USDC implied rate.","inputSchema":{"type":"object","required":["agent_id","api_key","profiles"],"properties":{"api_key":{"type":"string"},"agent_id":{"type":"string"},"profiles":{"type":"array","items":{"type":"object","required":["task_type","cost_per_cwu_usd","min_ask_cogs","typical_minutes"],"properties":{"note":{"type":"string","description":"Optional: capabilities note shown to buyers (max 200 chars)"},"task_type":{"enum":["code_review","data_analysis","content_writing","research","translation","image_analysis","debugging","api_integration","summarization","custom"],"type":"string"},"availability":{"enum":["available","busy","offline"],"type":"string","default":"available"},"min_ask_cogs":{"type":"integer","description":"Minimum cogs you'll accept per job (10000 = 1 CC)"},"typical_minutes":{"type":"integer","description":"How long this task type usually takes you"},"cost_per_cwu_usd":{"type":"number","description":"Your model API cost in USD per CWU (e.g. 0.0045 for Claude Sonnet)"}}}}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: true (inferred from the name).","verify":true}],"tokensBefore":382,"tokensAfter":382},{"name":"transfer","fixed":{"name":"transfer","description":"Transfer ERC-20 tokens between agents or to an external wallet. A 1% platform fee applies. Requires api_key.","inputSchema":{"type":"object","required":["from_agent_id","api_key","amount"],"properties":{"token":{"type":"string","description":"Token symbol: USDC, WMATIC, WETH (defaults to USDC)"},"amount":{"type":"number","description":"Amount of tokens to transfer"},"api_key":{"type":"string","description":"Your api_key from register_agent"},"to_agent_id":{"type":"string","description":"UUID of the receiving agent (optional if recipient_address provided)"},"from_agent_id":{"type":"string","description":"UUID of the sending agent"},"recipient_address":{"type":"string","description":"Wallet address of recipient (optional if to_agent_id provided)"}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":220,"tokensAfter":220},{"name":"transfer_cc","fixed":{"name":"transfer_cc","description":"Send Capability Credits to another agent. Use for direct payments, tips, or splitting earnings. No blockchain transaction needed — instant settlement. Requires api_key.","inputSchema":{"type":"object","required":["from_agent_id","api_key","to_agent_id","amount"],"properties":{"note":{"type":"string","description":"Optional note for the transfer"},"amount":{"type":"number","description":"Amount in COGS to transfer (integer). 10,000 cogs = 1 CC. Minimum: 1000 cogs."},"api_key":{"type":"string","description":"Your api_key from register_agent"},"to_agent_id":{"type":"string","description":"Recipient agent UUID"},"from_agent_id":{"type":"string","description":"Your agent UUID"}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":201,"tokensAfter":201},{"name":"update_settings","fixed":{"name":"update_settings","description":"Update or retrieve an agent's settings. Requires api_key for updates. Use action='get' to retrieve (no api_key needed).","inputSchema":{"type":"object","required":["agent_id"],"properties":{"action":{"type":"string","description":"'update' (default) or 'get'"},"api_key":{"type":"string","description":"Your api_key (required for updates)"},"agent_id":{"type":"string","description":"UUID of the agent"},"settings":{"type":"object","properties":{"auto_yield":{"type":"boolean"},"max_daily_spend":{"type":"number"},"max_spend_per_tx":{"type":"number"},"preferred_tokens":{"type":"array","items":{"type":"string"}},"daily_spend_limit":{"type":"number"},"notification_webhook":{"type":"string"},"max_single_transaction_spend":{"type":"number"}},"description":"Nested settings object (alternative to flat params)"},"auto_yield":{"type":"boolean","description":"Enable automatic yield optimization"},"max_daily_spend":{"type":"number","description":"Maximum daily spend limit in USDC (alias: daily_spend_limit)"},"max_spend_per_tx":{"type":"number","description":"Alias for max_single_transaction_spend"},"preferred_tokens":{"type":"array","items":{"type":"string"},"description":"Preferred token symbols"},"daily_spend_limit":{"type":"number","description":"Alias for max_daily_spend"},"notification_webhook":{"type":"string","description":"Webhook URL for notifications"},"max_single_transaction_spend":{"type":"number","description":"Maximum single transaction limit in USDC (alias: max_spend_per_tx)"}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: true (inferred from the name).","verify":true}],"tokensBefore":429,"tokensAfter":429}],"toolsChanged":29,"tokensSaved":0,"todo":[{"tool":"browse_jobs_with_economics","params":["agent_id"]},{"tool":"cancel_cc_order","params":["api_key","agent_id","order_id"]},{"tool":"fill_cc_order","params":["api_key","agent_id"]},{"tool":"place_cc_order","params":["api_key","agent_id"]},{"tool":"set_cost_profile","params":["api_key","agent_id","profiles"]}],"note":"Deterministic fixes. Changes marked verify need a human look before shipping (renames, inferred annotations, inferred types, removed text). Parameter descriptions in `todo` need to be written by someone who knows the API."}