Skip to main content
Glama

Get Monitor

get_monitor
Read-only

Fetch a single monitor by ID and optionally include uptime stats, alert history, effective policy, freshness watches, and maintenance windows for full monitoring detail.

Instructions

Get one monitor with its recent checks. The include flags pull in what the monitor detail page shows next to it: uptime and latency percentiles over 24h to 90d, the alert policy that applies (inherited or its own), its maintenance windows, and the fire/resolve history of its alerts. Requires project context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
monitorIdYesPublic ID (GUID) of the monitor, from list_monitors
includeUptimeStatsNoInclude uptime percentages and response-time percentiles
includeAlertHistoryNoInclude the fire/resolve history of this monitor's alerts
includeEffectivePolicyNoInclude the alert policy that applies to this monitor and where it comes from
includeFreshnessWatchesNoInclude watched field paths and how long each value has been unchanged
includeMaintenanceWindowsNoInclude the maintenance windows that cover this monitor

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.1.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, covering the safety profile. The description adds valuable behavioral context: it returns recent checks, lists the include flags' effects, and notes the project context requirement. It does not contradict annotations and provides extra detail about what gets fetched, earning a strong score.

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?

The description is two sentences, with the core purpose front-loaded and the include flags explained succinctly. Every clause adds value, and it avoids redundancy with the schema. It is well-structured for quick parsing.

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?

For a simple get tool with one required parameter and five optional booleans, the description is nearly complete. It states the return scope (monitor with recent checks) and the effect of each include flag, and notes the project context prerequisite. The absence of return-format details is acceptable given no output schema exists and the tool is straightforward.

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 coverage is 100%, so every parameter is already documented. The description adds meaning by explaining that the include flags mirror the monitor detail page, which helps an agent understand their combined effect. However, this is contextual rather than essential, keeping it at the baseline of 3.

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 clearly states the tool fetches a single monitor with its recent checks, using a specific verb and resource. It distinguishes itself from list_monitors (which lists all monitors) and list_monitor_checks (which likely focuses on checks alone) by framing the include flags as what the monitor detail page shows. The purpose is unambiguous.

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 implies usage for retrieving one monitor's details, and mentions the prerequisite 'Requires project context.' It does not explicitly name alternatives like list_monitors for bulk retrieval, but the context signals are clear enough for an agent to infer when to use this tool. The absence of explicit exclusions keeps it from a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/routebase-dev/routebase-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server