Skip to main content
Glama

Get uptime stats

get_uptime_status
Read-onlyIdempotent

Get uptime stats (uptime %, avg latency, p95) for a monitor

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "monitor_id": "<monitor_id>"
    },
    "name": "get_uptime_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursNoLookback hours (default 24)
monitor_idYesUptime monitor ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered elsewhere. The description's added value is naming the return payload (uptime %, avg latency, p95), which matters because no output schema exists. It does not disclose the aggregation window, whether missing data yields nulls, or behavior for an invalid monitor ID.

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

Conciseness4/5

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

A single compact sentence with the resource up front and the return metrics in parentheses, with no filler. It is terse rather than padded, though it is brief enough that a little more guidance could have been added without bloat.

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

Completeness3/5

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

With no output schema, the description usefully covers what the tool returns, and the two parameters are fully documented in the schema. However, for a metrics tool it omits the aggregation granularity and semantics of p95, which an agent may need to interpret or present results correctly.

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%, including the default-24 and 1-720 bounds on hours, so the schema does the heavy lifting. The description only reinforces that monitor_id targets a single monitor; it adds no detail about how the hours lookback affects the returned statistics. Baseline 3 applies when the schema is fully documented.

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

Purpose4/5

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

The description pairs a specific verb and resource ("Get uptime stats") with the scope ("for a monitor") and enumerates the returned metrics (uptime %, avg latency, p95), so an agent knows exactly what data comes back. It stops short of distinguishing itself from siblings like get_monitor or get_project_stats, which is the only thing keeping it from a 5.

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?

There is no explicit when-to-use statement and no mention of alternatives such as get_monitor or get_project_stats. The phrase "for a monitor" implies a per-monitor scope, but the agent must infer from sibling names alone whether to call this or a broader stats tool.

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.

Resources