Skip to main content
Glama

ivd_judgment_capture

Capture a real-world correction in under 30 seconds by writing a raw ledger entry for later codification, so review, audience, or runtime signals are logged before they are lost.

Instructions

Capture a raw correction in < 30 seconds. Writes a ledger entry in state=raw under .judgment/ledger/raw/. Use this the moment a real-world correction surfaces (your review, audience signal, runtime error, etc.). Follow up with ivd_judgment_codify. Dormant unless .judgment/ exists. (IVD v3.0)

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": {
      "raw_correction": "<raw_correction>",
      "domain": "<domain>"
    },
    "name": "ivd_judgment_capture"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentNoOptional agent name (e.g. 'gaming_agent').
modelNoOptional model identifier (e.g. 'gpt-5-codex').
scopeNoOptional scope (e.g. 'workflow_x' or system path).
domainYesDomain id (must match a baseline if you want depth weighting).
sourceNoauthor_intuition | audience | runtime | peer_review | automated_testauthor_intuition
project_rootNoOptional path to repo root.
raw_correctionYesRaw correction text — what was wrong, paste verbatim.
correction_typeNoregression | wrong_output | missing_feature | hallucination | otherregression
originated_from_toolNoOptional: the tool that produced the bad output (for tool-originated failure tracking).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.2

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the write target path, the resulting entry state (raw), the activation precondition, and an expected latency (<30s). It stops short of stating idempotency/overwrite behavior, failure modes, or what the call returns, which matters for a filesystem-mutating tool with no output schema.

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?

Four short sentences, front-loaded with the value proposition and timing, then the mechanism, then the follow-up, then the precondition. Nothing is redundant and the version tag is the only non-load-bearing element.

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 9-parameter write tool with no annotations and no output schema, the definition covers purpose, trigger, storage location, precondition, and next step — enough to invoke it correctly. The remaining gap is post-call behavior (what confirmation is returned, what happens if `.judgment/` is absent or the domain doesn't match a baseline).

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, their defaults, and enum-like value lists are already documented in the schema. The description adds no parameter-level meaning beyond it — even notable semantics like domain matching a baseline for depth weighting and verbatim raw_correction text live in the schema, not here. Baseline 3 applies.

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?

States a specific verb and resource ("Capture a raw correction") plus the concrete side effect and destination ("Writes a ledger entry in state=raw under `.judgment/ledger/raw/`"). It also positions itself in the pipeline by naming ivd_judgment_codify as the follow-up, so an agent can tell it apart from the codify/save siblings without opening their schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger ("the moment a real-world correction surfaces") with concrete example sources (review, audience signal, runtime error), an explicit next step ("Follow up with ivd_judgment_codify"), and a hard precondition ("Dormant unless `.judgment/` exists"). Both when-to-use and a blocking when-not condition are covered.

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