delete_secret
Delete a secret. Work that still refers to it fails without using an attempt when it next comes due (failure: secret_missing).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The secret's name, e.g. "GITHUB_TOKEN". |
Delete a secret. Work that still refers to it fails without using an attempt when it next comes due (failure: secret_missing).
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The secret's name, e.g. "GITHUB_TOKEN". |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations supplied, the description carries the full burden and does add real behavioral disclosure: deleting a secret breaks dependent scheduled work, that failure does not consume an attempt, and it surfaces as the specific error code secret_missing. It still omits irreversibility, permission requirements, and behavior when the name does not exist, so it falls short of complete.
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?
Two short sentences with the action front-loaded and the consequence immediately following; nothing is wasted. The clause 'fails without using an attempt when it next comes due' is slightly dense and takes a reread to parse.
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?
For a one-parameter destructive tool with no output schema, the definition covers the essential downstream side effect and its error code. Missing are confirmation of irreversibility and behavior on a nonexistent secret, which an agent invoking a delete would reasonably want.
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 description coverage is 100% for the single 'name' parameter, including a format pattern and a concrete example, so the schema already does the documenting. The description adds no further meaning about the name argument beyond what the schema states.
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?
The description opens with a specific verb+resource ('Delete a secret') that is unambiguous and clearly distinct from the sibling write tool set_secret and the read tool list_secrets. It does not explicitly name those siblings, which keeps it short of a 5.
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?
Usage is implied by the imperative 'Delete a secret', and the second sentence usefully warns that work still referencing the secret will fail on its next due date. However, there is no explicit when-to-use vs. when-not guidance, and nothing about verifying references before deleting or preferring another sibling.
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.