Skip to main content
Glama
qa-triage-mcp
by mnawaz6935

Compare two runs

compare_runs
Read-only

Compare two test runs to identify newly failing, fixed, still failing, added, and removed tests, helping spot regressions and verify fixes.

Instructions

What changed between two runs: newly failing, fixed, still failing, added and removed tests.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "compare_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
base_run_idNoDefaults to the run just before head
head_run_idNoRun id from list_runs. Leave empty for the latest run.

Output Schema

NameRequiredDescriptionDefault
fixedYes
added_testsYes
base_run_idYes
head_run_idYes
new_failuresYes
removed_testsYes
still_failingYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds that the operation produces a category-by-category change report rather than raw data, but says nothing about behavior beyond that — no mention of heavy computation, empty-diff handling, or comparison semantics.

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 sentence with the resource up front and the result categories listed after the colon. Every clause carries information; 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?

With an output schema present and annotations covering safety, the description only needs to frame what the tool answers, which it does via the enumerated diff categories. Minor gap: it doesn't note the default comparison target, though the schema handles that.

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% and both parameters are documented there, including the base-run default and the head-run 'leave empty for latest' behavior. The description adds no parameter meaning beyond the schema, so the baseline 3 applies.

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 verb+resource (compare two runs) and enumerates the result categories: newly failing, fixed, still failing, added, removed. That makes the output shape concrete and distinguishes it from a plain failure listing such as get_run_failures, though no sibling is named.

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 description's framing as a change-between-runs question, but there is no explicit statement of when to prefer it over test_history or get_run_failures, and no prerequisites mentioned. The defaults (base = run just before head, head = latest) are in the schema rather than the description.

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