Skip to main content
Glama
Mipiti
by Mipiti

Remove Evidence

remove_evidence

Remove one evidence item from a control by its zero-based index. Updates auxiliary metadata without changing implementation status or assertions.

Instructions

Remove one evidence item from a control by its position in the control's evidence array. Mutating.

Evidence is auxiliary metadata (see add_evidence); removing it does not affect the control's implementation status or any assertions. To find the index, read the control via get_controls (control_id=...) and count its evidence array from 0.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_idYesID of the threat model.
control_idYesID of the control.
evidence_indexNoZero-based position of the item to remove within the control's ``evidence`` array (default 0 = first item).
server_versionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.66.0
    • changedInput schema / properties / evidence_index / description
      Previous value: -"Zero-based index to remove."New value: +"Zero-based position of the item to remove within\nthe control's ``evidence`` array (default 0 = first item)."
  2. Addedv0.62.2
  3. Removedv0.62.1
  4. First observedv0.57.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden and explicitly states 'Mutating.' It also discloses the non-effects (does not affect implementation status or assertions), which is valuable behavioral context beyond the obvious delete action. It does not mention error behavior on an invalid index or reversibility, but the core consequences are covered.

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?

Three sentences, each serving a purpose: the action, the consequence, and the how-to-find-the-index. The key term 'Mutating' is front-loaded, and there is no fluff or repetition of schema content.

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

Completeness5/5

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

For a simple removal tool with 4 parameters, an output schema, and no annotations, this description is complete enough to call correctly. It explains what is removed, what is unaffected, and exactly how to determine the evidence_index. The only unannotated parameter is server_version, but the schema coverage is high and output schema is present, so the description need not fill that 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 descrition coverage is 75%, so the baseline is 3. The description reinforces the zero-based indexing and references get_controls for finding the index, but the schema already documents evidence_index with 'Zero-based position' and a default. The description adds little new parameter meaning beyond what the input schema provides.

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 ('Remove'), resource ('one evidence item from a control'), and method ('by its position in the control's evidence array'). This clearly distinguishes it from add_evidence, get_controls, and other siblings by defining both the action and the targeting mechanism.

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 clear context: evidence is auxiliary metadata, removal does not affect status or assertions, and the way to find the index is to read the control via get_controls. This is actionable guidance, but it does not explicitly list when-not-to-use or directly compare against a sibling alternative beyond referencing add_evidence.

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