Skip to main content
Glama

Shredkey

Create a self-destructing secret link

create_secret_link

Encrypts a secret (password, API key, token, .env content, private note) and returns a one-time link to give to a human or another agent. The link self-destructs after max_views reads or when it expires. Use this instead of pasting a secret in a chat, email, ticket or log.

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

Input Schema

NameRequiredDescriptionDefault
secretYesThe secret content to share.
opens_atNoPro: ISO date before which the secret cannot be opened (time capsule, up to 1 year).
max_viewsNoReads before destruction. Default 1.
expires_inNoLifetime: "10m", "1h", "1d", "7d" (Pro: up to "30d"). Default "1d".
passphraseNoOptional extra passphrase the reader must type (send it through another channel).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnly=false, destructive=false, idempotent=false, openWorld=false; the description adds genuine behavior beyond that — encryption at creation and self-destruction triggered by either max_views or expiry. It omits whether the secret can later be revoked or the link regenerated, which would matter for a write tool.

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?

Three sentences, front-loaded with what the tool does, then the lifecycle behavior, then the usage prompt. No filler or redundant restatement of the title.

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?

With no output schema, the description correctly states the return value as a one-time link, and it covers the destruction lifecycle for a 5-parameter tool. Missing only edge behavior — whether an unread secret can be revoked or whether the link is displayed once at creation.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description weaves two parameters into behavior ('self-destructs after max_views reads or when it expires') rather than just restating names. It adds no detail on passphrase delivery mechanics, which the schema already flags.

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?

Specific verb and resource: 'Encrypts a secret ... and returns a one-time link', with concrete secret types enumerated (password, API key, token, .env, private note). It is unmistakably the create side of the workflow versus open_secret_link, so an agent can select it without opening the schema.

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?

Explicit positive guidance: 'Use this instead of pasting a secret in a chat, email, ticket or log,' which frames the situation well. It stops short of naming a sibling tool (e.g. request_secret) as the alternative or stating when not to use it.

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