{"serverId":"mcp-registry/io.github.0xhedgehood/hedgehood-options","tools":[{"name":"borrow_status","fixed":{"name":"borrow_status","description":"Share Lending, BORROW side: the Morpho Blue market that takes hhNVDA-CC fund shares as collateral for USDG — id (discovered from\n        the lending vault at each call; the mainnet market is being migrated to a new oracle), LLTV, the ShareRiskOracle price and status\n        (live / held / unavailable), borrow rate, utilization, supply, borrowed, available — and `my`: collateral, debt (interest to now),\n        borrowing power, health factor, LTV and the liquidation price. Positions left on anoth","inputSchema":{"type":"object","title":"borrow_statusArguments","required":["account"],"properties":{"market":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Market","default":null},"account":{"type":"string","title":"Account"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":217,"tokensAfter":217},{"name":"close_quote","fixed":{"name":"close_quote","description":"The quote that exits `account`'s open position in `instrument` before expiry: reads the position, takes the opposite\n        side (long -> sell, short -> buy), size = min(|position|, quantity or the whole position), and returns the desk's signed\n        quote with the fillOrderAs calldata in fill.send. You must send it with your own key before validUntil\n        (`hedgehood close <instrument> --send` or the npm MCP's close_position); this server never sends. nothing_to_close\n        when the acc","inputSchema":{"type":"object","title":"close_quoteArguments","required":["account","instrument"],"properties":{"account":{"type":"string","title":"Account"},"quantity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quantity","default":null},"instrument":{"type":"string","title":"Instrument"},"session_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Key","default":null}}},"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":262,"tokensAfter":262},{"name":"get_agent_record","fixed":{"name":"get_agent_record","description":"The ERC-8004 Identity Registry record of an agent id and the accounts seen trading under it.","inputSchema":{"type":"object","title":"get_agent_recordArguments","required":["agent_id"],"properties":{"agent_id":{"type":"integer","title":"Agent Id"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":82,"tokensAfter":82},{"name":"get_history","fixed":{"name":"get_history","description":"PAST activity of an account, newest first: fills (your side buy / sell, price, premium, fee), settlements (payout, PnL)\n        and redeems, at most `limit` (<= 500) and after `since` (unix seconds), plus a one-line `summary`. Open positions are\n        get_positions.","inputSchema":{"type":"object","title":"get_historyArguments","required":["account"],"properties":{"limit":{"type":"integer","title":"Limit","default":50},"since":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Since","default":null},"account":{"type":"string","title":"Account"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":167,"tokensAfter":167},{"name":"get_leaderboard","fixed":{"name":"get_leaderboard","description":"Leaderboard per account or per ERC-8004 agent id (by='agent'): fills, premium paid / received, settled PnL.","inputSchema":{"type":"object","title":"get_leaderboardArguments","properties":{"by":{"type":"string","title":"By","default":"account"},"limit":{"type":"integer","title":"Limit","default":25},"order":{"type":"string","title":"Order","default":"settledPnlRaw"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":115,"tokensAfter":115},{"name":"get_mark","fixed":{"name":"get_mark","description":"Model bid / ask / mid (USDG per share), delta and whether a quote would be given. instrument like NVDA-20261016-200-C.","inputSchema":{"type":"object","title":"get_markArguments","required":["instrument"],"properties":{"instrument":{"type":"string","title":"Instrument"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":86,"tokensAfter":86},{"name":"get_pnl","fixed":{"name":"get_pnl","description":"PnL of an account: every position (open / closed / settled) with the desk's mark, unrealized and realized PnL, fees paid\n        and the total, all USDG raw (1e6) signed from the account's side, plus a one-line `summary` in USDG.","inputSchema":{"type":"object","title":"get_pnlArguments","required":["account"],"properties":{"account":{"type":"string","title":"Account"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":114,"tokensAfter":114},{"name":"get_positions","fixed":{"name":"get_positions","description":"ACTIVE positions: open positions, cost basis and leaderboard row of an account (and its ERC-8004 agent id when it has\n        one). Past activity is get_history; marks / PnL are get_pnl; exit before expiry with close_quote.","inputSchema":{"type":"object","title":"get_positionsArguments","required":["account"],"properties":{"account":{"type":"string","title":"Account"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":115,"tokensAfter":115},{"name":"get_quote","fixed":{"name":"get_quote","description":"A signed quote addressed to `account` for `quantity` shares (buy or sell), valid for seconds, with the exact calldata\n        to send to fillOrderAs from the owner key or the given session key, the fee, the decay and a canFill preview (with a\n        session_key it also checks the key's live TRADE session, its spend budget spendLeft and its short-risk budget riskLeft). Sells are close-only: side=sell is quoted only against a long `account` holds in that instrument (else close_only:*);\n        to","inputSchema":{"type":"object","title":"get_quoteArguments","required":["instrument","side","quantity","account"],"properties":{"side":{"type":"string","title":"Side"},"account":{"type":"string","title":"Account"},"quantity":{"type":"string","title":"Quantity"},"instrument":{"type":"string","title":"Instrument"},"session_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Key","default":null}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":265,"tokensAfter":265},{"name":"get_refusals","fixed":{"name":"get_refusals","description":"Why the desk refused quotes to `taker` (your account) in the last 48 h, newest first: code, reason, instrument, side and\n        quantity as asked, plus counts by code and what to do about each code. At most `limit` (<= 500) rows; read-only.","inputSchema":{"type":"object","title":"get_refusalsArguments","required":["taker"],"properties":{"limit":{"type":"integer","title":"Limit","default":50},"taker":{"type":"string","title":"Taker"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":134,"tokensAfter":134},{"name":"how_to_get_test_funds","fixed":{"name":"how_to_get_test_funds","description":"TESTNET only: how to get the test settlement token (TestUSD, hUSD-test, no value). Returns the faucet call (to, data =\n        faucet(): a fixed amount to the caller once per cooldown), the account's balance and next draw time when readable, and the\n        onboarding steps: connect -> faucet -> deposit -> session key -> quote -> fill. Read-only: your own wallet sends the call.\n        Mainnet answers not_on_mainnet (see how_to_deposit).","inputSchema":{"type":"object","title":"how_to_get_test_fundsArguments","properties":{"account":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account","default":null}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":187,"tokensAfter":187},{"name":"lend_status","fixed":{"name":"lend_status","description":"Share Lending, LEND side: the Morpho Vault V2 that lends USDG against Hedgehood fund shares (hhNVDA-CC) on Morpho Blue — vault,\n        total assets, cap and room, the live market's utilization and borrow rate, an approximate supply APY (net of the vault's 10%\n        performance fee), and `my`: the account's vault shares, their USDG value and its wallet USDG. Deposits mint shares at once and\n        earn immediately; a withdrawal needs unborrowed liquidity. Read-only; nothing is sent. Not for U","inputSchema":{"type":"object","title":"lend_statusArguments","required":["account"],"properties":{"account":{"type":"string","title":"Account"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":192,"tokensAfter":192},{"name":"list_instruments","fixed":{"name":"list_instruments","description":"Instruments (expiry x strike x call/put) with their on-chain ids. expiry as YYYYMMDD or unix seconds.","inputSchema":{"type":"object","title":"list_instrumentsArguments","properties":{"expiry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiry","default":null},"underlying":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Underlying","default":null}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":114,"tokensAfter":114},{"name":"list_markets","fixed":{"name":"list_markets","description":"The option markets: underlying, addresses, version, open expiries.","inputSchema":{"type":"object","title":"list_marketsArguments","properties":{}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":52,"tokensAfter":52},{"name":"list_vaults","fixed":{"name":"list_vaults","description":"The Hedgehood OptionVault v2 funds (hhNVDA-CC, hhNVDA-WHEEL, hhGOOGL-CC, ...): stock token, deposit cap and room, total\n        shares, NAV per share (USDG, from the chain), the current epoch (index, phase, cutoff / trade window / expiry, next freeze)\n        and the deposit gate. Vaults are passive weekly premium income held for weeks, not a trade: a deposit queues, becomes shares\n        at the next epoch freeze (up to a week) and shares are redeemed in kind at a later freeze; use the options ","inputSchema":{"type":"object","title":"list_vaultsArguments","properties":{}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":173,"tokensAfter":173},{"name":"vault_status","fixed":{"name":"vault_status","description":"An account's standing in every fund: shares (credited and owed by a frozen deposit), value at NAV, the pending deposit or\n        redemption with its cohort epoch and cutoff, what is claimable, the fund's epoch state and the next step (wait / claim /\n        redeem). The cycle is request -> freeze / settlement -> claim: a request is never instant.","inputSchema":{"type":"object","title":"vault_statusArguments","required":["account"],"properties":{"account":{"type":"string","title":"Account"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":150,"tokensAfter":150}],"toolsChanged":16,"tokensSaved":0,"todo":[{"tool":"borrow_repay_quote","params":["usdg","market","account"]},{"tool":"borrow_status","params":["market","account"]},{"tool":"borrow_supply_collateral_quote","params":["market","shares","account"]},{"tool":"borrow_take_quote","params":["usdg","market","account"]},{"tool":"borrow_withdraw_collateral_quote","params":["market","shares","account"]},{"tool":"close_quote","params":["account","quantity","instrument","session_key"]},{"tool":"get_agent_record","params":["agent_id"]},{"tool":"get_history","params":["limit","since","account"]},{"tool":"get_leaderboard","params":["by","limit","order"]},{"tool":"get_mark","params":["instrument"]},{"tool":"get_pnl","params":["account"]},{"tool":"get_positions","params":["account"]},{"tool":"get_quote","params":["side","account","quantity","instrument","session_key"]},{"tool":"get_refusals","params":["limit","taker"]},{"tool":"how_to_deposit","params":["amount","account"]},{"tool":"how_to_get_test_funds","params":["account"]},{"tool":"lend_deposit_quote","params":["usdg","account"]},{"tool":"lend_status","params":["account"]},{"tool":"lend_withdraw_quote","params":["usdg","account"]},{"tool":"list_instruments","params":["expiry","underlying"]},{"tool":"vault_claim_quote","params":["vault","account"]},{"tool":"vault_deposit_quote","params":["usdg","vault","account"]},{"tool":"vault_redeem_quote","params":["vault","shares","account"]},{"tool":"vault_status","params":["account"]}],"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."}