Skip to main content
Glama

Get uptime (SLA) stats

get_monitor_uptime
Read-only

Uptime percentage over a date window, aggregated and optionally per day/hour/week/month.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoISO end date. Default: now.
fromNoISO start date. Default: 30 days ago.
resolutionNoTime grouping. Default "day".
monitor_uuidsNoMonitor UUIDs to report on. Pass EVERY monitor you care about in a SINGLE call: the endpoint resolves them in one aggregate query and returns a per-monitor breakdown, so N monitors in one call costs about the same as one. Looping over monitors and calling this once each is roughly N times more expensive and will hit the rate limit. Omit to cover the whole project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / monitor_uuids / description
      Previous value: -"Restrict to these monitor UUIDs."New value: +"Monitor UUIDs to report on. Pass EVERY monitor you care about in a SINGLE call: the endpoint resolves them in one aggregate query and returns a per-monitor breakdown, so N monitors in one call costs about the same as one. Looping over monitors and calling this once each is roughly N times more expensive and will hit the rate limit. Omit to cover the whole project."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, so no safety disclosure is needed from the description. The description adds aggregation and grouping behavior, but does not mention rate limits, return shape, or SLA calculation details. This is acceptable given the annotations, but the description itself adds only modest behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One 13-word sentence that front-loads the core purpose and packs the optional grouping into a compact clause. No filler or repetition of schema details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The schema covers all four optional parameters with defaults, enum values, and batching/rate-limit guidance, and annotations cover the read-only safety profile. The description states the output metric and grouping options, which is sufficient given the simple return value. The main omission is explicit sibling routing, but that is already scored under usage_guidelines.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description's 'date window' and 'per day/hour/week/month' loosely map to from/to and resolution, but add no meaning beyond the schema's own descriptions and defaults. It does not mention monitor_uuids, which the schema documents thoroughly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific metric (uptime percentage) over a date window, and the title adds 'SLA stats.' This clearly distinguishes it from sibling monitor tools like get_monitor_response_time or get_monitor_outages. The optional grouping by day/hour/week/month further clarifies scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no guidance on when to choose this tool over alternatives such as get_monitor_response_time or get_monitor_mttr. The only usage hint (batching monitors in one call) lives in the monitor_uuids parameter schema, not in the tool description. An agent must infer selection from the title and metric name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.