Skip to main content
Glama

run_check

Check code changes for regressions by comparing outputs against a golden baseline. Identifies score drops, tool changes, and behavioral anomalies to confirm nothing broke.

Instructions

Check for regressions against the golden baseline. Returns a diff summary for each test: PASSED, OUTPUT_CHANGED, TOOLS_CHANGED, or REGRESSION. REGRESSION means the score dropped significantly — treat this as a blocking failure. TOOLS_CHANGED / OUTPUT_CHANGED are warnings: the agent's behavior shifted but may be intentional. Also returns observability signals: behavioral anomalies (tool loops, stalls), trust scores (benchmark gaming detection), and coherence issues (multi-turn context loss). Use this after any code change (prompt, model, tools) to confirm nothing broke. If you see a regression, show the diff to the user and offer to fix it before moving on. Use heal=true to auto-retry flaky failures and distinguish non-determinism from real drift. IMPORTANT: Automatically detect test_path by looking for a 'tests/evalview/' directory in the current project. If it exists, pass it as test_path. If the project has a custom test location, use that instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNoCheck only tests tagged with these behaviors (OR match). E.g. ['tool_use', 'retrieval'].
healNoAuto-retry flaky failures, propose candidate variants, distinguish non-determinism from real regressions. Default: false.
testNoCheck only this specific test by name (optional, checks all by default)
judgeNoJudge model for scoring (e.g. 'gpt-5', 'sonnet').
budgetNoMaximum total budget in dollars (e.g. 0.50). Remaining tests skipped when limit hit.
reportNoGenerate HTML report at this path (auto-opens in browser).
strictNoFail on any change (REGRESSION, TOOLS_CHANGED, OUTPUT_CHANGED). Default: false.
dry_runNoPreview test plan and estimate cost without executing. Default: false.
fail_onNoComma-separated statuses to fail on (default: REGRESSION). E.g. 'REGRESSION,TOOLS_CHANGED'.
timeoutNoTimeout per test in seconds (default: 120).
test_pathNoPath to the test directory. Auto-detect: use 'tests/evalview/' if it exists, otherwise 'tests'.
statisticalNoRun each test N times for variance analysis (e.g. 5). Omit for single run.
auto_variantNoAuto-discover distinct execution paths as golden variants. Requires statistical. Default: false.
ai_root_causeNoUse AI to explain low-confidence regressions with root-cause analysis. Default: false.
Behavior5/5

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

With no annotations provided, the description fully carries the burden. It describes the return statuses and their meanings, observability signals, auto-detection of test_path, behavior of heal=true, and the recommendation to treat REGRESSION as blocking. It also explains flaky failure handling and the strict flag's effect.

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?

The description is somewhat lengthy but well-structured: it starts with the core result summary, then usage guidelines, then important notes like test_path detection. Every sentence adds value, though it could be slightly more concise without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (14 parameters, no output schema, 0 required params), the description covers return values, usage context, parameter behavior, and includes an important automated behavior (test_path detection). This provides sufficient context for an agent to use the tool correctly.

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?

All parameters have schema descriptions (100% coverage). The description adds extra context beyond the schema, such as auto-detection logic for test_path and the purpose of heal for distinguishing non-determinism. This adds value but does not compensate for missing schema descriptions since none are missing.

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?

The description clearly states the tool checks for regressions against a golden baseline and returns diff summaries with specific statuses (PASSED, REGRESSION, etc.). It also lists observability signals. This distinguishes it from sibling tools like run_skill_test (which likely runs tests without baseline comparison) and replay (which replays interactions).

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?

The description advises using this tool 'after any code change (prompt, model, tools) to confirm nothing broke.' It also instructs to show diff and offer to fix if regression is found. However, it does not explicitly contrast with alternatives among sibling tools, such as when to use run_skill_test instead.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hidai25/eval-view'

If you have feedback or need assistance with the MCP directory API, please join our Discord server