Databuddy MCP
The MCP server's session-start instructions, live tools/list, and databuddy://guide resource are canonical. Do not rely on a static tool catalog.
Quick routing
- Known shape (top pages, recent errors, summary metrics) →
get_data. Batch 2-10 withqueries[]. - Existing issue or change →
list_investigations, thenget_investigationfor its evidence and history. - User context for a case →
reply_to_investigation. This resumes the same durable investigation. - Queued/running reply → poll
get_investigation; retry with the samereplyId, never a new one. - Ad hoc comparison → batch the current and comparison windows in
get_data. - Discovery →
capabilities(catalog) orget_schema(columns).
Conventions
- Website: pass
websiteId,websiteName, orwebsiteDomain— any one works. - Dates: a
presetOR bothfrom+to(YYYY-MM-DD). Defaults tolast_7d. Don't pass only one offrom/to. - Filters:
fieldis the ClickHouse column name. Errors list allowed fields and suggest matches on typos. - Mutations follow each tool's confirmation metadata and required API-key scope.
For more depth
Fetch databuddy://guide for query conventions and investigation behavior. Use live tool schemas for exact inputs.