Skip to main content
Glama
rentals-ops

rentals-ops

by BDhee

errors_by_version

Read-only

Compare requests, 5xx errors, error rate, and p95 latency across app versions to determine whether a new deploy caused errors or whether the issue affects all versions.

Instructions

Is the new version to blame? Requests, 5xx errors, error rate and p95 per app version. Errors only on the newest version point at the deploy; errors on every version point elsewhere.

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": "errors_by_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
routeNoRoute template, e.g. /properties/{property_id}. Omit for all routes.
minutesNoHow many minutes back to look (1-120).

Output Schema

NameRequiredDescriptionDefault
as_ofYes
routeYes
versionsYes
window_minutesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/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 the safety profile is covered, and an output schema exists so return shape needn't be described. What the description adds is interpretive framing about what the results mean, which is genuinely useful but not behavioral disclosure about limits, data freshness, or scoping. Nothing is contradicted, but the added value beyond structured fields is modest.

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?

Two short sentences, front-loaded with the diagnostic question and followed by the metric list and the interpretation rule. No filler, no repetition of schema or annotation 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, full parameter documentation, and safety annotations, the description only needs to establish purpose and interpretation, which it does. It could add one line on what a version label looks like or the default 15-minute window, but nothing essential for correct invocation is missing.

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 description coverage is 100%, with route (template example, omit for all) and minutes (1-120) fully documented in the schema. The description adds no meaning about either parameter, 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 names the exact metrics returned (requests, 5xx errors, error rate, p95) and the grouping dimension (app version), which distinguishes it from siblings like error_breakdown and latency_trend. The verb is implicit in the rhetorical framing rather than stated as 'get metrics per version', so it is clear but not maximally crisp.

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?

"Is the new version to blame?" plus the interpretation rule (errors on newest version = deploy, errors on every version = elsewhere) gives a clear diagnostic context for reaching for this tool. It stops short of naming an alternative or companion call such as recent_deploys to confirm a deploy, so there are no explicit exclusions.

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