Skip to main content
Glama

redline_eval

Replay prompt-response suites through a local command and compare candidate outputs to baselines, surfacing behavioral regressions for CI merge gates.

Instructions

Replay a suite through a local command and compare candidate outputs to the suite baseline.

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

Input Schema

NameRequiredDescriptionDefault
cwdNoProject directory where redline should run.
jsonNoPrint machine-readable JSON.
configNoConfig path to read.
out_mdNoWrite Markdown report.
promptNoPrompt template file to render for each case.
compactNoPrint compact one-line-per-case output.
fail_onNoComma-separated statuses that produce exit code 1; use none for report-only.
profileNoDiff profile: strict or review.
timeoutNoPer-case replay timeout in seconds.
workersNoNumber of replay cases to run concurrently.
out_htmlNoWrite self-contained HTML report.
out_jsonNoWrite JSON report.
out_junitNoWrite JUnit XML report.
out_slackNoWrite Slack Block Kit JSON report.
suite_pathNoSuite JSON path. Defaults to config.
out_commentNoWrite concise PR-comment Markdown report.
run_metadataNoWrite replay metadata JSON.
candidate_outNoWrite replayed candidate rows.
max_output_bytesNoMaximum stdout/stderr bytes returned to the MCP client.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses only that a local command is executed and outputs are compared to a baseline. It says nothing about exit-code semantics (the fail_on parameter implies non-zero exits), the fact that many parameters write report files to disk, concurrency/timeout effects, or whether the baseline can be mutated.

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?

A single waste-free sentence with the action front-loaded. Brevity is a virtue here, though the sentence is too terse to structure information for a 19-parameter tool.

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

Completeness2/5

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

For a tool with 19 parameters, no annotations, no output schema, and file-writing plus local-command execution, one sentence is far short of what the agent needs. Nothing explains report outputs, exit behavior, or how the optional parameters interact.

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 all 19 parameters are self-documenting and the baseline of 3 applies. The description adds no parameter-level meaning beyond hinting at the replay mechanism; specifics like profile strict vs review or fail_on statuses are left entirely to the schema.

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 pair (replay a suite) and the core outcome (compare candidate outputs to the baseline), which is enough to distinguish it from a plain diff or audit tool. It never names a sibling or clarifies whether it drives the local command itself or only compares, so boundary-setting is left implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use/when-not guidance and no mention of alternatives such as redline_diff, redline_benchmark, or redline_quick_check despite a crowded sibling set. The phrase 'replay a suite through a local command' implies a context, but an agent gets no criteria for choosing this over the neighbors.

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