Skip to main content
Glama

privacy_explain_finding

Read-only

Explain a privacy_selftest finding by fingerprint: why it fired, which detector rule matched, what severity means, and how to fix it, especially when it looks like a false positive.

Instructions

Explain one finding from privacy_selftest by its fingerprint: why it fired, which detector rule matched, what the severity level means, and the fix. Call when a finding is unclear or looks like a false positive.

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": {
      "fingerprint": "<fingerprint>"
    },
    "name": "privacy_explain_finding"
  }
}

Input Schema

NameRequiredDescriptionDefault
fingerprintYesThe 16-hex `fingerprint` of a finding from a privacy_selftest result.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.20.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, non-destructive and closed-world, so the safety profile needs no restating. The description adds context annotations cannot carry: the explanation decomposes into firing reason, matched detector rule, severity interpretation, and remediation. It does not mention cost or latency, but nothing about its read-only nature is misrepresented.

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?

Two sentences, no filler. The identity and scope of the tool are front-loaded, and the trigger condition follows immediately, so an agent can act on the first clause alone.

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?

This is a single-parameter read-only tool with full schema coverage and an output schema, so return values need not be described. The description covers purpose, input source, and diagnostic trigger, leaving no meaningful gap 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 description coverage is 100% and the single parameter already documents that it is a 16-hex fingerprint from a privacy_selftest result. The description's only addition is confirming the finding comes from privacy_selftest, which the schema also states, so the baseline of 3 applies rather than a bonus.

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?

The description gives a specific verb (explain) and resource (one finding from privacy_selftest), identifies the key (fingerprint), and enumerates what the explanation covers: why it fired, which detector rule matched, severity meaning, and the fix. That content is clearly distinct from privacy_selftest, which produces the findings in the first place.

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 states an explicit trigger condition: call when a finding is unclear or looks like a false positive. That is concrete usage guidance. It stops short of stating when NOT to use it or naming a specific sibling as a fallback, but the source tool and the diagnostic framing make the scope unambiguous.

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