Skip to main content
Glama
rentals-ops

rentals-ops

by BDhee

error_breakdown

Read-only

Identify failing routes and status codes, including 5xx responses, and surface grouped ERROR and WARNING messages with their first and last seen times to speed incident triage.

Instructions

What is failing? 5xx responses by route and status, plus the most frequent ERROR and WARNING messages (similar messages grouped, with first and last seen).

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

Input Schema

NameRequiredDescriptionDefault
minutesNoHow many minutes back to look (1-120).

Output Schema

NameRequiredDescriptionDefault
as_ofYes
errorsYes
total_5xxYes
top_messagesYes
window_minutesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/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 by structured data. The description does add genuine behavioral context beyond that: similar messages are grouped, and first/last seen timestamps are reported, which tells the agent to expect aggregated clusters rather than raw log lines. It stops short of disclosing result caps, grouping thresholds, or how 'similar' is determined, so it remains mid-range. Also note the tool implicitly ignores 4xx traffic, which is only hinted at by the 5xx phrasing.

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?

One sentence, front-loaded with the framing question followed by the concrete scope. Every clause carries information and nothing is repeated from the schema or annotations.

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?

The tool is simple (one optional parameter), annotations cover safety, and an output schema exists so return-shape explanation is unnecessary. The description conveys filtering scope and aggregation behavior, which is what an agent needs here; only the severity/status filtering nuance (5xx only, ERROR/WARNING only) could be stated more explicitly.

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?

There is a single parameter (minutes, default 15, range 1-120) and schema description coverage is 100%, so the schema fully documents it. The description adds no syntax, default, or guidance about the lookback window, so the baseline of 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 a specific resource (error breakdown) and enumerates exactly what it covers: 5xx responses split by route and status, plus the most frequent ERROR and WARNING messages. That is far more specific than the bare name, though it never contrasts itself with siblings like search_logs or errors_by_version, so an agent must infer the boundary.

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?

Opening with 'What is failing?' implies the diagnostic use case, but there is no explicit when-to-use, when-not-to-use, or named alternative. The agent must infer that this is the triage entry point rather than a raw log search.

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