Skip to main content
Glama

pii_detect

Detect and redact Personally Identifiable Information (PII) in text to protect privacy and secure sensitive data.

Instructions

Detect and redact Personally Identifiable Information (PII) in text. Returns detected PII types and redacted text. Cost: $0.02 USDC per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesText to scan for PII
redactNoWhether to return redacted text
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes the core functionality (detect and redact PII) and output (returns detected PII types and redacted text), and adds valuable context with the cost per call. However, it lacks details on rate limits, error handling, or specific PII types covered.

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?

The description is front-loaded with the core purpose, followed by output details and cost information in two concise sentences. Every sentence adds value without redundancy, making it efficient and well-structured.

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?

Given the tool's moderate complexity (2 parameters, no output schema, no annotations), the description is fairly complete: it covers purpose, output, and cost. However, it could improve by specifying PII types or error scenarios, slightly reducing completeness for a tool with no output schema.

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?

Schema description coverage is 100%, so the schema already documents both parameters ('text' and 'redact') thoroughly. The description does not add any parameter-specific semantics beyond what the schema provides, such as examples or format details, meeting the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with specific verbs ('detect and redact') and resource ('PII in text'), and distinguishes it from siblings by focusing on PII detection rather than alternative text analysis tasks like sentiment analysis or document intelligence.

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?

The description implies usage for PII detection scenarios but provides no explicit guidance on when to use this tool versus alternatives (e.g., for general text processing vs. PII-specific tasks) or any prerequisites. It mentions cost, which hints at financial considerations, but lacks clear when/when-not directives.

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

Install Server

Other Tools

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/ntriq-gh/ntriq-agentshop'

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