Skip to main content
Glama

error_summary

Read-onlyIdempotent

Group service log errors by message signature with numbers and IDs stripped, then rank them by frequency to surface recurring failures first.

Instructions

Group errors by message signature (numbers and ids removed), most frequent 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": "error_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
runNo
topNo
pathNo
serviceNo
min_levelNoERROR

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already establish read-only, idempotent, closed-world behavior, so the description only needs to add semantics. It does add the signature normalization rule and the sort order, which are genuinely useful. It says nothing about default scoping (whether run=null means all runs), the effect of the min_level default, or the size/cost of the aggregation.

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?

A single tight sentence with no filler, and the key behaviors (normalization, ordering) are front-loaded alongside the core purpose. Nothing to trim.

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

Completeness2/5

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

An output schema handles return values, but a five-parameter tool with zero schema coverage needs the description to explain scoping and defaults, and this one omits them entirely. An agent cannot tell what unfiltered output looks like or how min_level interacts with the grouping.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across five parameters, so the description carries the full burden and does not meet it: run, top, path, service, and min_level are never mentioned. Only 'most frequent first' hints indirectly at ranking/limit, leaving the four scoping parameters and the level threshold completely undefined.

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?

States a specific verb and resource ('Group errors by message signature') plus two defining behaviors: normalization (numbers and ids removed) and ordering (most frequent first). An agent can tell this is an aggregation/triage view rather than raw log search. It does not explicitly name a sibling it replaces, keeping it just below a 5.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance. The agent must infer that this is the triage-first tool versus search_logs or correlate_errors from the verb 'group' alone; no prerequisites, no exclusions, no mention of what happens when scope parameters are omitted.

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