Skip to main content
Glama

ZeroTrusted-ai PII Detection Agent

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
/get-detected-piis

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 } ]

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/www-zerotrusted-ai/zt-pii-agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server