Skip to main content
Glama

Redact secrets and PII before sending text on

redact_text
Read-onlyIdempotent

Strip emails, phone numbers, ID numbers, API keys, private keys, JWTs, card numbers and IPs out of text, returning the redacted text plus a mapping table to restore them afterwards. Rule-based only — no model sees the input. The same value always maps to the same placeholder, so the answer can be restored.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
onlyNoOptional comma-separated subset, e.g. "EMAIL,API_KEY,PRIVATE_KEY".
textYesThe text to redact.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.5/5.0
Behavior5/5

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

The description reveals deterministic placeholder mapping and the fact that no model sees the input, adding to annotations (readOnlyHint, idempotentHint). It also clarifies the output format with a mapping table.

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 two sentences, front-loaded with the core action and includes only meaningful caveats (determinism, rule-based). No wasted words.

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

Completeness5/5

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

For a tool with an output schema and only two simple params, this description fully covers the purpose, behavior, privacy implications, and determinism. The existence of an output schema means return values are already structured.

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?

Both parameters ('text' and 'only') are already well-described in the schema with 100% coverage. The description does not add additional parameter-specific semantics beyond the general behavior, so the baseline of 3 is appropriate.

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 uses the specific verb 'Strip' and lists concrete PII types (emails, phone numbers, API keys), plus states the output (redacted text and mapping table). This clearly differentiates it from sibling tools which are unrelated (e.g., pdf_to_markdown, convert_to_pdf).

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

Usage Guidelines4/5

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

The description tells the agent when to use it: 'before sending text on' and emphasizes rule-based operation with no model passing, which guides privacy-sensitive use. It doesn't explicitly exclude alternatives, but none of the siblings are redaction tools.

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.

TDQS

A3.7/5.0
Disambiguation5/5

Each tool targets a unique operation—conversions, extractions, translations, and utilities like resume checking or redaction—with no meaningful overlap. The few similar tools (e.g., convert_to_pdf vs. xlsx_to_pdf) are clearly distinguished by input type.

Naming Consistency3/5

Naming mixes conventions: verb_noun (extract_tables, redact_text), noun_to_noun (xlsx_to_pdf, pptx_to_pdf), and unusual forms like doc_translate_cn and what_can_you_do. While snake_case is consistent, the verb/noun pattern is not, making the set slightly less predictable.

Tool Count3/5

With 23 tools, the server sits at the heavy end of the acceptable range. Every tool has a distinct purpose, but the spread across PDF handling, research, audio, and accounting utilities feels more like a miscellaneous collection than a focused suite, which could overwhelm agents.

Completeness4/5

The server covers a broad spectrum of document-processing tasks—conversion, extraction, translation, redaction, and validation—with few dead ends. Minor gaps exist (e.g., no PDF merge/split, no OCR for all scanned PDFs, no explicit delete/update for resources), but core workflows are well supported.