Skip to main content
Glama

Mark a finding as expected or ignored

visual_suppress

Suppress specific visual-audit findings by generating pasteable ignore or expected annotations with reviewable why/until fields, or persist a sidecar entry for markup you cannot edit.

Instructions

Produces the exact code you can paste to stop this observation from coming back: a data-visual-ok attribute (ignored entirely) or data-visual-expect (still reported, downgraded to info). Both carry why= and until= so the suppression is reviewable and expires. Attributes are stripped in production builds by the shipped plugins. Set write=true to also append a sidecar entry for markup you cannot annotate.

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>",
      "why": "<why>"
    },
    "name": "visual_suppress"
  }
}

Input Schema

NameRequiredDescriptionDefault
whyYesShort justification. Required, because future readers must be able to judge it.
modeNoignore (default) never reports it again; expected keeps it visible as info.
untilNoExpiry date (YYYY-MM-DD). Defaults to 90 days from now.
writeNoAlso persist a sidecar entry. Default false: only returns the snippet.
findingIdYesFinding id to suppress.
sessionIdNoSession id. Defaults to the most recent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.3

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses that attributes are stripped in production builds by the shipped plugins, that suppressions expire, and that write=true causes a persistent sidecar entry as a side effect. It omits whether the default (non-write) call is purely read-only and what permissions or repo state the sidecar write touches.

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, front-loaded with the core output and then the two modes, then the write escape hatch. Each clause carries distinct information, and the parenthetical glosses on the two attributes prevent misreading without padding.

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?

There is no output schema, and the description compensates by describing the returned snippet concretely (attribute name, carried `why=`/`until=`). What remains unstated is the response shape when a snippet is or isn't produced and where a sidecar entry lands, which matters for an agent that must report the result.

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 description coverage is 100%, so the schema already documents all six parameters, establishing a baseline of 3. The description adds rationale rather than new mechanics: it explains that `why=` and `until=` travel with the attribute so the suppression is reviewable and expires, and that `write` persists instead of just returning a snippet.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a concrete verb and artifact ("Produces the exact code you can paste to stop this observation from coming back") and names both output forms, the `data-visual-ok` attribute and `data-visual-expect`. It never distinguishes itself from siblings such as `visual_suppressions`, so an agent cannot tell from this text alone whether it should read existing suppressions or generate a new one.

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 gives clear conditional guidance for the two modes (ignore never reports again, expected keeps it visible as info) and states when to reach for write=true ("markup you cannot annotate"). It offers no explicit when-not-to-use or pointer to an alternative tool, which keeps it short of a 5.

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