Skip to main content
Glama
welthus-mcp

welthus-mcp

Official
by welthusai

scrub_secrets

Detects and redacts API keys, private-key headers, and email PII in input text, preventing sensitive data leakage before output leaves the system.

Instructions

Detect and redact API keys, private key headers, and email PII.

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": {
      "text": "<text>"
    },
    "name": "scrub_secrets"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesInput text to scrub.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden; it does add genuine behavioral value by enumerating which pattern categories are detected and redacted. However, it omits whether the original text is preserved, whether findings are reported alongside the redaction, and whether the redaction is deterministic or idempotent.

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?

One short, front-loaded sentence with no filler; the verb and the covered entities come first and every word contributes information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter, side-effect-free utility the definition covers the essentials, but with no annotations and no output schema, the description is the only source of truth about the return value and it never says whether the caller gets redacted text, a boolean, or a list of detected secrets. That gap matters 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?

The single parameter is fully documented in the schema (100% coverage) as the input text to scrub, so baseline 3 applies. The description adds no syntax, encoding, or size guidance for that parameter beyond what the schema already says.

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 gives a specific pair of verbs ("detect and redact") and names the concrete resource classes handled: API keys, private key headers, and email PII. That is enough to distinguish it from the verify_* siblings, though it never states what the tool returns (scrubbed text vs. a findings list).

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusions, and no routing advice relative to alternatives such as verify_ai_output or verify_claim. The scope of sensitive patterns implies a use case, but the agent must infer it.

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