Skip to main content
Glama

One-time encrypted secret

secret
Destructive

One-time secret from an envelope you already encrypted locally: {"v":1,"alg":"A256GCM","iv":...,"ct":...} (unpadded base64url; never send plaintext or keys here). create returns reveal_token and receipt_token; status/revoke take receipt_token. Revealing happens in a browser at /s/#.<reveal_token>, or by POST /v1/secrets//reveal. People can also use the browser tool at https://setget.net/s.

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": {
      "action": "<action>"
    },
    "name": "secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
actionYes
envelopeNo
ttl_secondsNo
receipt_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=false, so the description only needs to add on top. It does add real context: the secret is one-time, encryption happens locally, the server never sees plaintext or keys, and revealing occurs via a fragment-bearing URL or a POST to /v1/secrets/<id>/reveal. What's missing is any indication of what revoke destroys or what status reports.

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?

The definition is dense but front-loaded with the essential fact (an encrypted envelope, no plaintext). The inline envelope example and reveal paths earn their space as operational detail. The final sentence pointing at the human-facing browser URL ('People can also use the browser tool at https://setget.net/s') is the most expendable part.

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 five-parameter tool with no output schema and zero schema description coverage, the description covers the core flow (create -> tokens -> status/revoke) and the cryptographic constraints. Gaps remain for id and ttl_seconds and for what status actually returns, but the tool model is understandable as written.

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 description coverage is 0%, so the description must carry the semantics, and it only partly does: it explains the envelope shape (v/alg/iv/ct, unpadded base64url) and ties receipt_token to status/revoke. The `id` parameter and `ttl_seconds` are never mentioned, even though ttl_seconds controls the expiry window, a key concept for a one-time secret.

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 defines the resource precisely (a one-time secret built from a client-side-encrypted envelope) and enumerates the three actions with what each returns or consumes. It's clear that create produces reveal_token/receipt_token while status/revoke consume receipt_token, though the sentences are declarative rather than structured, and there's no explicit differentiation from the many sibling tools.

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

Usage Guidelines3/5

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

Usage guidance is implied through the action-to-token mapping: use create to obtain tokens, then pass receipt_token to status or revoke. The constraint 'never send plaintext or keys here' is a genuinely useful exclusion. However, there is no statement of when to prefer status versus revoke, when this tool is inappropriate, or what the conditions/results of each action are.

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