Skip to main content
Glama

ohmyho.st

Delete an environment secret

secret_delete
DestructiveIdempotent

Remove one named secret from the selected project and environment using an idempotency key. The value is never accepted or returned. Removal changes the runtime binding without a new deployment and can break the running application. The result includes desired_generation, applied_generation and delivery_state.

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": {
      "idempotency_key": "<idempotency_key>",
      "project_id": "<project_id>",
      "environment_id": "<environment_id>",
      "name": "<name>"
    },
    "name": "secret_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesUppercase environment-variable name. Set refuses a name starting with OHMYHOST_ and the platform names BETTER_AUTH_SECRET, BETTER_AUTH_URL, DATABASE_URL, HYPERDRIVE, ASSETS, FILES, IMAGES and STORAGE with a 400 whose detail is "Secret name is reserved.". Delete refuses the installed platform keys OHMYHOST_AI_KEY, OHMYHOST_MAIL_KEY, OHMYHOST_STORAGE_KEY, OHMYHOST_BROWSER_KEY and BETTER_AUTH_SECRET with the same detail.
project_idYesProject identifier.
environment_idYesEnvironment identifier.
idempotency_keyYesIdentifies one mutation and its canonical request payload.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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=true, so the description's strongest contribution is beyond them: the secret value is never accepted or returned, removal alters the runtime binding without a new deployment, and deletion can break the running app. It also names the return fields (desired_generation, applied_generation, delivery_state), which is valuable since no output schema exists.

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?

Four short sentences, front-loaded with the action and scope, then the risk, then the return shape. Nothing is redundant and each sentence carries new information.

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, the description covers the critical side effects, the security property (value never returned) and the response fields, which is nearly everything an agent needs. It stops short of explaining idempotency-key reuse semantics (e.g., repeating the same key is a safe no-op).

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%, so the meaning of name, project_id, environment_id and idempotency_key is already documented, including the reserved-name refusals relevant to delete. The description only restates that a single named secret in the selected project/environment is targeted, adding little beyond the schema, so the baseline 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?

"Remove one named secret from the selected project and environment using an idempotency key" gives a specific verb (Remove) and resource (a named secret) scoped to project and environment. It is clearly a deletion rather than a set/read operation, so an agent can separate it from secret-setting siblings by verb alone, but no sibling is named explicitly.

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 destructive wording and the warning that removal changes the runtime binding and can break the running application, which tells the agent to be careful. However, there is no explicit when-to-use/when-not-to-use guidance or pointer to alternatives such as the secret input request tools.

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.