Skip to main content
Glama
privacyscrubber-mcp

privacyscrubber-mcp

mark_false_positive

Destructive

Marks a detected token as a false positive so its plaintext value is excluded from future sanitize_text calls in the session, restoring the original value and preventing needless masking.

Instructions

Marks a previously detected token as a false positive. The original plaintext value will be excluded from all future sanitize_text calls in this session. Returns the restored original value and updated ignore list size.

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": {
      "token": "<token>"
    },
    "name": "mark_false_positive"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesThe token to mark as false positive (e.g., '[NAME_1]', '[EMAIL_2]').
session_idNoOptional session ID for multi-agent isolation. Defaults to 'default'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.3

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the mutation profile is known; the description adds the genuinely non-obvious part — that the plaintext is excluded from all future sanitize_text calls within this session, i.e. a persistent state change with security implications. It also discloses the return shape (restored value plus ignore list size), which is useful since no output schema exists. It does not state what happens on a repeat call for the same token, leaving the non-idempotent behavior unexplained.

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 short sentences: purpose first, then the durable behavioral consequence, then the return value. Every sentence carries distinct information and nothing is repeated from the name or 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 two-parameter mutation with no output schema, the definition covers purpose, session-scoped persistence, and return values, which is close to sufficient. The remaining gaps are edge cases — behavior when marking an already-ignored token, and whether the ignore list survives session end — that the annotations' idempotentHint=false hints at but the description never resolves.

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% with concrete examples ('[NAME_1]', '[EMAIL_2]') and a documented session_id default of 'default', so the schema carries the semantics. The description only adds the constraint that the token must already have been detected and reinforces session scope; it adds no format or edge-case detail beyond structured fields.

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 states a specific verb and resource ("Marks a previously detected token as a false positive") and immediately explains the consequent effect on sanitize_text. It is clear enough to distinguish from the guard_* siblings, but it never explicitly contrasts with a nearby alternative such as reveal_text, so it falls short of full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied via "previously detected token" and the session scoping — an agent can infer this is called after a token has been masked and identified as a mismatch. There is no explicit when-not guidance, no statement of prerequisites beyond the token existing, and no named alternative for other correction paths.

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