Skip to main content
Glama

ivd_review_intent

Builds a human review gate packet for an intent by ranking constraints by risk, surfacing test cases as examples, and listing guessed constraints for sign-off; never auto-approves.

Instructions

Build a human review gate packet for an intent (human review gate). Ranks constraints by risk, surfaces verification.test_cases as worked examples, lists GUESSED constraints pending sign-off. Structure-only — does not auto-approve.

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": {
      "artifact_yaml": "<artifact_yaml>"
    },
    "name": "ivd_review_intent"
  }
}

Input Schema

NameRequiredDescriptionDefault
artifact_yamlYesYAML content of the intent artifact

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.2

TDQS

A3.7/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 reasonably well: it discloses that the operation is structure-only, that it does not mutate approval state, and what the produced packet contains (risk ranking, test-case surfacing, guessed-constraint listing). It stops short of saying whether anything is written to disk or whether the input artifact is modified.

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?

Two compact sentences, front-loaded with the action and then the packet contents, with the key non-behavior ("does not auto-approve") placed last for emphasis. The parenthetical "(human review gate)" restates the preceding phrase and is the only wasted token.

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 single-required-parameter tool with no output schema, the description compensates by describing the shape of the returned packet. Nothing essential to invoking it correctly is missing, though a note on whether the artifact is mutated would close the remaining gap.

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% for the single parameter, so the schema already defines artifact_yaml fully. The description adds only the contextual gloss "for an intent," which confirms the parameter's subject but contributes no format or content guidance beyond the schema.

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 artifact ("Build a human review gate packet for an intent") and immediately enumerates what the packet contains: risk-ranked constraints, worked test-case examples, and pending GUESSED constraints. It is clearly distinguishable from validation or test-running siblings, though it never names an alternative tool outright.

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 parenthetical "(human review gate)" and by the closing "does not auto-approve," which hints that approval is a separate step. There is no explicit when-to-use/when-not statement and no named sibling to route the agent toward for the approve path.

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