Skip to main content
Glama

Suppress a finding

vetkit_suppress_finding
Idempotent

Suppress a confirmed false positive or accepted risk so it no longer affects scores or PR gates, while staying listed. Add a written reason and optional expiry date.

Instructions

Suppress a finding with a written reason (3-500 characters), optionally until an expiry date. The suppression applies to the finding fingerprint in its repository, so the same finding in later audits stays suppressed: it is excluded from scores and PR gates but still listed with suppressed=true; nothing is deleted. Use it only for a confirmed false positive or an explicitly accepted risk the user has stated; prefer a time-boxed expiresAt for accepted risks. Re-suppressing the same finding updates the reason and expiry. Requires the findings:write scope on an API key created by an active organization member, and a user confirmation through MCP elicitation. Revoke a suppression in the vetkit web app.

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": {
      "findingId": "<findingId>",
      "reason": "<reason>"
    },
    "name": "vetkit_suppress_finding"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesWhy the finding is suppressed, e.g. "False positive: test fixture, not a real credential"
expiresAtNoISO 8601 date-time in the future after which the suppression ends (recommended for accepted risks)
findingIdYesFinding id (UUID), as returned by vetkit_list_findings

Output Schema

NameRequiredDescriptionDefault
idYes
activeYesNot revoked and not expired at the time of the call
reasonYes
ruleIdYes
filePathYes
createdAtYes
createdByYes
expiresAtYes
revokedAtYes
repositoryIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses fingerprint/repository scoping, persistence across later audits, exclusion from scores and PR gates while still listed with suppressed=true, that nothing is deleted, and that re-suppressing updates the reason and expiry. Also states auth requirements (findings:write scope, API key from an active org member) and the elicitation confirmation step.

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?

Front-loaded with the core action and effect, then constraining usage, then auth mechanics. It is dense but nearly every clause carries a distinct fact; the auth/elicitation clause is long but necessary given the annotations only flag idempotent/non-destructive.

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 3-param mutation with an output schema and annotations, nothing material is missing: effect, persistence, scoring impact, reversibility path, and prerequisites are all stated. An agent could decide whether to call it and what to pass without further lookup.

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 100%, so the parameter mechanics are already documented; the description still adds intent-level meaning by tying reason to a written justification and endorsing expiresAt specifically for accepted risks. The fingerprint-scoping sentence explains what findingId effectively keys on, which the schema does not.

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?

Opens with a specific verb+resource ('Suppress a finding') and immediately qualifies it with the reason requirement and optional expiry. It is clearly distinct from sibling listing/triage tools by describing a persistent repository-level state change.

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?

Explicitly restricts use to 'a confirmed false positive or an explicitly accepted risk the user has stated' and recommends a time-boxed expiresAt for accepted risks. It also routes revocation away from this tool to the web app, which is genuine when-not-to-use guidance.

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