unisafe LP insight
Server Details
Uniswap v4 LP managers for agents: history, strategies, Watcher, cloud executor, create for USDC.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 29 tools
Tools are grouped into clearly labeled families (manager creation, prepare_* unsigned transactions, executor_*, watch_*, read-only insights) with long descriptions that state step order and 'next' calls, so most selections are obvious. The main fuzziness is that 'prepare_*' is used both for unsigned on-chain transactions (prepare_deposit) and for EIP-712 signing material (watch_prepare, executor_prepare), and quote_create_manager vs prepare_create_manager both read as 'prep for creation' until you read the description. rank_pools vs suggest_move also overlap on comparing a manager's pools, though one ranks and one recommends.
Nearly everything is snake_case with a family prefix (executor_*, watch_*, prepare_*, get_*, list_*), which makes the set scannable. Deviations: noun-first status tools (relayer_status, executor_status, watch_status) mixed with verb-first tools, and 'create_manager' sitting alongside 'quote_create_manager'/'prepare_create_manager' rather than following the same prefix scheme.
29 tools is heavy for a single server, driven by three bolted-together paid services (relayer creation, cloud executor, watcher) each with its own terms/status/subscribe/topup quartet. Individual families are coherent, but the surface as a whole is larger than an agent can reliably navigate in one pass.
Manager creation, deposits, operator grants, idle-balance withdrawal, and read/insight tools (prices, APR, history, watchers, executor status) are well covered. But there is no single-manager detail tool, no tool to withdraw liquidity from positions (explicitly punted to the app's Withdraw page), and actual rebalancing (allocate/recenter/claim/reinvest) is delegated to a separate local server, leaving dead ends for an agent that only has this endpoint.
Available Tools
29 toolscreate_managerCreate a manager (paid, x402)ADestructiveIdempotentInspect
Step 2: pay the quote and have the relayer create the manager. Costs the quoted USDC (usually $0.10, never above what quote_create_manager said without asking again). Without payment the result is an error whose structuredContent is the x402 PaymentRequired: an x402 MCP client retries with the payment in _meta["x402/payment"]; any other client POSTs to payUrl and pays its HTTP 402 with an x402 wallet. If gas rose since the quote a new PaymentRequired comes back and nothing is charged. One quote creates one manager; calling again returns the operation. Returns the operation: status (sent/done/failed), the manager address (from the factory's EnvelopV2Deployment event) once mined, the transaction.
Inputs: quoteId (required).
executor_cancelCloud executor: stop itAIdempotentInspect
Free. Without signature: returns the EIP-712 Revoke typed data for the owner to sign. With message + signature: stops the executor on this manager. The owner can also stop it without us at any time: setOperator(operator, false).
Inputs: chainId (required), manager (required), message, signature.
executor_prepareCloud executor: the Mandate to signARead-onlyInspect
Free. Builds the EIP-712 Mandate the manager's OWNER signs to let the cloud executor run it: manager, strategy and its sha256, operations and USDC a day, expiry. Checks the manager (type from its implementation) and that the strategy fits it. Also says whether the executor is already the manager's operator — if not, the owner first sends setOperator(operator, true) (prepare_set_operator). Sign typedData with eth_signTypedData_v4 within 10 minutes, then executor_subscribe.
Inputs: chainId (required), manager (required), strategy (required), days, +2 more.
executor_statusCloud executor: a manager's mandate, credit and recent workBRead-onlyInspect
Free. Whether the executor runs this manager (and why not), the mandate, the credit left, today's operations and charges, the last ledger entries (top-ups, charges with their transactions) and the engine's recent notes (held decisions, refusals).
Inputs: chainId (required), manager (required).
executor_subscribeCloud executor: turn it onAInspect
Free. Hands the owner-signed Mandate to the executor. Refused unless the signer is the manager's ownerOf(1), the signature is under 10 minutes old and new, the strategy still hashes to what was signed, and the executor is already the manager's operator. Returns the status and telegram: a t.me link the owner opens to get the executor's notes (acted, held a decision, stopped) — handed out only here. Then executor_topup — without credit the executor only observes.
Inputs: chainId (required), message (required), signature (required).
executor_termsCloud executor: termsARead-onlyInspect
Free. Envelop's cloud executor runs a manager on a strategy as its OPERATOR — allocate, recenter, move, claim, reinvest, never withdraw — for owners who cannot run the local envelop-mcp-lp server (claude.ai chat, a phone, any agent with only this URL). Returns the operator address the owner allows, the chains, the price (each sent operation: its gas × 1.5, at least a per-chain minimum), top-up limits, the mandate defaults and the conditions (credit is per manager and not refunded).
Inputs: no named parameters.
executor_topupCloud executor: add credit (paid, x402)ADestructiveInspect
Adds prepaid USDC credit to a manager the executor runs; each sent operation is charged from it (gas × 1.5, at least the chain's minimum). Without payment the result is an error whose structuredContent is the x402 PaymentRequired: an x402 MCP client retries with _meta["x402/payment"]; any other client POSTs to payUrl and pays its HTTP 402. Anyone may pay; the credit only ever pays for this manager's operations and is not refunded.
Inputs: chainId (required), manager (required), amountUsdc (required).
get_operationA relayed creation's statusARead-onlyInspect
Free. The state of quoteId: quoted / expired before payment; paid, sent, done (with manager, its app link and the transaction) or failed (with the reason — a creation that fails after payment is refunded by hand).
Inputs: quoteId (required).
get_position_historyPosition historyARead-onlyInspect
Every position of a manager, or one position by salt: when it opened, its pool, its lifetime fees and its events. Answered from the index, falling back to the Envelop history API and then to a log scan; the answer says which one served it and how current that source is.
Inputs: chainId (required), manager (required), salt.
get_pricesUSD prices and gas costARead-onlyInspect
What things are worth on a chain: token USD prices (the Uniswap gateway's map; the native token, address zero, priced as the chain's WETH), the gas price, and the typical USD cost of each operator operation at it (recenter, move, allocate, reinvest, claim). For weighing whether an operation pays before simulating it — a simulation's own gas estimate is better once there is one. tokens narrows the map and lists the ones it cannot price; derived names known stablecoins the gateway left unpriced, priced from a stablecoin they are pooled with; stale marks a copy served while a refresh fails; gatewayStale: true means the gateway's last answer (gatewayDataAt) is over 3 hours old, so the prices are that old answer's, not current.
Inputs: chainId (required), tokens.
get_strategyOne Think Tank strategy in fullARead-onlyInspect
One strategy by id (think-tank/) or slug: the shelf entry, its playbook, its actions, its agent rules (strategy.json + STRATEGY.md) — returned only when they hash to the sha256 the shelf publishes, otherwise rules.ok: false with the reason — and its manager template (the pools a manager for it is created with). next says how to run it: prepare_create_manager with this strategy, then deposit and an operator, and watch_strategy for the Watcher.
Inputs: id (required).
list_managersManagers a wallet ownsARead-onlyInspect
Every unisafe LP manager (Stable and Volatile) the wallet currently owns, on every chain the Envelop oracle indexes, with the app link for each — the way in when you know the owner and not the managers. Other Envelop wNFTs the wallet holds are left out. An empty list means it owns none; when the oracle cannot answer this is an error, not an empty list.
Inputs: owner (required).
list_operatorsOperators of a managerARead-onlyInspect
Addresses currently authorised to rebalance a manager's positions. They can never withdraw — that is enforced by the contract. On the scan path the answer may be partial, which means a revoked operator could still be listed; from the index it never is.
Inputs: chainId (required), manager (required).
list_strategiesThink Tank strategiesARead-onlyInspect
The strategies the Envelop Think Tank factory has released (the shelf on unisafe's landing and /strategies): id, title, chain, product (stable/volatile), pools, the paper run's live numbers and the backtest, and blocked — null when it may be started now, otherwise why not. fresh says how old the shelf is. Free, read-only. Next: get_strategy(id) for one in full.
Inputs: no named parameters.
prepare_create_managerTx: create a managerARead-onlyInspect
Returns an UNSIGNED transaction {chainId, to, data, value} plus simulation — an eth_call of exactly it from from (ok, or the revert decoded by name) — warnings and next. This server signs nothing: the sender signs and sends it with their own wallet and pays the gas. LPManagerFactory.createManagerNondeterministic on Base, Arbitrum, Unichain or Ethereum; from pays its gas. To create without gas of your own on Base, Arbitrum or Unichain, use quote_create_manager → create_manager instead (Envelop's relayer, paid in USDC; mainnet has no relayer). Anyone may send it; the manager NFT goes to owner. Either strategy (a Think Tank id: its template fixes product and pools) or product + pools. The pool set is fixed forever; the chain's price oracle is wired in. The new address is the proxy of the factory's EnvelopV2Deployment event in the receipt.
Inputs: from (required), owner (required), chainId (required), name, +3 more.
prepare_depositOwner tx: deposit into a managerARead-onlyInspect
Returns an UNSIGNED transaction {chainId, to, data, value} plus simulation — an eth_call of exactly it from from (ok, or the revert decoded by name) — warnings and next. This server signs nothing: the sender signs and sends it with their own wallet and pays the gas. A plain transfer to the manager (an ERC-20 transfer, or a native value send) — managers do not pull, so there is no approve. Amount in raw base units. The funds land idle; an operator or the owner then allocates them into positions.
Inputs: from (required), token (required), amount (required), chainId (required), +1 more.
prepare_set_operatorOwner tx: allow or revoke an operatorARead-onlyInspect
Returns an UNSIGNED transaction {chainId, to, data, value} plus simulation — an eth_call of exactly it from from (ok, or the revert decoded by name) — warnings and next. This server signs nothing: the sender signs and sends it with their own wallet and pays the gas. Owner only. An operator may rebalance (allocate, recenter, move, claim, reinvest) inside the manager's pools and can never withdraw. To hand a manager to an operator agent, allow the address of the local envelop-mcp-lp server's operator wallet.
Inputs: from (required), allowed (required), chainId (required), manager (required), +1 more.
prepare_withdrawOwner tx: withdraw idle fundsARead-onlyInspect
Returns an UNSIGNED transaction {chainId, to, data, value} plus simulation — an eth_call of exactly it from from (ok, or the revert decoded by name) — warnings and next. This server signs nothing: the sender signs and sends it with their own wallet and pays the gas. Owner only. Moves idle balance (not in a position) out of the manager to recipient, one row per token, through the owner escape hatch executeEncodedTxBatch. Liquidity inside positions is withdrawn in the app's Withdraw page, which plans it against live prices.
Inputs: from (required), items (required), chainId (required), manager (required), +1 more.
quote_create_managerQuote: create a manager, gas paid by Envelop's relayerAInspect
Free. Step 1 of having a manager created WITHOUT gas of your own on Base, Arbitrum or Unichain: Envelop's relayer sends LPManagerFactory.createManagerNondeterministic and the manager NFT goes to owner (explicit — never assumed to be the payer). Either strategy (a Think Tank id) or product + pools. Returns quoteId, the price in USDC (gas × 1.2 × fee + L1 fee, × 1.5, at least $0.10 — usually exactly $0.10), the networks to pay on (USDC on Base or Arbitrum), expiresAt (≈2 minutes), the relayer's address, balance and how many creations it has gas for on that chain, and payUrl. Refused, with nothing to pay, when the creation would revert or the relayer is out of gas. Next: create_manager(quoteId).
Inputs: owner (required), chainId (required), name, pools, +2 more.
rank_poolsRank a manager's pools by what they are payingARead-onlyInspect
Fee APR over the last 24 hours for each pool this manager is configured with, best first — the Uniswap gateway's figure, or the subgraph's last complete day for a pool the gateway does not list (aprSource). Only the manager's own pools are candidates: a move can target a pool only if the owner fixed it into the set when the manager was created. Pools that could not be scored are listed separately with the reason — a pool missing from the ranking is not a bad pool. gatewayStale / gatewayDataAt say when the gateway's figures are older than they should be.
Inputs: chainId (required), manager (required).
relayer_statusThe relayer: address, balance, capacityARead-onlyInspect
Free. Envelop's relayer address and, per chain (Base, Arbitrum, Unichain): its ETH balance, the typical cost of one creation in wei and USD, how many creations it has gas for (capacity) and status — ok, low (< 5), empty, paused or unavailable. Anyone may top the relayer up; it is the same snapshot the site footer shows.
Inputs: no named parameters.
suggest_moveSuggest moving a position to a better-paying poolARead-onlyInspect
Compares the position's current pool against the rest of the manager's set and, when the gap is worth it, returns the numbers for a move: destination pool, ticks, and how much liquidity. A pool sharing no currency with the position is suggested only when the manager (v2.2) can bridge to it through another of its own pools; the answer then names that bridge. It returns NUMBERS, never calldata — pass them to the local envelop-mcp-lp server's propose_move, which re-derives each one against chain state and puts it through the policy and the price-oracle guard before anything is signed. The full ranking and the caveats come back with every answer so the suggestion can be disagreed with.
Inputs: salt (required), chainId (required), manager (required), minGainPct.
watch_bindWatcher: share which positions follow a strategyAIdempotentInspect
Free. The owner-signed Bind from watch_prepare(kind: Bind): which positions of the manager follow which strategy, so every browser (and agent) sees it. No positions forgets the binding. No watching, no payment.
Inputs: chainId (required), message (required), signature (required).
watch_cancelWatcher: stop a watchADestructiveIdempotentInspect
Stop watching a manager for a strategy: the owner-signed Unwatch message from watch_prepare(kind: Unwatch). A paid period is not refunded and stays usable.
Inputs: chainId (required), message (required), signature (required).
watch_prepareWatcher: typed data for the owner to signARead-onlyInspect
Step 1 of starting (Watch), stopping (Unwatch) or sharing (Bind) a watch. Returns EIP-712 typedData for the manager's OWNER (ownerOf(1) — signer names them) to sign with their own wallet, valid 10 minutes, and next: the tool to pass {chainId, message, signature} to — watch_subscribe, watch_cancel or watch_bind. This server signs nothing and an agent's own key is not the owner's unless it owns the manager.
Inputs: kind (required), chainId (required), manager (required), strategy (required), +2 more.
watch_statusWatcher: a manager's watchesARead-onlyInspect
A manager's watches (strategy, positions, mode, status, paid until) and the Watcher's current advice per position (due = act now, waiting = out of range, inside the strategy's wait), plus the owner's shared strategy bindings. Public.
Inputs: chainId (required), manager (required).
watch_strategyWatcher: can it follow this strategy?ARead-onlyInspect
Whether the Watcher can follow a strategy, and how: action recenter (it says when to recenter) or notify (it says the position is out of range), and the wait before it speaks. ok: false with a reason — do not ask the owner to sign or pay for it.
Inputs: id (required).
watch_subscribeWatcher: start or update a watch (may be paid)ADestructiveInspect
Step 2 of a Watch: the owner-signed message from watch_prepare. Free inside the manager's paid period or during the beta; otherwise one period costs the priceUsdc watch_terms returns, paid by x402. Without payment the result is an error whose structuredContent is the x402 PaymentRequired: an x402 MCP client retries with the payment in _meta["x402/payment"]; any other client POSTs payBody to payUrl and pays its HTTP 402 with an x402 wallet. extend: true buys one more period now. Returns the watch and a Telegram link for the owner.
Inputs: chainId (required), message (required), signature (required), extend.
watch_termsWatcher: price and termsBRead-onlyInspect
The Watcher (Сторож) follows a manager's positions against a Think Tank strategy and says when the strategy calls for an action (Telegram to the owner; in agent mode it audits the owner's agent). Price per manager per period in USDC (priceUsdc 0 = free beta), periodDays, how payment is taken (x402, in USDC) and the Telegram bot.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Non-custodial DeFi for AI agents: swaps, concentrated liquidity (V3/V4) zaps + ranges, 5 EVM chains
USDC treasury vaults, streaming payments, and DeFi yield for AI agents
Autonomous ERC-8183 Quant Trading Strategy Backtest Auditor & USDC Escrow on Base Mainnet.
Non-custodial USDC yield vaults on Base mainnet with 9 MCP tools for AI agent treasury.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables real-time optimization of Uniswap v3/v4 concentrated liquidity ticks by balancing fee APY against impermanent loss under asset volatility, alongside L2 orderbook imbalance metrics, triangular arbitrage detection, and Bayesian portfolio rebalancing via MCP.7MIT
- AlicenseNot gradedqualityCmaintenanceDeFi execution layer for AI agents - swap, zap in/out of LP, route across AMMs on 5 EVM chains.354 npm7MIT
- AlicenseNot gradedqualityDmaintenanceAgent equity markets, credit markets, and capability staking using USDC on Base L2.MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Uniswap through 17 tools mapped 1:1 to real API endpoints, allowing access to DeFi data and operations via natural language.-
Glama MCP Gateway
Add one secure layer between your agents and this server.