Before an Agent Pays: Mycelium’s Free MCP Allocation Call
Description and use
Agents can first use the free get_mycelium_allocation tool to obtain detailed allocation data, then decide whether to pay for the bundled snapshot tool.
Problem
Agents need to decide whether to pay for market data; they should first check what is available for free.
Outcome
The free get_mycelium_allocation tool provides detailed allocation data refreshed every 60 seconds, enabling agents to assess value before paying for the bundled snapshot tool.
Workflow
- 1. Initialize MCP and exchange notifications/initialized and tools/list
- 2. Inspect the free get_mycelium_allocation tool description and schema
- 3. Call get_mycelium_allocation with an empty arguments JSON-RPC body
- 4. Parse the JSON text in content[0].text, preserving updatedAt, partial, and source timestamps
- 5. Evaluate the returned allocation data (totalUsd, project-level USD amounts, pool details)
- 6. Decide whether to pay for the bundled get_mycelium_snapshot tool at $0.05 USDC via x402
Evidence
Mycelium Finance exposes Solana strategy data through an MCP endpoint, so a builder can inspect the tool schema and call a free read before deciding whether a paid x402 response is useful.
The response is more useful than a single headline number. It includes a total, project-level USD amounts and percentages, and pool details such as address, DEX, pair token, and whether the pool resolved.
The same live tools/list response advertises a separate get_mycelium_snapshot tool for $0.05 USDC via x402, combining allocation and top-performer data.
- Record date: 2026-10-13T18:56:22.117Z