{"id":230446,"target_id":"415edfe2f059750b","observed_at":"2026-11-30T16:42:55Z","from_subject":"sha256-pZXnnGbdf0rjmyXJ6SH+EQMhw1U5ZtYwMbmDuntgTZY=","to_subject":"sha256-9RQZL/xRfOrhvWR45Th+/6oLiITpruWD5J+d/Mum3L4=","from_toolset":"sha256-FDjkAjA9QcORSJ2vfJG50IxAM6V7bOZWX7TC9JQx/+Y=","to_toolset":"sha256-KOKPi3iAQThvKE5WkMfaA2LIsReBGjgZSc36/bX8jaI=","summary":{"added":["write_account_adjust_range","write_account_upgrade"],"removed":[],"modified":[{"tool":"write_account_add_liquidity","fields":{"description":[["=","Multi-step flash-action: atomically combines [deposit from wallet] + [use account collateral] + [swap to optimal ratio] + [mint LP] + [borrow if leveraged] in ONE transaction. Do NOT call write_account_deposit separately. Capital sources: wallet tokens (deposits array), existing account collateral (use_account_assets=true), or both. Check allowances first (read_wallet_allowances), then approve if needed (write_wallet_approve). "],["+","With leverage, when the lending pool no longer lends to the account's version, the response is `transactions`: the account upgrade, then this flash-action, simulated as if the account were already upgraded. Sign and broadcast them in order, each after the previous one confirms. "],["=","Supports depositing multiple tokens and minting multiple LP positions in one tx. Works with both margin accounts (can leverage) and spot accounts (no leverage)."],["+"," To move a position the account already holds to a new range, use write_account_adjust_range instead: use_account_assets=true also swaps the account's other collateral into the new position."],["="," For workflows, call read_guides('strategies'). The returned calldata is time-sensitive: sign and broadcast within 30 seconds. If the transaction reverts due to price movement, rebuild and sign again immediately (retry at least once before giving up), passing only the accept_price_checks the user already confirmed. Response includes tenderly_sim_url and tenderly_sim_status for pre-broadcast validation. expected_value_change is in raw units of the account's numeraire token (6 decimals for USDC, 18 for WETH). Negative = cost to open, positive = value gained. Compare before.total_account_value and after.total_account_value for the full picture. If a pool's price is off market or one of its tokens has no price, the tool returns the price warnings, an accept_price_checks list and NO transaction. Show the warnings to the user and call again with that accept_price_checks list only after the user explicitly confirms they accept them. If a later call returns new warnings, even on a rebuild, show them and get a new confirmation before passing their list. The acknowledgement never bypasses a backend refusal."]],"outputSchema":[{"path":"$.\"properties\".\"transactions\".\"items\".\"additionalProperties\"","new":"false"},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"description\".\"type\"","new":"\"string\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"transaction\".\"additionalProperties\"","new":"false"},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"transaction\".\"properties\".\"chainId\".\"type\"","new":"\"number\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"transaction\".\"properties\".\"data\".\"type\"","new":"\"string\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"transaction\".\"properties\".\"to\".\"type\"","new":"\"string\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"transaction\".\"properties\".\"value\".\"type\"","new":"\"string\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"transaction\".\"required\"[0]","new":"\"to\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"transaction\".\"required\"[1]","new":"\"data\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"transaction\".\"required\"[2]","new":"\"value\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"transaction\".\"required\"[3]","new":"\"chainId\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"transaction\".\"type\"","new":"\"object\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"required\"[0]","new":"\"description\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"required\"[1]","new":"\"transaction\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"type\"","new":"\"object\""},{"path":"$.\"properties\".\"transactions\".\"type\"","new":"\"array\""},{"path":"$.\"required\"[0]","old":"\"transaction\""}]}},{"tool":"write_account_borrow","fields":{"description":[["=","Build an unsigned transaction to borrow from an Arcadia lending pool against account collateral. NOT needed for leveraged LP: write_account_add_liquidity handles borrowing internally when leverage > 0. Only works with margin accounts (created with a creditor/lending pool). Spot accounts (no creditor) cannot borrow: the tool will validate this and reject. "],["+","When the lending pool no longer lends to the account's version, the response is `transactions`: the account upgrade, then the borrow. Sign and broadcast them in order, each after the previous one confirms. "],["=","Before borrowing, verify the account has positive free margin via read_account_info: collateral_value must exceed used_margin."]],"outputSchema":[{"path":"$.\"properties\".\"transactions\".\"items\".\"additionalProperties\"","new":"false"},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"description\".\"type\"","new":"\"string\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"transaction\".\"additionalProperties\"","new":"false"},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"transaction\".\"properties\".\"chainId\".\"type\"","new":"\"number\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"transaction\".\"properties\".\"data\".\"type\"","new":"\"string\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"transaction\".\"properties\".\"to\".\"type\"","new":"\"string\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"transaction\".\"properties\".\"value\".\"type\"","new":"\"string\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"transaction\".\"required\"[0]","new":"\"to\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"transaction\".\"required\"[1]","new":"\"data\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"transaction\".\"required\"[2]","new":"\"value\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"transaction\".\"required\"[3]","new":"\"chainId\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"properties\".\"transaction\".\"type\"","new":"\"object\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"required\"[0]","new":"\"description\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"required\"[1]","new":"\"transaction\""},{"path":"$.\"properties\".\"transactions\".\"items\".\"type\"","new":"\"object\""},{"path":"$.\"properties\".\"transactions\".\"type\"","new":"\"array\""},{"path":"$.\"required\"[1]","old":"\"transaction\""}]}},{"tool":"write_account_create","fields":{"description":[["=","Build an unsigned transaction to create a new Arcadia account via the Factory contract. account_version: "],["-","3 with creditor → V3 margin account (can borrow/leverage). account_version: 0 or "],["=","4 →"],["-"," V4"],["="," spot account (no borrowing, creditor is ignored, any ERC20 allowed). "],["+","account_version: 3 or 5 with creditor → margin account (can borrow/leverage), created as V5 where the Factory has registered V5, else as V3. Without account_version: margin when a creditor is given, else spot. account_version: 0 → the Factory's latest version. "],["=","Returns the predicted account address (deterministic via CREATE2)."]],"inputSchema":[{"path":"$.\"properties\".\"account_version\".\"default\"","old":"0"},{"path":"$.\"properties\".\"account_version\".\"description\"","old":"\"Account version: 0 = latest (V4 spot), 3 = margin (can borrow). 1/2 = legacy.\"","new":"\"Account version: 4 = spot, 3 or 5 = margin (can borrow, created as the newest margin version on the chain), 0 = the Factory's latest version. 1/2 = legacy. Omitted: margin with a creditor, else spot.\""},{"path":"$.\"properties\".\"creditor\".\"description\"","old":"\"Lending pool address for V3 margin account. Ignored for V4 spot accounts (version 0 or 4).\"","new":"\"Lending pool address for a margin account (version 5). Ignored for spot accounts (version 4).\""}]}}],"detail":"full","newAddresses":[],"newAddressesTotal":0},"label_id":"urn:uuid:3b59013e-d3d1-466f-b7b2-e60cc7e06c7b","run_id":489530,"from_package_version":null,"to_package_version":null,"from_server_version":"0.7.4","to_server_version":"0.8.0","from_registry_version":"0.7.4","to_registry_version":"0.7.4","name":"io.github.arcadia-finance/mcp-server","endpoint":"https://mcp.arcadia.finance/mcp","title":"Arcadia Finance"}