Skip to main content
Glama

delete_secret

Destructive

Permanently removes a tenant secret, causing any API tools, MCP servers, or trigger callbacks that reference it to stop working.

Instructions

Permanently delete a tenant secret. API tools, MCP servers and trigger callbacks that reference it will stop working.

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
nameYesName of the secret to remove

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.2.4
    • changedInput schema / properties / name / description
      Previous value: -"Nome do secret a remover"New value: +"Name of the secret to remove"
  2. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is covered. The description adds genuinely new behavioral information beyond that: the deletion is permanent and it cascades to API tools, MCP servers and trigger callbacks that reference the secret. It does not say what happens if the name does not exist, but the blast-radius disclosure is the highest-value thing it could add.

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 short sentences, zero filler. The destructive scope is stated first and the side-effect warning second, which is the correct front-loading for a deletion tool.

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 one-parameter destructive tool with no output schema, the definition covers what it does, that it is irreversible, and what breaks as a result. The only remaining gap is error behavior for a non-existent secret name, which is minor given full schema coverage.

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?

There is a single required parameter with 100% schema description coverage ('Name of the secret to remove'), so the schema already carries the semantic load. The description adds nothing about the name parameter — no naming conventions, no lookup-by-ID fallback — which is acceptable but not additive.

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?

The description opens with a specific verb+resource pair, 'Permanently delete a tenant secret,' which leaves no ambiguity about the operation and naturally scopes it away from the other delete_* siblings by naming the resource. It stops short of explicitly contrasting with update_secret or archive-type alternatives, but an agent can identify the target operation immediately.

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?

Usage is implied by the verb and the stated consequence — you call this when you want a secret gone and accept that dependent API tools, MCP servers and trigger callbacks break. There is no explicit when-to-use/when-not guidance and no named alternative (e.g., rotate vs. delete), so the agent must infer the decision boundary.

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