Skip to main content
Glama

Get uptime statistics

get_uptime_statistics
Read-onlyIdempotent

Get uptime and downtime percentages for a monitor over a date range, grouped per minute, hour, day, week or month, alongside the average response timings measured in each interval. Use this to answer how much downtime a site had. See https://ohdear.app/docs/api/uptime.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoEnd of the period, as YmdHis (20241202120000) or ISO 8601. Defaults to now.
startNoStart of the period, as YmdHis (20241201120000) or ISO 8601. Defaults to seven days ago.
group_byNoGrouping interval: minute, hour, day, week, or month
monitor_idYesThe ID of the monitor to get statistics for

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNoRequested time range and grouping interval when uptime is available.
messageNo
metricsYesCalculated uptime metrics for each interval.
monitorYes
view_urlNo

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