Delete a secret
delete_secretDelete a secret and all of its bindings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secret_id | Yes | The secret's id, from list_secrets. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | true once it is gone. |
delete_secretDelete a secret and all of its bindings.
| Name | Required | Description | Default |
|---|---|---|---|
| secret_id | Yes | The secret's id, from list_secrets. |
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | true once it is gone. |
Changes observed during successful MCP inspections.
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.
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.
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.
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.
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.
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.
Add one secure layer between your agents and this server.