Skip to main content
Glama
ZeroTrusted-ai PII Detection Agent

ZeroTrusted-ai PII Detection Agent

zt-pii-agent

PII detection agent

Available Tools

1 tool
/get-detected-piisA

Analyzes text for Personally Identifiable Information (PII) using regex patterns.

This function scans the input text for common PII patterns including:

  • Email addresses

  • Phone numbers (US format: XXX-XXX-XXXX)

  • Social Security Numbers (XXX-XX-XXXX)

  • Credit card numbers (XXXX-XXXX-XXXX-XXXX)

  • IP addresses (IPv4)

Args: text (str): The text content to be analyzed for PII entities.

Returns: List[Dict]: A list of detected PII entities, sorted by their position in the text. Each dictionary contains: - type (str): Type of PII detected (EMAIL, PHONE, SSN, etc.) - value (str): The actual PII string found - start (int): Starting character position in the text - end (int): Ending character position in the text

Example: >>> text = "Contact john.doe@email.com or 123-456-7890" >>> get_detected_piis(text) [ { "type": "EMAIL", "value": "john.doe@email.com", "start": 8, "end": 25 }, { "type": "PHONE", "value": "123-456-7890", "start": 29, "end": 41 } ]

Inputs: text (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool has a clear, distinct purpose focused on PII detection in text.

    Naming Consistency5/5

    The single tool name follows a consistent verb_noun pattern (get_detected_piis). With only one tool, naming consistency is inherently perfect as there are no other tools to compare against.

    Tool Count2/5

    A single tool is insufficient for a server named 'PII Detection Agent', which implies broader functionality. The scope is too narrow—typical PII detection agents might include tools for classification, redaction, or policy enforcement, not just detection.

    Completeness2/5

    The tool surface is severely incomplete for a PII detection agent. It only provides detection, lacking essential operations like redaction, masking, policy checking, or handling different data formats, which are core to PII management workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers