Skip to main content
Glama

redline_prompts

Scans prompt files to build or check a prompt-to-suite manifest and verifies that mapped suites exist, so you can catch stale mappings or missing suites before running regression checks.

Instructions

Scan prompt files, write or check a prompt-to-suite manifest, and verify mapped suites exist.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "redline_prompts"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoProject directory where redline should run.
outNoManifest JSON path to write or check.
jsonNoPrint machine-readable JSON.
pathYesPrompt file or directory to scan.
checkNoExit non-zero when the manifest is stale.
suite_dirNoSuite directory to map prompt files into.
extensionsNoPrompt extensions to include.
check_suitesNoAlso exit non-zero when mapped suite files are missing.
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

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions writing a manifest and verifying suites, but does not state whether writing overwrites existing files, what permissions are needed, how exit codes behave beyond the parameter descriptions, or what the scan side effects are.

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 filler. Its compactness is appropriate, though the compound 'write or check' phrasing could be more precise.

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?

This is a nine-parameter, multi-mode tool with no annotations and no output schema, so the description needs to carry more behavioral context than a single sentence provides. It identifies the main actions but leaves out mode interactions, write behavior, and output expectations that an agent would need for confident invocation.

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 coverage is 100%, so the schema already documents all nine parameters well. The description adds only a high-level mapping from the actions to the parameters and does not clarify interactions such as how check and check_suites combine or what suite_dir mapping means.

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 names specific verbs and resources: scanning prompt files, writing or checking a prompt-to-suite manifest, and verifying mapped suites. This clearly conveys the tool's scope, though it does not distinguish the tool from siblings such as redline_suite or redline_validate.

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?

Usage is implied by the mention of prompt files and manifests, but there is no explicit guidance on when to use this tool versus alternatives, nor when-not to use it. The mode selected by the check and check_suites flags is not explained in terms of workflow.

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