Skip to main content
Glama

AI triage of findings

vetkit_triage_findings

Classify audit findings as likely true or false positives using your configured AI provider, returning a verdict, confidence and rationale that adjust priority without suppressing results or changing scores.

Instructions

Ask the organization's saved AI provider (BYOK, configured under AI review) whether up to 20 findings of an audit are likely true or false positives. Each finding gets a verdict, a confidence (0–1) and a short rationale grounded in one quoted source line; a redacted ±40-line window of the file is sent to that provider. Verdicts are advisory: they adjust the priority (confident false positives rank lower) but never suppress a finding or change the score or gate. Requires the findings:write scope. Get finding ids from vetkit_list_findings.

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": {
      "auditId": "<auditId>",
      "findingIds": "<findingIds>"
    },
    "name": "vetkit_triage_findings"
  }
}

Input Schema

NameRequiredDescriptionDefault
auditIdYesAudit id (UUID), as returned by vetkit_run_audit
findingIdsYesFinding ids (UUIDs) of this audit, as returned by vetkit_list_findings

Output Schema

NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: data egress of a redacted ±40-line file window to an external provider (consistent with openWorldHint=true), the per-finding verdict/confidence/rationale output shape, the 20-finding cap, the findings:write scope requirement, and the crucial guarantee that verdicts only reorder priority and never suppress findings, alter the score, or affect the gate. That last point directly explains why destructiveHint=false despite a non-read-only operation.

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?

Four tightly packed sentences, front-loaded with what the tool does, then behavior, then the advisory guarantee, then prerequisites. No filler; each sentence carries distinct information an agent needs.

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?

Output schema exists, yet the description still summarizes the return shape (verdict, confidence, rationale) which helps the agent interpret results. Combined with the egress disclosure, scope requirement, cap, and non-destructive guarantee, nothing material is missing for correct invocation.

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%, so auditId and findingIds are already fully documented with formats and provenance. The description only reinforces the 20-item cap and where ids come from, adding little beyond the schema; baseline 3 applies.

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 and resource: ask the org's saved BYOK AI provider to classify up to 20 findings of an audit as likely true or false positives. It clearly distinguishes itself from vetkit_list_findings (source of ids) and from suppression behavior, so an agent can tell what this does versus its siblings.

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 concrete preconditions and routing: requires findings:write scope and directs the agent to vetkit_list_findings for finding ids, plus an explicit 'advisory only, never suppresses' boundary that implicitly separates it from vetkit_suppress_finding. It stops short of an explicit when-not-to-use sentence (e.g. 'if you want to permanently suppress, use vetkit_suppress_finding'), so it is strong but not exhaustive.

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