search_defi_knowledge
Search a curated DeFi knowledge base to understand Base chain protocols and concepts before using related tools. Get instant explanations on topics like flash loans, AMMs, MEV, and gas optimization.
Instructions
Search a curated DeFi knowledge base covering Base chain DeFi protocols and concepts. Uses keyword matching against 15 entries on: flash loans, AMMs, Uniswap V3, MEV, x402, ERC-8004, Base chain, Aave, impermanent loss, liquidations, oracle manipulation, gas optimization, Aerodrome, sqrtPriceX96 math, and MCP protocol. Returns up to 5 matching entries ranked by relevance, each with id, title, tags, and full content. No on-chain calls — instant response. Free tier — no payment in standalone mode; $0.001 USDC via x402 on the resource server. Use this before calling get_dex_price or compute_agent_score to understand the underlying concepts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Keyword search query (2–200 characters). Matched against entry titles, tags, and content. Examples: 'flash loan arbitrage', 'Uniswap V3 price calculation', 'MEV protection', 'x402 payment protocol', 'ERC-8004 agent registry'. Returns an empty result set (count: 0) if no entries match. |