Skip to main content
Glama

New errors

new_errors
Read-onlyIdempotent

Compare error logs against a baseline to find new or spiking errors and services with rising error volume, including counts, first-seen times, and examples.

Instructions

Error logs compared with a baseline: errors that are new or spiking (messages that differ only by IDs count as one error), services whose error volume rose beyond their traffic, each with counts, first-seen time and one redacted example line, plus services whose errors are steady.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNoWindow start: RFC 3339 time or a duration ago such as 30m or 2h. Default 30m.
untilNoWindow end: RFC 3339 time or a duration ago. Default now.
serviceNoService name. Omit to scan every service seen in the window.
baselineNoWhat to compare against: previous (the windows just before; default), 1d or 7d (same window that many days earlier).
budget_tokensNoUpper bound on the response size in tokens, 200 to 4000. Default 800.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds real behavioral context beyond that: the dedup rule that messages differing only by IDs count as one error, that each entry carries counts, first-seen time and a redacted example line, and that steady services are also reported. Auth, rate limits and ordering are not disclosed.

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?

A single dense sentence, but front-loaded with the core comparison and then the result contents in priority order; every clause (dedup rule, counts, first-seen, redaction, steady services) carries information. It reads as a run-on, which costs a point, but nothing is padding.

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?

There is no output schema, so the description must carry the return contract — and it does, enumerating the three result groups and the per-entry fields. What is missing is edge behavior: what happens when budget_tokens truncates results, ordering, and the exact shape of 'steady' services versus the rising ones.

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% and all five parameters (since, until, service, baseline, budget_tokens) are fully documented in the schema with defaults and formats. The description reinforces the baseline-comparison concept but adds no syntax, units or format detail beyond what the schema already states, 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 the specific analysis performed (error logs compared against a baseline) and the three result categories: new/spiking errors, services with error volume rising beyond traffic, and steady-error services. It is clearly distinguishable from list_services and trace_diff, though it never names a sibling 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?

Usage is implied by the output framing — an agent can infer this is the tool for spotting newly introduced or regressing errors versus a baseline. However, there is no explicit when-to-use guidance, no statement of when NOT to use it, and no routing against the sibling what_changed, which could plausibly overlap.

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

Deploy Server

Other Tools