Skip to main content
Glama
Mipiti
by Mipiti

Accept Coverage Divergences

accept_coverage_divergences

Accept coverage divergences as mapping changes in one batch: adds missing mappings, removes spurious ones, and applies valid changes while skipping invalid items.

Instructions

Accept a set of coverage divergences as mapping changes, in one batch.

Each accepted missing_mapping ADDS its CO to the control; each spurious_mapping REMOVES it. Applied as one version per affected control. Each item is validated independently — the response separates applied from skipped (stale / would-orphan / already in that state), so a partial batch still lands its valid items.

Read the rows first with get_verdict_divergence; to accept only the high-confidence ones, filter its coverage rows by p_covers (near 1.0 for missing_mapping, near 0.0 for spurious_mapping) before passing them here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesJSON array of {"control_id", "co_id", "kind"} objects, where kind is "missing_mapping" or "spurious_mapping".
model_idYesID of the threat model.
change_reasonYesWhy these mapping changes are appropriate (min 10 chars). Recorded on every affected control's version history.
server_versionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.66.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations provided, the description carries full burden and does so well: it discloses that missing_mapping adds coverage while spurious_mapping removes it, that changes are batched as one version per affected control, that validation is per-item, and that partial batches still apply valid items.

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?

The description is front-loaded with a clear one-sentence summary, then uses compact paragraphs to add essential behavioral detail and usage workflow. Every sentence contributes information, with no filler or repetition.

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 mutating batch tool with no annotations, the description covers core effects, validation behavior, and prerequisite workflow. The presence of an output schema reduces the need to describe return values. Minor missing context is the meaning of server_version, but overall the description is sufficient for correct usage.

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 75%, so the baseline is 3; the description adds value beyond the schema by explaining the behavioral meaning of each item kind and by advising how to filter coverage rows before constructing the items array. The only gap is server_version, which remains undocumented.

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 clearly identifies the action ('Accept a set of coverage divergences'), the resource ('coverage divergences'), and the batch scope ('as mapping changes, in one batch'). It also differentiates the semantics of the two item kinds, making the tool's specific role unmistakable.

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?

The description gives explicit sequencing guidance: read rows first with get_verdict_divergence, optionally filter by p_covers, then pass items here. It does not explicitly contrast with sibling dismiss_verdict_divergences, but the prerequisite workflow is clear and actionable.

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

Deploy Server

Other Tools