Skip to main content
Glama
phuryn

Staygreen MCP Server

Get response times

get_response_times
Read-onlyIdempotent

Read a monitor's response-time series over 24h to 1y, optionally filtered by check location. Page through results with a cursor to analyze latency trends.

Instructions

Read response-time series for a monitor, optionally by city and country. Uses 5-minute windows for 24h, hourly up to 30d, daily beyond. Larger buckets report maxima of the recorded percentiles, not an exact percentile of raw requests. Follow next_cursor for all points.

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum records in this page, from 1 to 100; defaults to 50.
cursorNoCall again with cursor set to the returned next_cursor until next_cursor is null.
windowNoHistory window ending now, capped at 30 days without history_1y. The result reports the effective window.24h
monitorYesMonitor id from list_monitors or create_monitor.
locationNoOptional check location, using the city and country returned by get_incidents.

Output Schema

NameRequiredDescriptionDefault
seriesYes
windowYes
monitorYes
resolutionYes
aggregationYes
next_cursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), yet the description still adds substantive behavior: automatic downsampling tied to window length and the caveat that larger buckets report maxima of percentiles rather than a true percentile of raw requests. That caveat materially changes how an agent should interpret results.

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?

Three short sentences, zero filler. The primary capability is front-loaded, followed by granularity rules, then the accuracy caveat and pagination instruction in priority order.

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

Completeness5/5

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

An output schema exists, so return-shape explanation is unnecessary, and the description covers the non-obvious pieces: sampling resolution, the meaning of downsampled values, and pagination completion criteria. Nothing an agent needs to call or interpret this tool is missing.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3; the description earns above baseline by explaining that bucket granularity is a function of the chosen window and that location filtering is optional. It does not clarify cursor/limit interaction, which the schema already handles.

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?

States a specific verb and resource ('Read response-time series for a monitor') with scope modifiers (city/country). The resource is clearly distinct from get_uptime and get_status, but it never names or contrasts with those siblings, so an agent must infer the boundary itself.

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

Usage Guidelines4/5

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

Gives concrete operational guidance: which windows map to which bucket sizes, and the instruction to follow next_cursor until all points are collected. It stops short of saying when to prefer this over get_uptime/get_status, so there is no explicit alternative routing.

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