Skip to main content
Glama

redline_history

Append redline reports to local history or review trend history to track prompt regression results over time.

Instructions

Append a redline report to local history or show trend history.

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_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoProject directory where redline should run.
outNoHistory JSONL path.
jsonNoPrint machine-readable JSON.
labelNoLabel for an appended report.
limitNoEntries to show; use 0 for all.
out_mdNoWrite Markdown history report.
fail_onNoComma-separated trend directions that produce exit code 1; use none for report-only.
report_pathNoRedline JSON report to append.
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?

With no annotations, the description must carry the behavioral burden. It discloses that one mode appends to local history and another shows trends, but it omits important effects such as where history is stored, whether appends are additive, and that fail_on can produce exit code 1.

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 a single front-loaded sentence with no wasted wording. It is concise, though the brevity arguably underspecifies the two operating modes.

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 nine parameters, no annotations, and no output schema, a one-sentence description is incomplete. It does not explain mode selection, file-writing side effects, exit behavior, or the relationship between report_path, out, out_md, and fail_on.

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 nine parameters are already documented in the input schema. The description adds no additional parameter meaning beyond that baseline.

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?

The description states two concrete operations: appending a redline report to local history and showing trend history. The verb and resource are clear, though it does not differentiate the tool from any sibling or clarify whether both modes are selected through parameters.

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?

It implies an append mode and a show-history mode but gives no conditions for choosing between them, no prerequisites, and no guidance on when to use this tool instead of related reporting tools.

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