Skip to main content
Glama

Get downtime periods

get_downtime
Read-onlyIdempotent

List the outages Oh Dear recorded for a monitor, with the start and end of each one. Times are UTC. Returns the most recent outages up to the limit you set, and totals the downtime across just those, so widen the limit before drawing conclusions about a long period. See https://ohdear.app/docs/api/uptime.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of outages to return, most recent first (default: 50)
monitor_idYesThe ID of the monitor to list downtime for
ended_beforeNoOnly return outages that ended on or before this moment, as YmdHis (20241231235959) or ISO 8601
started_afterNoOnly return outages that started on or after this moment, as YmdHis (20241201120000) or ISO 8601

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
filterNoNormalized date filters applied to this result.
monitorYes
view_urlYes
downtime_periodsYesRecorded downtime periods.
downtime_periods_countYes
total_downtime_in_secondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources