Available Tools
query_laminar_sql
Run read-only ClickHouse SQL across Laminar data and get JSON back. Use this to find trace IDs, filter by time/session/status, or pull raw span fields (input,output,attributes).get_trace_context
Get an LLM-optimized summary of a single trace: span tree, timings, LLM inputs/outputs, and errors. Use this to quickly understand what happened in a specific run once you have a trace ID.
The SQL tool is read-only (
SELECT only) and automatically scoped to your project. If trace context truncates long inputs or outputs, use SQL to fetch full fields.Connect Your Client
First, grab a project API key from the Laminar dashboard. Then connect your MCP client.- Claude Code
- Cursor
https://laminar.example.com/v1/mcp).
Example Questions You Can Ask Your LLM
- “What failed in the most recent run for my
dev-claudesession?” - “Find the latest error trace and summarize the root cause.”
- “Which tool call failed first in the last 20 minutes?”
- “Show me the spans where the model returned an empty response today.”
- “List the 5 slowest traces from the last hour and summarize the slowest one.”
- “Find traces where
status = 'error'and the top span name containscheckout.” - “Compare the token usage between the last two successful runs.”
