Skip to main content
Glama

ivd_judgment_propose_recommendation

Draft a recommendation against a detected pattern, send it to pending user approval, and optionally emit a draft recipe YAML or infer a capability subtype for review.

Instructions

Draft a recommendation against a detected pattern. For prompt_patch and intent_revision fix_action_types, also emits a draft_recipe_yaml the agent can review. For capability_addition, infers capability_subtype (build|buy|hire|partner) from the pattern's members. Recommendation lands in approval=pending_user and awaits your gate. 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": {
      "pattern_id": "<pattern_id>"
    },
    "name": "ivd_judgment_propose_recommendation"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoOptional notes.
pattern_idYesPattern id (filename stem under .judgment/patterns/).
project_rootNoOptional path to repo root.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.2

TDQS

A3.9/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 disclose meaningful behavior: conditional side artifacts (draft_recipe_yaml) for two fix action types, subtype inference for capability_addition, and the resulting approval=pending_user state awaiting a user gate. It omits error behavior, whether anything is written to disk, and what happens on re-invocation.

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?

Four tight sentences, front-loaded with the core action, then conditional behaviors, then the resulting state and the dormancy precondition. No filler, though the trailing version tag and dense jargon add little for a selecting agent.

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 three-parameter tool with no output schema and no annotations, the description covers the important unknowns: side artifacts by branch, terminal state, and the enabling precondition. Missing are return contents and failure modes, but the essentials for correct invocation are present.

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 the schema already defines pattern_id, notes, and project_root. The description adds only the notion that the pattern is a detected one; it adds nothing about the optional notes or project_root semantics.

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?

States a specific verb and object: "Draft a recommendation against a detected pattern," which also implies it operates on output from the pattern-detection sibling rather than discovering patterns itself. It is clear about what is produced, but never names a sibling tool explicitly to sharpen the boundary.

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

Usage Guidelines4/5

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

Gives a real precondition — "Dormant unless `.judgment/` exists" — and implies a detected pattern must already exist before calling. It stops short of stating when-not-to-use or naming an alternative tool for related work.

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