Skip to main content
Glama

correlate_errors

Read-onlyIdempotent

Correlates warnings and errors from other services around an anchor error to identify likely causes versus consequences.

Instructions

Show which warnings and errors of other services appear around an error.

before_share close to 1 means the problem usually comes first: a candidate cause. Close to 0 means it follows: more likely a consequence.

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": {
      "anchor": "<anchor>"
    },
    "name": "correlate_errors"
  }
}

Input Schema

NameRequiredDescriptionDefault
runNo
topNo
pathNo
anchorYes
window_sNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile needs no restating. The description adds genuine interpretive value by explaining that a before_share near 1 signals a candidate cause while near 0 signals a consequence. What it omits is any statement about how the lookaround window is scoped or how results are ranked/truncated, which matters for interpreting output.

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?

The text is short and the core purpose is front-loaded in the first sentence, with the interpretive gloss following. The second paragraph introduces an undefined term and uses awkward line breaks, but nothing is padded or redundant.

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?

An output schema exists, so return values need not be detailed, and the causal-ordering interpretation is a helpful addition. However, for a five-parameter tool with zero schema coverage and a required anchor, the description leaves the agent guessing about the meaning of top, window_s, run, and path. It is adequate on intent but thin on invocation detail.

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 (anchor, run, path, top, window_s), so the description carries the full documentation burden and does not meet it. Only the word 'around' hints at the temporal window concept, and no parameter is named or explained. Worse, 'before_share' is introduced with no indication that it is an output field rather than an input, which could confuse an agent reading the call contract.

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 uses a specific verb-plus-resource framing: showing which warnings and errors from other services cluster around a given error, which is a temporal correlation analysis rather than a listing or summary. That distinguishes it implicitly from siblings like error_summary and search_logs. It stops short of naming an alternative explicitly, so it lands at 4 rather than 5.

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 phrase 'around an error' and the cause-vs-consequence framing, which tells an agent this is a root-cause investigation tool. However, there is no explicit statement of when to prefer this over error_summary, find_regressions, or search_logs, and no preconditions such as whether the anchor must already exist in a run.

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