Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Exploration
BETTER_STACK_MCP_EXPLORATIONGet detailed information about a specific exploration (saved Explore query) including its sources, chart type, template variables, saved time range, and query. Use this to understand an exploration before modifying its source or variables
Explorations
BETTER_STACK_MCP_EXPLORATIONSList saved explorations (saved Explore queries) in a paginated table. Returns exploration ID, name, chart type, sources, group, and last updated date. Use this to discover explorations before viewing or modifying one
Explore logs query help
BETTER_STACK_MCP_EXPLORE_LOGS_QUERY_HELPGet instructions for writing a ClickHouse query to use inside the Better Stack **Explore logs** page (and live-tail charts) for log and span data. The query uses template variables (`{{source}}`, `{{time}}`, `{{start_time}}`, `{{end_time}}`) and reads fields from the `raw` JSON column — it is meant to be used in the Explore UI, NOT run directly. To instead write an ad-hoc logs/spans query you will run directly via `query`, use `query_help`.
Export dashboard
BETTER_STACK_MCP_EXPORT_DASHBOARDExport a dashboard configuration as JSON. Returns the complete dashboard data structure including charts, sections, presets, and settings
Heartbeat
BETTER_STACK_MCP_HEARTBEATGet details of a specific heartbeat
Heartbeat availability
BETTER_STACK_MCP_HEARTBEAT_AVAILABILITYGet availability summary for a specific heartbeat
Heartbeats
BETTER_STACK_MCP_HEARTBEATSList all heartbeats with filtering and pagination options
Incident
BETTER_STACK_MCP_INCIDENTGet detailed information about a specific incident
Incident comments
BETTER_STACK_MCP_INCIDENT_COMMENTSGet comments for an incident
Incidents
BETTER_STACK_MCP_INCIDENTSList incidents with filtering and pagination options
Incident timeline
BETTER_STACK_MCP_INCIDENT_TIMELINEGet the timeline of events for an incident
Metric
BETTER_STACK_MCP_METRICGet comprehensive details about a specific metric. Returns metric overview (data points, active series, available aggregations), definition (SQL expression or JSON path), example queries for different aggregation functions, and Prometheus tags (for pure metrics). Essential for understanding how to query and use a metric
Metric expressions
BETTER_STACK_MCP_METRIC_EXPRESSIONSList the metric expressions (extract-metrics-from-logs rules) on a source. Returns the rule ID, name, kind (metric vs label), ClickHouse type, SQL expression, and aggregations. IDs use a short prefixed form that feeds straight into update_metric_expression / delete_metric_expression
Metrics query help
BETTER_STACK_MCP_METRICS_QUERY_HELPGet instructions for building SQL ClickHouse queries for metrics (available metrics, aggregations, examples) to run directly via the query tools (`query` / `render_chart`), using concrete `remote(...)` / `s3Cluster(...)` collection names and explicit time filters. To instead write a query for use inside a Dashboard chart, use `dashboard_query_help`. Pass `context: 'chart_query'` when the query will be saved as a dashboard chart or chart alert — the prompt will emphasize `{{source}}` / `{{time}}` / `{{start_time}}` / `{{end_time}}` template variables and chart column aliases. (`context: 'direct_query'` is the default, for ad-hoc queries.)
Metrics schema
BETTER_STACK_MCP_METRICS_SCHEMAGet metrics and cardinality for a source. Returns a paginated table of available metrics (user-defined and ingested) ordered by active series (highest cardinality first), with their names, types, storage layout, data points count, and active series count. Use `name_filter` to search by name: `rabbitmq*`, `*queue*`, `*_total`, or an exact name. When more than 250 metrics match and grouping them by name prefix would shrink the list at least 3x, a prefix summary is returned instead of the list; drill in with the `name_filter` it suggests. `page` applies to whichever table is shown
Monitor
BETTER_STACK_MCP_MONITORGet details of a specific monitor
Monitor availability
BETTER_STACK_MCP_MONITOR_AVAILABILITYGet availability (SLA) summary for a specific monitor
Monitor response times
BETTER_STACK_MCP_MONITOR_RESPONSE_TIMESGet response time metrics for a specific monitor
Monitors
BETTER_STACK_MCP_MONITORSList monitors with optional filtering and pagination
On call
BETTER_STACK_MCP_ON_CALLGet detailed information about a specific on-call calendar or the default calendar