Skip to main content
Glama

redline_budget

Estimate eval runtime, timeout budgets, and CI capacity needs before enabling a gate without replaying prompts or calling models.

Instructions

Estimate suite or prompt-manifest eval runtime, timeout budget, and CI scale before enabling a gate. Does not replay prompts or call models.

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

Input Schema

NameRequiredDescriptionDefault
cwdNoProject directory where redline should run.
jsonNoPrint machine-readable JSON.
configNoConfig path to read.
out_mdNoWrite budget report Markdown.
timeoutNoPer-case timeout in seconds.
workersNoNumber of replay workers.
out_jsonNoWrite budget report JSON.
suite_pathNoSuite JSON path. Defaults to config.
max_secondsNoExit 1 when worst-case eval budget exceeds this.
github_summaryNoAppend budget Markdown to GITHUB_STEP_SUMMARY.
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

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full load and does disclose the most important behavioral trait: this is a dry estimate that neither replays prompts nor calls models, so no model spend or side effects occur. It says nothing about file-writing behavior (the schema's out_md/out_json/github_summary reveal outputs), nor about what happens when the budget is exceeded beyond the parameter-level hint.

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?

Two sentences, front-loaded with the purpose and followed by the exclusion. Every clause earns its place and nothing is redundant.

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

Completeness3/5

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

For an 11-parameter, zero-required tool with no annotations and no output schema, the description covers purpose and the non-execution guarantee but leaves gaps: whether an existing suite/config is needed, what the budget report contains, and how the max_seconds failure mode behaves. Adequate but not complete for this complexity.

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% across 11 properties, so the schema already documents each parameter well and the baseline is 3. The description only loosely maps its concepts (suite, CI scale) onto suite_path, workers, and github_summary without adding syntax, defaults, or interaction rules beyond what the schema states.

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 uses a specific verb ('Estimate') and names the exact outputs (eval runtime, timeout budget, CI scale), plus a negative scope clause ('Does not replay prompts or call models') that separates it from the eval/replay siblings. It stops short of naming a sibling explicitly, so it is clear but not fully differentiated by name.

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?

'before enabling a gate' supplies a genuine timing condition for when to reach for this tool, and the negative clause rules out using it to actually run evals. However, there is no explicit statement of which sibling to use instead when you do want a real replay, leaving the routing implied rather than directed.

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