Skip to main content
Glama

Audit Feature Manifest

warden.audit_features
Read-onlyIdempotent

Audit feature manifests for lookahead leakage and provenance violations, flagging banned actuals, pre-tape features, unknown features, and optional symbol coverage gaps.

Instructions

Audit a feature manifest for lookahead leakage and provenance violations.

manifest: [{name, source, value_ts, as_of}]. Flags banned actuals sources (open-meteo.archive etc.), features predating tape start, and unknown features fail closed to tier C. Optional coverage check vs MIN_COVERAGE=0.90 for challenger-selected symbols against the archived snapshot universe.

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": {
      "manifest": "<manifest>"
    },
    "name": "warden.audit_features"
  }
}

Input Schema

NameRequiredDescriptionDefault
manifestYesFeature manifest: [{name, source, value_ts, as_of}] to audit.
tape_startedNoOptional tape start date (YYYY-MM-DD); features predating it are flagged.
selected_symbolsNoOptional challenger-selected symbols for the coverage check.
snapshot_universeNoOptional archived snapshot universe to measure coverage against.

Output Schema

NameRequiredDescriptionDefault
howNo
toolNo
errorNo
accessNo
verdictNo
coverageNo
featuresNo
provenanceNo
violationsNo
request_access_atNo
banned_actuals_sourcesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.2.1
    • removedOutput schema / properties / coverage / additionalProperties
      Removed value: -true
    • addedOutput schema / properties / coverage / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": true,
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / coverage / type
      Removed value: -"object"
  2. First observedv0.4.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, so the safety profile is covered; the description adds genuine behavior beyond that by disclosing the fail-closed rule (unknown features resolve to tier C) and the MIN_COVERAGE=0.90 gate. It stops short of describing the resulting report structure, but an output schema exists to carry that.

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?

Front-loaded with the core purpose in the first sentence, then the flag conditions, then the optional check. Dense but mostly earning its place; the telegraphic 'etc.' after the banned-source example and the unexplained 'tier C' jargon cost a little clarity.

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

Completeness4/5

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

For a read-only, idempotent audit tool with a full output schema and 100% schema coverage, the description covers purpose, failure modes, and the fail-closed policy. Minor gaps remain around what the returned audit result contains and what tier C implies, though the output schema likely absorbs the former.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not: the 0.90 MIN_COVERAGE threshold behind selected_symbols/snapshot_universe and the fact that tape_started is what causes pre-tape features to be flagged. That is useful operating context beyond field-level docs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource (audit a feature manifest) and names the concrete failure classes it detects: lookahead leakage and provenance violations. That distinguishes it from generic audit.* runners and from warden.validate_genome or warden.validate_order, which operate on different artifacts.

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?

It explains what triggers flags (banned actuals sources, features predating tape start, unknown features) and that the coverage check is optional, which implies when to supply the optional parameters. However, it never says when to choose this tool over siblings like audit.preflight or warden.validate_genome, and there are no explicit exclusions.

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