Skip to main content
Glama

delete_secret

DestructiveIdempotent

Delete a named secret in the caller workspace; requires secret:admin permission. Use it to remove stored secrets that are no longer needed.

Instructions

Delete a named secret in the caller workspace. Requires secret:admin.

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

Input Schema

NameRequiredDescriptionDefault
nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds two things the annotations do not: the required 'secret:admin' authorization and the caller-workspace scoping of the deletion. It stops short of stating irreversibility or behavior when the named secret does not exist.

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?

Two sentences, both front-loaded and information-dense; the scoping constraint comes before the permission constraint and nothing is redundant with the tool name.

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 single-parameter destructive operation with rich annotations and no output schema, the definition covers what the tool does, where it applies, and who may call it. The only real gap is post-call behavior for a missing or already-deleted secret, which is minor given idempotentHint=true.

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% for the single 'name' parameter, so the description carries the burden. It partially compensates by indicating the name is resolved within the caller's workspace (i.e. not a global or fully-qualified identifier), but gives no format, casing, or naming-convention guidance.

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 ('Delete'), an unambiguous resource ('a named secret'), and the scope ('in the caller workspace'). Combined with the resource noun, an agent can distinguish this from create_secret or resolve_secret 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 Guidelines3/5

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

The prerequisite 'Requires secret:admin' tells the agent whether it may call the tool, but there is no explicit when-to-use / when-not, nor any pointer to adjacent tools (e.g. create_secret to restore, or revoke-style alternatives). Usage is implied by the verb rather than stated.

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