Skip to main content
Glama

dismiss_finding

Dismiss review findings as false positives with a single reason so later reviews skip or collapse them; dismissals lift automatically if the entity is edited.

Instructions

Dismiss review findings as false positives — on the user's decision, with one reason for all of them. Subsequent reviews don't count them and show them collapsed. If the entity changes later, the dismissal is lifted automatically: the edit may have made the finding real. In bulk, one call: findingKeys — a list of keys, or rule — all findings of that rule (e.g. 20 identical ones across 20 triggers). Pass reviewId from review_version — then the version isn't re-read; without it the server runs the review once for the whole call. A key is the key field from plan_fixes or from dismissed, not a finding id (f1…); the key "rule:*" of a collapsed finding dismisses all its entities.

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": {
      "appId": "<appId>",
      "reason": "<reason>"
    },
    "name": "dismiss_finding"
  }
}

Input Schema

NameRequiredDescriptionDefault
ruleNoRule code: dismiss all its findings in the version
appIdYesApp ID
reasonYesWhy this is not a violation — in the user's words
reviewIdNoreviewId from review_version — avoids re-reading the version
findingKeyNoFinding key: rule:resource:id[:field:id]
findingKeysNoSeveral keys at once

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/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 does real work: it discloses the persistence effect on later reviews, the automatic lifting when the entity changes, and the performance cost of omitting reviewId. It does not state permission requirements or what the response contains, which is a meaningful residual gap for a mutation tool.

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?

The core action and its consequence are front-loaded, then bulk mechanics, then the reviewId trade-off, then the key-format caveat — a sensible ordering. It is dense and somewhat dash-chained, but nearly every clause conveys distinct behavior rather than restating the schema.

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 six-parameter mutation tool with no annotations and no output schema, the description covers side effects, idempotence-adjacent behavior, bulk semantics, and key identity. Only the return/response behavior and any authorization constraints are absent, which is minor given the guidance that output schemas relieve that duty.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, yet the description still adds meaning the schema lacks: keys are not finding ids (f1…), keys come from plan_fixes or dismissed, 'rule:*' on a collapsed finding dismisses all its entities, and findingKeys and rule are alternatives for the same bulk intent. That is substantive semantics beyond the field descriptions.

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 precise verb and resource ('Dismiss review findings as false positives') plus its effect on subsequent reviews ('don't count them and show them collapsed'). The bulk form (findingKeys vs rule) is spelled out, so an agent knows exactly what operation this is and how it scales.

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?

It calls out that dismissal is 'on the user's decision' with a single reason for all, and it explains when to pass reviewId (saves a version re-read) versus omitting it (server runs the review once). It does not name a when-not case or point to a sibling such as revert_fixes for undoing a dismissal, so guidance is clear but not exhaustive.

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