Skip to main content
Glama

PromptVault

Scan text for personal data

scan_text
Read-onlyIdempotent

Free. Use BEFORE sending any text, customer record, CSV row, log, ticket or document content to an external AI model, API or vendor. Finds personal data and secrets (email, phone, card, SSN, PAN, Aadhaar, IBAN, API keys) and returns their types and character positions - never the values.

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": "scan_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely new information: it is free, it is privacy-preserving by design ('never the values'), and it returns types plus character offsets rather than matched content. It omits input size limits and latency/network behavior, which would matter for large payloads.

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 tight sentences, front-loaded with cost ('Free.') then the trigger condition, then the behavior and return shape. No filler or restatement of the title.

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 one-parameter read-only utility, the definition covers purpose, trigger, detected entity types, and return semantics. Remaining gaps are size limits and behavior on long or binary input, which are minor given the absence of an output schema and the simple input shape.

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

Parameters4/5

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

The single parameter has 0% schema description coverage, so the description must carry the burden, and it does: it clarifies what counts as 'text' (customer record, CSV row, log, ticket, document content) and implies raw string input. It does not specify maximum length or encoding expectations.

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 specific verb and resource ('Finds personal data and secrets') and enumerates the exact entity classes detected (email, phone, card, SSN, PAN, Aadhaar, IBAN, API keys). The phrase 'returns their types and character positions - never the values' separates it from value-returning siblings like redact_text or detokenize_text without needing to name them.

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?

Gives explicit preconditions for use ('Use BEFORE sending any text... to an external AI model, API or vendor'), which is exactly the decision point an agent needs. It stops short of stating when NOT to use it or naming the alternative for file/document inputs (scan_file, scan_document), leaving some routing to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources