Skip to main content
Glama

veil_restore

Restore placeholder tokens such as [EMAIL_1] to original PII values using the active session vault or an explicit vault JSON.

Instructions

Restores placeholder tokens (e.g. [EMAIL_1], [CREDIT_CARD_1]) back to their original PII values using the active session vault or an explicit vault_json.

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": "veil_restore"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesSanitized text containing placeholders
vault_jsonNoOptional serialized Vault JSON; uses session vault if omitted

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations exist, so the description carries the full disclosure burden. It usefully reveals the vault dependency (restoration fails without session state or a supplied vault), but it never states what happens with unrecognized placeholders, whether partial restores are allowed, or the security implication that the output contains raw PII.

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 front-loaded sentence with zero filler; the core action, examples, and vault sourcing all appear before any trailing detail.

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?

There is no output schema and the description never says what is returned — a restored string, a structured object, or an in-place operation. For a security-sensitive re-identification tool with a single required input and no annotations, that return-value ambiguity is a meaningful gap.

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 100% and both parameters are already documented in the schema, including the session-vault fallback. The description restates the same fallback behavior without adding format or validity detail beyond structured data, so the baseline 3 applies.

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?

Names a specific verb ("Restores") and a specific resource ("placeholder tokens ... back to their original PII values") with concrete token examples like [EMAIL_1]. The inverse relationship to the veil_redact siblings is immediately legible without inspecting schemas.

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?

Explains the two operating modes — active session vault by default, or an explicit vault_json — which is the key decision an agent must make before calling. It lacks explicit when-not guidance or named alternatives, which keeps it below a 5.

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

Deploy Server

Other Tools