Skip to main content
Glama
Batyrkhan-Sk

Frontend Bug Investigator MCP

by Batyrkhan-Sk

Analyze evidence

analyze_evidence
Read-only

Analyzes recorded evidence to separate facts from candidate root causes, weigh supporting and contradicting data, report confidence and reproduction status, and suggest distinguishing experiments.

Instructions

Deterministic analysis of the recorded evidence: observed facts, candidate root causes with supporting AND contradicting evidence, confidence with explanation, reproduction status, and experiments to distinguish hypotheses. Correlation is never presented as causation. No LLM is used by the server.

Input Schema

NameRequiredDescriptionDefault
investigationIdYesId returned by start_investigation
additionalContextNoExtra context from the client (e.g. recent code changes); used for symptom matching and echoed back

Output Schema

NameRequiredDescriptionDefault
llmUsedYes
methodNoteYes
generatedAtYes
limitationsYes
reproductionYes
clientContextNoContext supplied by the client; echoed, not verified
observedFactsYes
analysisMethodYes
investigationIdYes
candidateRootCausesYes
additionalExperimentsYes
untrustedContentNoticeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the description's added value is the determinism claim, 'No LLM is used by the server', and the 'correlation is never presented as causation' constraint on the output — meaningful trust signals about how results should be interpreted. It still omits idempotency and behavior when evidence is thin or missing.

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 dense lead sentence that front-loads the verb and the full output contract, followed by two short clauses on determinism and causal discipline. No filler and no repetition of schema content.

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 explained, and the description still frames what the analysis yields and its epistemic limits. The remaining gap is lifecycle placement — nothing states that evidence must be collected first or what happens if the investigation has none.

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%, with both parameters documented including the pattern and the note that investigationId comes from start_investigation, so the baseline of 3 applies. The description adds nothing about additionalContext's role in symptom matching, which the schema already covers anyway.

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 operation (deterministic analysis) on a specific resource (recorded evidence in an investigation) and enumerates the produced artifacts: observed facts, ranked root causes with supporting/contradicting evidence, confidence, reproduction status, and discriminating experiments. That output list effectively separates it from collect_evidence and generate_bug_report, though no sibling is named 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 only implied: the phrase 'recorded evidence' and the investigationId sourced from start_investigation suggest this runs after evidence collection. There is no explicit when-to-use, no prerequisite statement (e.g. requires at least one collect_evidence call), and no named alternative.

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