Skip to main content
Glama

ai_five_whys

Read-only

5 Whys Root Cause Analysis — AI 5 Whys root-cause analysis: one causal chain (3-5 whys) with each link marked fact or assumption plus the evidence to check, root cause and type, confidence, countermeasures tagged contain/correct/prevent with owner role and how to verify, alternative branches and open questions. Offline quality checks flag blame-style root causes (human error), assumption-heavy chains, missing prevention and shallow chains. Includes markdown. Param problem=, optional context= (facts, timeline). Price: $0.008 USDC (Base, via x402).

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": {
      "problem": "<problem>"
    },
    "name": "ai_five_whys"
  }
}

Input Schema

NameRequiredDescriptionDefault
problemYese.g. Checkout error rate jumped to 8% after Tuesday's deploy

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, openWorld, destructive=false), and the description adds substantial behavior beyond that: full output structure, offline quality checks that flag blame-style/shallow chains, markdown inclusion, and the $0.008 USDC price via x402. Disclosing price and output format is valuable context an agent could not get from annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is information-dense and largely relevant, but it is delivered as one long comma-spliced paragraph that is hard to scan. Front-loading the method name helps, yet the deliverable list and pricing could be more clearly structured.

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?

For a read-only tool with no output schema, the description does the heavy lifting: it explains the return structure, quality checks, and cost. The only notable gap is the mention of an optional 'context' parameter that the schema does not expose, which could confuse invocation.

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 coverage is 100% for the single required 'problem' param with an example, so the baseline is 3. The description hints that context can carry facts and timeline, but the schema exposes no such context parameter, creating a minor mismatch and adding little usable parameter meaning beyond the schema.

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?

States a specific analysis method ('5 Whys Root Cause Analysis') and enumerates the exact deliverables: a 3-5 link causal chain, root cause with type, confidence, tagged countermeasures, and alternative branches. This is clearly distinguishable from generic sibling tools like ai_ask or ai_classify.

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?

The description makes clear what the tool produces, so an agent can infer it is the right choice for root-cause analysis of a problem. However, it gives no explicit when-to-use framing, no when-not-to-use, and no named alternatives, leaving selection to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources