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.

  • On call event

    Get detailed information about a specific on-call event

  • On call events

    List all on-call schedule events for a specific calendar

  • On call rotation

    Get on-call rotation configuration for a specific calendar

  • On calls

    List all on-call calendars for the team

  • Query

    Execute a ClickHouse SQL query to retrieve logs, traces/spans, errors, and metrics from telemetry data. - **IMPORANT**: Use `query_help` to get instructions on how to create the correct query for logs and spans - **IMPORANT**: Use `errors_query_help` to get instructions on how to create the correct query for errors - **IMPORANT**: Use `metrics_query_help` to get instructions on how to create the correct query for metrics

  • Query help

    Get instructions for building SQL ClickHouse queries for logs and spans (fields, aggregations, examples) to run directly via the query tools (query / render_chart) against the ClickHouse proxy. To instead write a query for use inside the Explore logs UI, use explore_logs_query_help.

  • Releases

    List all releases for a specific application in a paginated table format. Returns release ID (usable with remove_release), reference, environments, origin, first seen, and last seen timestamps

  • Render chart

    Execute a ClickHouse SQL query and visualize the result as a chart. Use `chart_type` to choose the visualization: - `line` (default) — trends over time. Alias columns as `time`, `value`, and optional `series`. - `bar` — magnitude over time or across buckets. Uses the same columns as `line`; set `stacked: true` to stack the series. - `pie` — share of a total across categories. Alias a categorical column `AS series` (the slice label) and a numeric column `AS value` (the slice size), e.g. `SELECT service AS series, count() AS value FROM ... GROUP BY service`. Alias result columns as (line/bar): - `... AS time` — the time bucket (e.g., `toStartOfHour(dt) AS time`) - `... AS value` — the numeric metric (e.g., `count() AS value`) - `... AS series` — optional: a grouping column for multiple series (e.g., `service AS series`) **IMPORTANT (line/bar): Always choose a time granularity that produces 50–500 data points** — too few points make the chart useless, too many make it unreadable. Use these rules based on the query's time range: - Up to 1 hour → `toStartOfMinute(dt) AS time` → ~60 points - 1–24 hours → `toStartOfInterval(dt, INTERVAL 5 MINUTE) AS time` → up to 288 points - 1–7 days → `toStartOfHour(dt) AS time` → up to 168 points - 7–30 days → `toStartOfInterval(dt, INTERVAL 4 HOUR) AS time` → up to 180 points - 30–90 days → `toStartOfInterval(dt, INTERVAL 12 HOUR) AS time` → up to 180 points - 90+ days → `toStartOfDay(dt) AS time` Additional query instructions (data access patterns) are in: - `query_help` — logs and spans - `errors_query_help` — errors - `metrics_query_help` — metrics

  • Replays query help

    Get comprehensive instructions for building SQL ClickHouse queries for session replays. Explains data structure, provides examples for listing replays, finding replays linked to errors, and filtering by user/environment

  • Severities

    List all severities (urgency levels) with their notification settings

  • Severity

    Get detailed information about a specific severity (urgency level)

  • Source

    Get comprehensive details of a specific source including its configuration, retention settings, ingestion details, custom bucket settings (if configured)

  • Source fields

    Get complete field catalog for a logs or spans source. Returns a table of all queryable fields with their paths and data types. Essential for understanding what fields can be queried for building custom queries

  • Sources

    List all available sources in a paginated table format. Returns source ID, name, platform type, team, status (active/paused), data region, and creation date

  • Status page

    Get details of a specific status page

  • Status page reports

    List status reports (incidents/maintenance) for a specific status page

  • Status page report update

    Get details of a specific status page report update

  • Status page report updates

    List status updates for a specific status report

  • Status page resources

    Get resources (monitors/heartbeats) for a specific status page

  • Status pages

    List all status pages with filtering and pagination options

PreviousPage 3 / 4Next