Skip to main content
Glama
rentals-ops

rentals-ops

by BDhee

compare_windows

Read-only

Compares each route's recent p95 latency and error rate against a prior baseline window, returning a verdict with problems first to spot regressions.

Instructions

What changed? Each route's recent p95 and error rate against the baseline window just before it, with a verdict. Problems first.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "compare_windows"
  }
}

Input Schema

NameRequiredDescriptionDefault
recent_minutesNoRecent window (1-60 min).
baseline_minutesNoBaseline just before it (1-120 min).

Output Schema

NameRequiredDescriptionDefault
as_ofYes
routesYes
recent_minutesYes
baseline_minutesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuine behavioral context not in the annotations — per-route granularity, an attached verdict, and 'problems first' result ordering — but leaves out how the verdict is derived and whether it reports absolute or relative deltas.

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?

Three short clauses with no filler, and the framing question is front-loaded ahead of the mechanics. The telegraphic style is efficient, though 'What changed?' is more rhetorical hook than informational content.

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?

With an output schema present, return values need not be explained, and annotations cover safety, so the description only has to convey scope and behavior — which it largely does. The remaining gap is that 'verdict' and the problem-ordering rule are asserted without saying what qualifies as a problem.

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%, with both windows documented including defaults and ranges, so the baseline of 3 applies. The description contributes one extra piece of meaning by stating the baseline window sits 'just before' the recent one, clarifying the temporal relationship between the two parameters.

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 names a concrete comparison: per-route p95 latency and error rate in a recent window versus the immediately preceding baseline, plus a verdict. That is a specific verb+resource and distinct from latency_trend or error_breakdown, though it never names a sibling to differentiate itself explicitly.

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

Usage Guidelines3/5

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

The opening 'What changed?' implies the use case (post-deploy or post-incident regression check), but the guidance is only implied. There is no explicit when-to-use, when-not-to-use, or pointer to alternatives like latency_trend for a single metric over time.

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