Skip to main content
Glama

veil_scan

Audit text or code for PII and secrets without modifying it, returning detected spans so you can identify sensitive data locations before redaction.

Instructions

Audits text or code for PII and secrets without modifying it, returning detected spans.

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

Input Schema

NameRequiredDescriptionDefault
textYesText or source code to scan

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose the key trait that the input is not mutated and that detected spans are returned. It says nothing about span format, confidence, ordering, or what happens on very large inputs, so important behavioral context is missing.

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 well-formed sentence with the operation, target, non-mutation guarantee, and return content front-loaded. Every clause earns its place and nothing is redundant.

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 simple single-parameter, non-mutating scan with no output schema, the description covers what it does, that it is safe for the input, and roughly what it returns. Missing are details of the return payload and any limits, which keeps it from being fully complete.

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?

There is a single required parameter whose schema description ('Text or source code to scan') is already complete at 100% coverage. The description only broadens it slightly by mentioning code as well as text, adding marginal meaning beyond the schema.

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 specific verb and resource ('Audits text or code for PII and secrets') and adds a scoping clause ('without modifying it, returning detected spans') that distinguishes it from the sibling veil_redact. It stops short of naming the sibling explicitly, so the differentiation is implied rather than stated.

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?

'without modifying it' implies this is the detection-only option versus redaction, which gives an agent enough to infer use in a read-only audit path. There is no explicit when-to-use or when-not-to-use statement, and no prerequisites such as authentication or size limits are mentioned.

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

Deploy Server

Other Tools