Tools provided
Tools the agent exposes — your AI client calls them automatically when it needs them.
- list_metrics — Free. Lists every DripMetrics metric endpoint with its id, family, HTTP method, USD price, and summary. Use describe_metric for parameter details and get_metric (or the compute_* tools for POST endpoints) to fetch values. Paid fetches use x402 (USDC on Base); discovery is free.write
- describe_metric — Free. Returns full details for one metric id from list_metrics: parameters, request/response schemas, price, and how to fetch it.write
- get_payment_requirements — Free. Dry-runs a metric request without payment and returns the exact x402 challenge the API issues (accepted networks, asset, amount, payTo). Invalid parameters fail here before any payment.write
- get_metric — Paid via x402 (up to $0.25 per request; exact price per metric in list_metrics). Fetches any GET metric by id with query parameters. Without payment this returns the x402 challenge in _meta["x402/error"]; x402-capable clients (e.g. withX402Client) sign it and retry with _meta["x402/payment"] automatically. Invalid requests fail before payment.write
- compute_portfolio_var — Paid via x402 ($0.05 per request). Computes empirical and/or normal parametric VaR for a crypto portfolio. Provide either weights + portfolioValueUsd, or quantities. Invalid portfolios fail before payment.write
- compute_spread_greeks — Paid via x402 ($0.05 per request). Nets Black-76 greeks across up to 6 Deribit BTC option legs and returns a spot×vol scenario P&L grid. Invalid legs or unknown instruments fail before payment.write