Skip to main content
Glama

redline_audit

Read recent local audit events for evals, redactions, approvals, and requirements, and verify the audit hash chain with optional checkpoints for tail checks.

Instructions

Read recent local audit events for evals, redactions, approvals, and requirements.

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

Input Schema

NameRequiredDescriptionDefault
cwdNoProject directory where redline should run.
jsonNoPrint machine-readable JSON.
pathNoAudit JSONL path. Defaults to config.
limitNoRecent audit events to show; use 0 for all.
configNoConfig path to read.
verifyNoVerify the audit hash chain.
checkpointNoJSON checkpoint produced by audit --out-checkpoint.
expect_entriesNoExpected audit entry count for tail checks.
out_checkpointNoWrite a JSON audit checkpoint after verification.
expect_last_hashNoExpected final audit entry hash for tail checks.
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.8/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 behavioral burden, and it discloses almost nothing: no mention that 'verify' performs hash-chain integrity validation, that 'out_checkpoint' writes a file to disk, that 'expect_last_hash'/'expect_entries' can cause failure on tail mismatch, or what the output looks like. Only 'local' hints at the data source. For an 11-parameter tool with a write side effect, this is a significant gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single well-formed, front-loaded sentence with no wasted words. But conciseness here shades into under-specification: the brevity leaves verification, checkpointing, and failure semantics entirely undocumented for a fairly complex 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?

With 11 optional parameters, no annotations, and no output schema, the description should explain verification mode, checkpoint expectations, and read-vs-write behavior. Instead it covers only the basic read path, leaving the majority of the tool's surface unexplained.

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 every parameter is documented in the schema itself and the baseline of 3 applies. The description adds only the notion of 'recent' (implying the default limit behavior) and 'local' (implying on-disk JSONL), adding little beyond what the schema already 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 has a concrete verb+resource ('Read recent local audit events') and enumerates the event categories (evals, redactions, approvals, requirements), which lets an agent distinguish it from siblings like redline_history or redline_status. However, it frames the tool purely as a reader while the schema exposes hash-chain verification and checkpoint writing, so the stated purpose is narrower than the actual capability.

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 guidance, no prerequisites, and no mention of alternatives among the 25 siblings (e.g. redline_history for change history vs. this for audit events). The agent must infer timing and selection from the name alone.

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