redline
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Use redline tools to generate prompt regression suites, evaluate prompt changes, inspect reports, and review local setup. redline is local-first and does not call cloud models unless a project-configured replay or judge command does.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| redline_statusC | Show project readiness, latest local evidence, and the next command to run. |
| redline_doctorC | Check local redline setup health and print next steps. |
| redline_suiteC | Generate a representative eval suite from baseline prompt-response JSONL logs. |
| redline_quick_checkC | Generate a temporary suite from baseline JSONL, diff candidate JSONL, and write reports plus a guided local app. |
| redline_redactC | Scan or redact common secrets and PII from JSONL prompt-response logs. |
| redline_importC | Normalize exported JSONL fields into redline prompt/response JSONL. |
| redline_watch_statsC | Summarize observed prompt-response captures, readiness, duplicates, and middleware skip diagnostics. |
| redline_watch_snippetsB | Print copy-paste local capture snippets for decorators, SDK patching, or FastAPI middleware. |
| redline_promptsB | Scan prompt files, write or check a prompt-to-suite manifest, and verify mapped suites exist. |
| redline_judgesC | List or copy optional judge templates for semantic review of changed cases. |
| redline_import_presetsC | List built-in log import presets and their field mappings. |
| redline_runnersB | List or copy runner adapters for replay commands, log import, and SDK capture. |
| redline_validateC | Validate suite or prompt-manifest structure, mapped suites, hashes, requirements, and source freshness. |
| redline_summaryC | Summarize suite or prompt-manifest provenance, coverage, behavior groups, owners, requirements, and next steps. |
| redline_benchmarkB | Compatibility alias for redline_budget. Estimate suite or prompt-manifest eval runtime before enabling a gate. |
| redline_budgetA | Estimate suite or prompt-manifest eval runtime, timeout budget, and CI scale before enabling a gate. Does not replay prompts or call models. |
| redline_casesB | List suite cases and IDs so an agent can inspect generated or pinned coverage. |
| redline_caseB | Show full detail for one suite case, including owner, requirements, source, and baseline response. |
| redline_markC | Mark a case expected, accepted, or ignored after explicit user approval. |
| redline_diffC | Compare candidate JSONL outputs against a redline suite and return the behavioral diff. |
| redline_evalC | Replay a suite through a local command and compare candidate outputs to the suite baseline. |
| redline_historyC | Append a redline report to local history or show trend history. |
| redline_dashboardC | Write a self-contained local HTML dashboard for reports and trend history. |
| redline_auditC | Read recent local audit events for evals, redactions, approvals, and requirements. |
| redline_sbomC | Write CycloneDX SBOM release evidence for redline. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| check_prompt_change | Run the redline setup check and evaluate a changed prompt before shipping. |
| build_suite_from_logs | Turn existing prompt-response logs into a suite and inspect coverage. |
| review_candidate_outputs | Quick-check or diff candidate JSONL outputs and summarize risky behavior changes. |
| setup_redline_project | Guide first-time redline setup from app shape to runner, suite, and optional judge. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 25 tools
The tool names have a consistent shape but several tools have a hard-to-distinguish purpose. Redline_benchmark is explicitly declared a 'compatibility alias' for redline_budget, and redline_judges / redline_runners / redline_import_presets form a nearly identical 'list or copy templates' cluster; redline_suite and redline_quick_check both 'generate a suite from baseline JSONL' with only subtle differences. Redline_validate, redline_doctor, and redline_status also overlap around health/setup checking, though their descriptions do enough to separate the core workflow tools.
Every tool uses the redline_ prefix in snake_case, which makes the set highly predictable to scan. The only deviation is the suffix grammar: some are nouns (redline_cases, redline_judges, redline_history) and others are verbs (redline_validate, redline_redact, redline_diff), so it is not a strict verb_noun pattern. This is a minor stylistic inconsistency rather than a barrier.
25 tools is at the upper boundary of reasonable and feels heavy for an eval/regression harness. Several entries could be folded in: the benchmark/budget alias is a pure duplicate, the three 'list or copy template' tools could share a surface, and the validate/doctor/status trio is arguably one diagnostic operation with flags. Each individual tool is plausible, but as a set it is broader and more brittle than needed.
The surface covers a full lifecycle: setup health, suite generation/import, validation, case inspection, marking, diff/eval, budget estimation, redaction, local capture, history, dashboard, audit, and SBOM evidence. Only minor gaps remain, such as no explicit update/delete for suite cases and no tool to actually enable or persist a CI gate despite budget repeatedly mentioning it. These are workarounds rather than dead ends.