Skip to main content
Glama
mcp-root-cause-detective

mcp-root-cause-detective

by tarihte1110

inspect_error_cluster

Read-onlyIdempotent

Fetch full stack traces and raw samples for a specific error cluster signature to drill into root cause details without re-reading source files.

Instructions

Belirli bir hata kümesinin (signature) tam stack trace ve ham örneklerini getirir.

Önceki analyze_* çıktısında görülen küme kimliğiyle çağrılır; dosyaları yeniden okumaz.

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": {
      "signature": "<signature>"
    },
    "name": "inspect_error_cluster"
  }
}

Input Schema

NameRequiredDescriptionDefault
signatureYes
analysis_idNo
max_samplesNo

Output Schema

NameRequiredDescriptionDefault
errorNo
samplesNo
sourcesNo
templateNo
signatureYes
analysis_idYes
total_occurrencesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

The annotations already declare readOnly, idempotent and non-destructive behavior, so the safety profile is covered. The description adds one genuinely useful behavioral fact: it does not re-read files and works from prior analysis output. It stays silent on what happens when `analysis_id` is null, whether `max_samples` truncates results, and any staleness constraints on the referenced analysis.

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, purpose first, the invocation precondition second. Every clause carries information and 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?

An output schema exists, so return values need not be described, and the annotations cover the safety profile. What remains is mostly complete, with only the role of the optional `analysis_id` and the effect of `max_samples` left to inference.

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 0%, so the description has to carry the parameter burden. It explains `signature` well by naming its origin in prior `analyze_*` output, but leaves `analysis_id` (default null, and its relationship to `signature` is unclear) and `max_samples` entirely unaddressed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

It states a specific verb and resource: fetch the full stack trace and raw samples for a given error cluster (`signature`). It also frames the tool's place relative to the `analyze_*` family, which supplies the cluster ID, so an agent can tell what it returns and what it is not.

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?

It says clearly when the tool is called: with a cluster identity taken from a prior `analyze_*` result. This gives a concrete precondition and a workflow position, though it does not state a when-not-to-use condition or a named alternative.

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