Skip to main content
Glama

Get MTTR per monitor

get_monitor_mttr
Read-only

Mean time to resolve (MTTR) per monitor over a date window, in seconds. Already per-monitor — pass all monitors at once in monitor_uuids rather than calling this once per monitor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoISO end date. Default: now.
fromNoISO start date. Default: 30 days ago.
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

A4.4/5.0
Behavior4/5

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

Annotations provide readOnlyHint=true, so safety is known. The description adds valuable behavioral context: the tool aggregates multiple monitors in a single query, returns a per-monitor breakdown, and implies rate-limit consequences for improper use. This goes beyond annotations. It does not detail the response format, but the per-monitor breakdown is mentioned.

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 no filler. The first sentence front-loads the purpose and units. The second sentence packs the critical usage instruction (batching) and its rationale, including a concrete consequence (rate limit). Every phrase earns its place; it is efficient and well-structured.

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 read-only tool with zero required parameters, full schema coverage, and no output schema, the description covers the essential: what it returns, how to invoke it (batch), and the omit behavior. It lacks a detailed response structure, but given the simplicity and annotations, it is reasonably complete. A small gap remains in describing the exact output format, but it is not critical for correct invocation.

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. The description adds significant semantics for monitor_uuids: instructing to pass every monitor in a single call, noting the cost equivalence of N monitors to one, and warning about rate limits. It also clarifies the omission behavior. For from/to, it relies on schema defaults, but the additional monitor_uuids guidance raises the score.

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 returns 'Mean time to resolve (MTTR) per monitor over a date window, in seconds.' It specifies the resource (monitors), the metric (MTTR), the aggregation (per monitor), and the unit (seconds), distinguishing it from sibling tools like get_monitor_mtta and other monitor metrics. No ambiguity.

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 explicit guidance: 'pass all monitors at once in monitor_uuids rather than calling this once per monitor' and warns about rate limiting and cost when looping. It also explains the omission behavior ('Omit to cover the whole project'). It does not explicitly contrast with alternative tools for other metrics, but the core usage pattern is clear.

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.