Skip to main content
Glama

PromptVault

Restore tokenized values

detokenize_text
Read-onlyIdempotent

Premium. Restores the real values of tokens THIS agent created with tokenize_text, for the person who needs to see them. Give the purpose. Never send the result to another AI tool.

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>",
      "purpose": "<purpose>"
    },
    "name": "detokenize_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
purposeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds value beyond them: a premium/entitlement gate ('Premium'), a scope limit that it only reverses tokens this agent minted, and a data-handling restriction on forwarding results. It does not say what happens when a token is unknown or was created by another agent, so error behavior remains undisclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the entitlement flag and the core action; nothing is padded. The imperative fragment 'Give the purpose.' is slightly abrupt and could be merged more cleanly into the parameter explanation.

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?

For a two-parameter, no-output-schema tool with rich annotations, this covers purpose, scope, entitlement, and handling constraints adequately. The remaining gaps are the meaning of the required purpose field and the failure mode for unrecognized tokens.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry both parameters and largely does not. 'Give the purpose' is a nudge toward the required purpose field but never explains what it is used for or its expected form, and the text parameter is only obliquely described as holding tokens.

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?

States a specific verb ('Restores') and resource ('real values of tokens') plus a scope qualifier ('THIS agent created with tokenize_text'), which makes it immediately distinguishable from its inverse sibling tokenize_text.

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?

Gives a clear when-to-use condition ('for the person who needs to see them') and an explicit prohibition ('Never send the result to another AI tool'), which is a real routing rule. It stops short of naming alternatives such as redact_text for cases where only partial exposure is acceptable.

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.

Resources