pii_scan
Scan string columns across tables to identify common PII patterns like emails, SSNs, credit cards, and tokens using heuristic detection.
Instructions
Sweep string columns across tables for common PII patterns (email, SSN, credit card, phone, JWT, bearer tokens). Heuristic-only — not a compliance guarantee. [BUILD tier]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- bin/server.js:137-141 (registration)Registration of the 'pii_scan' tool in the static TOOLS array. Listed in the BUILD tier with a description of its PII-scanning capabilities and an empty input schema.
{ name: "pii_scan", description: "Sweep string columns across tables for common PII patterns (email, SSN, credit card, phone, JWT, bearer tokens). Heuristic-only — not a compliance guarantee. [BUILD tier]", inputSchema: { type: "object" }, - bin/server.js:141-141 (schema)Input schema for pii_scan: accepts only a generic object with no specific parameter requirements.
inputSchema: { type: "object" }, - bin/server.js:190-193 (handler)Handler for all tool calls, including pii_scan. This is a static local adapter — instead of executing the tool, it returns a redirect message pointing users to the hosted MCP server at https://data.thinair.co/mcp for actual execution.
server.setRequestHandler(CallToolRequestSchema, async () => ({ content: [{ type: "text", text: REDIRECT_MESSAGE }], isError: false, }));