{"uid":"cap_8g8T5fu-HvGMrPjP1kneD","slug":"barker-vault-position-9295a557","name":"Barker Vault Position","description":"VAULT POSITION (on-chain read): current redeemable value of a wallet's ERC-4626 vault position. Pass the pool_uid (from barker_executable_pools / barker_execution_quote) and the wallet address; Barker resolves the vault contract and reads balanceOf + convertToAssets directly on-chain, returning shares and current_value in the vault's underlying asset (value_asset, e.g. USDC).…","url":"https://mcp.barker.money/barker_vault_position","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["address","pool_uid"],"properties":{"address":{"type":"string","description":"EVM wallet address holding the vault shares (0x + 40 hex)"},"pool_uid":{"type":"string","description":"Barker pool uid of the ERC-4626 vault, e.g. morpho-vault_base_usdc_0xee8f4ec5 (from barker_executable_pools)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_R227sAuvfKYUz1UvSOTtC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x779ded0c9e1022225f8e0630b35a9b54be713736","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current redeemable value of a wallet's ERC-4626 vault position — shares held and current asset value — by reading on-chain data for a given Barker pool and wallet address.","exampleAgentPrompt":"What is the current redeemable value of my vault position in the Morpho USDC pool on Base (pool_uid: morpho-vault_base_usdc_0xee8f4ec5) for my wallet 0xAbCd1234...?","exampleUseCases":[{"title":"Portfolio value check before withdrawal","prompt":"Before I redeem, can you tell me exactly how much USDC I'd get back from my position in the morpho-vault_base_usdc_0xee8f4ec5 pool for wallet 0xAbCd1234ef567890?"},{"title":"DeFi position monitoring dashboard","prompt":"Pull the current vault shares and redeemable USDC value for wallet 0xDead...Beef in the barker pool aave-v3_base_usdc_0xabc12345 so I can update my portfolio tracker."},{"title":"Yield farming P&L calculation","prompt":"I deposited into a Barker vault a month ago — what are my current vault shares and their USDC value now for wallet 0x1234abcd in pool morpho-vault_base_usdc_0xee8f4ec5 so I can calculate my gains?"}],"resultDescription":"Returns the wallet's current vault share balance (shares) and the present redeemable value in the vault's underlying asset (e.g. USDC), computed by calling balanceOf and convertToAssets on-chain. Also returns the value_asset identifier (e.g. USDC contract) so the caller knows which asset the value is denominated in.","failureModes":["Invalid or malformed wallet address (non-0x, wrong length) returns an error","Unknown or unsupported pool_uid not found in Barker's index returns a not-found error","Wallet address holds zero shares — returns zero shares and zero current_value","On-chain RPC call failure or node unavailability may return a transient error","Pool_uid referencing a non-ERC-4626 vault may return an unsupported error"],"whenToPreferThis":"Use this endpoint when you need the live, on-chain redeemable value of a specific wallet's position in a Barker-indexed ERC-4626 vault — particularly before executing a redemption, computing P&L, or monitoring portfolio value. Prefer this over APY/pool data endpoints when the question is 'how much is THIS wallet's position worth right now' rather than 'what is the pool's yield or TVL'.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:41:15.788Z","isFirstParty":false}