Skip to main content
Glama

secret_delete

Destructive

Removes a variable from one environment. Running services keep the value until their next deploy. The value cannot be recovered, which is why this requires confirm: true.

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": {
      "productId": "<productId>",
      "key": "<key>"
    },
    "name": "secret_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesVariable name, e.g. STRIPE_SECRET_KEY.
confirmNoRequired for destructive operations. Without it a destructive call returns its plan and refuses, exactly as dry_run would.
dry_runNoReturn the plan without applying it: the resources it would create, change or destroy, and an estimated monthly cost. Free, and has no side effects. Call this before any change you have not made before.
productIdYesProduct identifier, e.g. prd_7k2m9x4qw1nv8bz3ct6d.
environmentNoEnvironment within a Product. Every Product has production; preview and development are optional. pr-<number> is the preview of an open pull request, made and removed by the GitHub integration on Pro.
idempotency_keyNoReplaying the same key returns the original result instead of acting twice. Strongly recommended for anything that creates a resource or spends money.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, yet the description still adds real behavioral value: deletion is irreversible ("value cannot be recovered") and running services retain the value until their next deploy, which is non-obvious propagation behavior. It ties the confirm gate to the irreversibility rationale rather than merely restating it.

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?

Three short sentences, front-loaded with the action and scope, then the consequence, then the safety requirement. Nothing is redundant or padded.

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 destructive mutation with no output schema and six parameters, the description covers the essentials: permanence, delayed propagation to running services, and the confirm prerequisite. Minor gaps remain (behavior when the key does not exist, whether deploys are blocked), but the schema covers the safety and retry mechanics.

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 100%, so all six parameters including environment patterns, dry_run, confirm, and idempotency_key are already documented in the schema. The description only gestures at the environment parameter ("one environment") and adds no syntax, format, or defaulting detail beyond what the schema provides, so the baseline 3 applies.

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 and resource ("Removes a variable") scoped to "one environment," which cleanly separates it from secret_set and secret_list without needing to name them. An agent knows immediately this is the destructive removal path for a single env var.

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 rather than stated: the confirm requirement and the irrecoverability note tell the agent this is the irreversible branch, but there is no explicit when-to-use/when-not framing or pointer to an alternative (e.g. overwriting with secret_set to preserve availability).

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.

Resources