IT & Security

Better Stack MCP

Investigate Better Stack observability data, monitors, incidents, and logs.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Exploration

    Get 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

    List 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

    Get 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

    Export a dashboard configuration as JSON. Returns the complete dashboard data structure including charts, sections, presets, and settings

  • Heartbeat

    Get details of a specific heartbeat

  • Heartbeat availability

    Get availability summary for a specific heartbeat

  • Heartbeats

    List all heartbeats with filtering and pagination options

  • Incident

    Get detailed information about a specific incident

  • Incident comments

    Get comments for an incident

  • Incidents

    List incidents with filtering and pagination options

  • Incident timeline

    Get the timeline of events for an incident

  • Metric

    Get 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

    List 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

    Get 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

    Get 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

    Get details of a specific monitor

  • Monitor availability

    Get availability (SLA) summary for a specific monitor

  • Monitor response times

    Get response time metrics for a specific monitor

  • Monitors

    List monitors with optional filtering and pagination

  • On call

    Get detailed information about a specific on-call calendar or the default calendar

PreviousPage 2 / 4Next