Skip to main content
Glama

WatchFor

Get recent check results

get_monitor_checks
Read-onlyIdempotent

Recent check results for a monitor (status, latency, per-location performance), newest first, each with its run_id. Each row names where it ran as location_id / location_name (location is the prober's internal name, deprecated). success=false returns only failed checks, success=true only passing ones. hours widens the window (up to 720, and never past the plan's check history: a longer window is cut and the result carries history_notice). When there is more than one page, has_more is true and next_cursor, sent back as cursor with the same filters, returns the next one. Heartbeat rows carry event: start (a /start ping: a run began, not a check-in; not counted in the per-location figures), finish, fail or missed.

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_monitor_checks"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursNoLook-back window in hours, 1-720
limitNoPage size, 1-100
cursorNonext_cursor from the previous page
successNofalse = only failed checks, true = only passing
monitor_idYesMonitor id (UUID)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the read-only and idempotent annotations, it discloses meaningful behavior: newest-first ordering, run_id on each row, plan-history truncation with history_notice, has_more/next_cursor pagination, and heartbeat event semantics including that start events are not counted in per-location figures. This is substantial context an agent would not get from annotations alone.

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?

The purpose is front-loaded, and the dense paragraph covers only relevant behavior without repetition. It could be slightly easier to scan as separate clauses or bullets, but the length is justified by the absence of an output schema and the amount of behavioral nuance disclosed.

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?

For a complex read tool with no output schema, the description supplies the important return-shape details: status, latency, per-location rows, run_id, location fields, pagination markers, history_notice, and heartbeat event meanings. An agent has enough information to call it correctly and interpret the main response fields.

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 the baseline is 3, but the description adds operational meaning for hours by stating it can be cut by plan history and surfaced via history_notice, and for cursor by requiring the same filters when sent back. Limit and monitor_id are left to the schema, which slightly limits the added value.

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 opens with a specific verb and resource: recent check results for a monitor, including status, latency, and per-location performance, newest first. It clearly distinguishes this from a single check-details lookup or an uptime aggregate by describing a paginated list of recent runs.

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?

The description gives clear usage context: use success to filter failed or passing checks, hours to widen the look-back window, and cursor to continue pagination with the same filters. It does not name sibling tools as alternatives, but the operational conditions are explicit enough to guide invocation.

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.