Skip to main content
Glama

AtlasData Agent Tools

redact_pii

Detect and redact PII and secrets in text, including emails, phone numbers, cards, tokens, keys, and addresses.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "redact_pii"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it does not say whether the result is redacted text, a list of detections, or the redaction style used (mask vs [REDACTED]), nor whether input length is limited. 'Redact' implies a data transformation, and nothing states what is preserved or what the caller receives back.

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?

One sentence, front-loaded with the action and resource, with the category list doing useful disambiguation work. Nothing is padded or redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (one required string, no nesting, no output schema), so the definition is close to adequate, but for a transformation tool the missing statement of what comes back in place of the sensitive spans is a real gap the agent would want covered.

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?

There is a single required parameter, and the phrase 'in text' plus the schema's inline example make the mapping to `text` obvious. Beyond that, the description adds no constraints on format, size, or encoding that the schema does not already convey.

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

Purpose4/5

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

The description gives a specific compound verb (detect and redact) and a named resource (PII and secrets in text), then enumerates the covered categories: emails, phone numbers, cards, tokens, keys, addresses. That enumeration lets an agent separate it from something like scan_prompt_injection, which targets a different risk class, without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use statement, no exclusions, and no naming of an alternative tool for adjacent tasks (e.g. prompt-injection scanning). The agent must infer that this is the right call whenever text may contain sensitive data.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.