Skip to main content
Glama
kpshinnik

docs-masked

by kpshinnik

mask_text

Replace personal data in text with secure, reversible tags before sending it to a language model. Use this tool to protect privacy, then restore original data in the model's response using the returned vault identifier.

Instructions

Заменить персональные данные в тексте на устойчивые теги (#PERSON_1#, #PHONE_2#). Вызывай это ДО того, как отправишь чужой текст куда-либо. Возвращает vault_id для обратной подстановки.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
allowlistNoстроки, которые маскировать не нужно
mask_urlsNoскрывать ссылки
tag_styleNoформат тега: #PERSON_1# | [[PERSON_1]] | <PERSON_1>
extra_termsNoдополнительные строки для маскирования
mask_all_datesNoскрывать все даты, не только даты рождения
aggressive_namesNoскрывать одиночные слова, похожие на фамилии

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses that it returns a vault_id for reverse substitution, but does not explain whether the operation is destructive, reversible beyond substitution, or has any side effects like logging or API rate limits.

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 extremely concise with two sentences: the first explains what the tool does, the second gives critical timing advice. Every sentence adds value with no redundancy.

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 parameter richness (7 params, 86% schema coverage) and lack of output schema, the description adequately covers the main purpose and usage timing. It could improve by mentioning return value structure or error states, but it is sufficient for an agent to correctly select and invoke the tool.

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 coverage is 86%, so the baseline is 3. The description does not add extra meaning beyond the schema's descriptions (e.g., the allowlist, tag_style formats are already documented). The only added value is the overall workflow context, not parameter-specific details.

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 verb 'replace' and resource 'personal data in text', specifies the output format of stable tags like #PERSON_1#, and distinguishes itself from siblings like unmask_text and mask_document by focusing on text-level masking.

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 explicitly says 'Call this BEFORE sending someone else's text anywhere', providing clear timing guidance. However, it does not explicitly state when not to use it or describe alternative tools like verify_text or mask_document for comparison.

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

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/kpshinnik/docs_masked'

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