Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

Regression Test

regression_test
Destructive

Run a test command to return a strict PASS/FAIL verdict with parsed counts, and compare results against a baseline command for change detection. Success requires exit code 0.

Instructions

Run a test command, report a strict PASS/FAIL verdict with parsed counts, and optionally compare against a baseline command. Success is never claimed unless the exit code is exactly 0.

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": "regression_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoProject directory relative to the workspace root (default ".").
timeoutMsNoTimeout in milliseconds per run.
testCommandNoTest command (defaults to auto-detection).
baselineCommandNoOptional baseline command for comparison.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true, idempotentHint=false), it adds a real behavioral rule: success is never claimed unless the exit code is exactly 0. That discloses the verdict's strictness, which the structured fields cannot. It does not explain why the tool is flagged destructive (arbitrary command execution) or what the timeout does on expiry, leaving a modest gap.

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 sentence that front-loads the action, then the output contract, then the strictness guarantee. No filler and nothing buried.

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 no output schema, the description must describe returns, and it does name the PASS/FAIL verdict and parsed counts, which is the core shape. It stops short of saying how baseline comparison results are presented or what a timeout failure looks like, minor omissions for a four-parameter, zero-required tool.

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%, so the four parameters are already documented, including defaults for path and testCommand and auto-detection. The description only reinforces that baselineCommand is optional for comparison, adding little beyond the schema — the expected baseline 3.

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 and resource: run a test command, emit a PASS/FAIL verdict with parsed counts, and optionally diff against a baseline. That is far more concrete than the sibling names like build_project or debug_project, though it never explicitly contrasts itself with them.

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 optional baseline command hints at a comparison workflow, but there is no explicit when-to-use guidance, no statement of when to prefer this over build_project/debug_project, and no prerequisites such as needing a project with a runnable test suite.

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

Deploy Server

Other Tools