Skip to main content
Glama
rentals-ops

rentals-ops

by BDhee

latency_trend

Read-only

Track a route's minute-by-minute request volume, p95 latency, and error rate over the last 1–60 minutes to see when an incident started and whether it is improving.

Instructions

When did it start, and is it getting better? One route, minute by minute: requests, p95, error %.

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": {
      "route": "<route>"
    },
    "name": "latency_trend"
  }
}

Input Schema

NameRequiredDescriptionDefault
routeYesRoute template, e.g. /properties/{property_id}.
minutesNoHow many minutes back (1-60).

Output Schema

NameRequiredDescriptionDefault
as_ofYes
routeYes
minutesYes
window_minutesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds that results are scoped to exactly one route and are minute-granular across requests, p95, and error %. It says nothing about data retention, whether gaps appear for idle minutes, or any limits beyond what the schema caps at 60 minutes.

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?

Two terse sentences with no filler, and the scope-and-metrics payload is packed into the second sentence. The leading rhetorical question is engaging but slightly less direct than a declarative purpose statement would be.

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

Completeness3/5

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

With an output schema present, the description needn't explain return values, and annotations cover the read-only profile. However, for a trend tool the agent would benefit from knowing retention horizon, handling of sparse minutes, and how this differs from the window-comparison sibling, none of which is stated.

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 both parameters are already documented, including the 1-60 minute range and route template format. The description's 'one route, minute by minute' reinforces the semantics of both parameters but adds no new syntax, defaults, or edge-case behavior, so the baseline 3 applies.

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 conveys the specific scope (one route), the granularity (minute by minute), and the returned metrics (requests, p95, error %), which lets an agent distinguish it from siblings like compare_windows or error_breakdown. It never states a clean verb+resource (no 'retrieves' or 'shows a time series'), relying on a rhetorical question to frame the purpose.

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?

'When did it start, and is it getting better?' implies the use case of onset detection and trend checking, but no alternative tool is named and no when-not condition is given. The single-route constraint is the only routing signal, and the agent must infer that compare_windows is the choice for cross-window comparison.

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