Skip to main content
Glama

Flakeprint

Analyze test reports

analyze_reports
Read-only

Run the Flakeprint detector on test report files you pass as text (JUnit XML, CTRF, go test -json, TRX, NUnit, xUnit, TestNG, Cucumber, Robot, Mocha JSON). To detect same-commit FAIL→PASS flips, pass the reports of each attempt of the same commit with attempt: 1, 2, … (e.g. the failed run and its re-run). With a repo, the recorded history of that repo is used too. Nothing is stored.

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": {
      "reports": "<reports>"
    },
    "name": "analyze_reports"
  }
}

Input Schema

NameRequiredDescriptionDefault
shaNoCommit SHA the reports belong to
repoNoowner/name to compare against its mirrored history (optional)
reportsYes
useHistoryNoCompare against the repo history (default true when repo is given)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/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, and the description reinforces this with 'Nothing is stored.' It adds genuine behavioral context beyond the annotations: how same-commit flips are detected via attempt numbering and that repo history is incorporated when a repo is supplied.

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?

Three front-loaded sentences covering formats, the attempt-based flip-detection rule, and the storage guarantee. Dense but nearly every clause carries information; the parenthetical example and format list are long but justified.

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?

No output schema exists, and the description implies the result is a flip/flakiness analysis without detailing the return shape. Given the tool's moderate complexity and the explicit input semantics provided, it is largely complete, with only the response format left implicit.

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

Parameters4/5

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

Schema coverage is 75%, and the description supplies the key semantic the schema only partly conveys — that attempt numbers group reports from the same commit so flips can be detected, and that repo triggers comparison against mirrored history. It adds meaning beyond the schema's field descriptions rather than restating them.

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 verb and resource ('Run the Flakeprint detector on test report files') and enumerates the supported formats (JUnit XML, CTRF, go test -json, TRX, NUnit, xUnit, TestNG, Cucumber, Robot, Mocha JSON), which clearly separates it from read-only siblings like get_test or explain_test.

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?

Gives a concrete usage rule: to catch same-commit FAIL→PASS flips, pass each attempt's reports with attempt 1, 2, …, and notes that supplying a repo also pulls its recorded history. No explicit when-not-to-use or named alternative is given, so it stops short of a 5.

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.