Skip to main content
Glama

Delete a secret

delete_secret
DestructiveIdempotent

Delete a secret and all of its bindings.

Input Schema

NameRequiredDescriptionDefault
secret_idYesThe secret's id, from list_secrets.

Output Schema

NameRequiredDescriptionDefault
deletedYestrue once it is gone.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds information annotations cannot express — that all of the secret's bindings are destroyed alongside it — which is exactly the kind of blast-radius context an agent needs. It stops short of saying whether deletion is recoverable or what permissions are required.

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 sentence, front-loaded with the verb and resource, with zero filler. The destructive scope detail is attached to the action rather than buried later.

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?

An output schema exists, so return values need no explanation, and the annotations carry the safety profile for this single-parameter tool. The one real gap is that irreversibility and the downstream effect on anything using those bindings are not spelled out.

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 the single parameter's description already tells the agent to obtain the id from list_secrets. The tool description adds nothing about the parameter, but with full schema coverage the baseline of 3 applies.

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?

Specific verb+resource ('Delete a secret') with the added scope detail that bindings are removed too. It is clearly distinguishable from set_secret, attach_secret, and list_secrets, though it does not name any sibling explicitly.

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

Usage Guidelines2/5

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

There is no statement of when to use this versus alternatives (e.g., detaching a binding vs. deleting the secret), no prerequisites, and no warning about when not to call it. The only usage signal is the implied 'call this to remove a secret.'

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.