Skip to main content
Glama

validate_detection

Validate PII detection accuracy by comparing results against expected entities to calculate precision, recall, and F1 scores for testing purposes.

Instructions

Validate PII detection against expected results (useful for testing). Args: text: The text to analyze expected_entities: List of expected entities with 'entity_type', 'start', 'end' language: Language code (default: "en") Returns: JSON string with validation results including precision, recall, and F1 score

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
expected_entitiesYes
languageNoen

Latest Blog Posts

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/cmalpass/mcp-presidio'

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