Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Delete secret

tzcloud_delete_secret
Destructive

Delete your stored secret by name and scope. This cannot be undone. Use a signed-in session or account-wide token minted with destructive. Give the account's owner approval_url for browser approval, then read read_approval_status to its end. Nothing is deleted before approval. End settings, upstream, sign-in and push uses first or meet secret_in_use. A platform-managed secret cannot be deleted. To change a value, use tzcloud_store_secret with replace: true. Replace a leaked key at its issuer.

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": "tzcloud_delete_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe stored name to delete, as `tzcloud_list_secrets` lists it.
request_idNoAny string you choose. A repeat from the same account while that pending action is live returns it again, creating no second one. Omitted, every call creates a new one.
applicationNoThe application id whose scope holds the secret; omitted, the account scope.
environmentNoOptional, and only with `application`: the environment whose scope of that application holds the secret, `development` or `production`; leave it out for `production`. Refused if given without `application`. Each environment's value is deleted on its own call.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description goes well beyond them: it declares the operation irreversible, describes a two-step approval handshake (hand `approval_url` to the account owner, then poll `read_approval_status` to completion), and guarantees 'Nothing is deleted before approval'. It also discloses two hard refusal conditions — `secret_in_use` and platform-managed secrets — that an agent could not infer from the schema or annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the irreversible warning and the approval flow, and nearly every clause carries operational content (authorization requirement, approval handshake, refusal conditions, alternative tool). It is dense but runs long as a chain of short sentences; a tighter grouping of the two refusal conditions would read better without losing 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, approval-gated tool with no output schema, the definition covers authorization (signed-in session or token minted with `destructive`), the full approval lifecycle, and the blocking prerequisites — enough for an agent to attempt the call correctly. The only remaining gap is the shape of a successful response, which is a minor omission given the explicit instruction to read `read_approval_status` to completion.

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%, with `name`, `request_id`, `application` and `environment` each documented in the schema itself, including the environment/application dependency rule. The description only adds the phrase 'by name and scope', which loosely frames the scoping parameters but adds no syntax, defaults, or edge cases beyond what the schema already supplies. Baseline 3 is appropriate when the schema carries the parameter burden.

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?

The first sentence gives a specific verb and resource ('Delete your stored secret') plus the scoping dimension ('by name and scope'), which is exactly what an agent needs to distinguish this from tzcloud_list_secrets or other delete tools. The scope of what is being removed (the stored value, in account or application/environment scope) is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly routes the agent away from this tool when the intent is modification: 'To change a value, use tzcloud_store_secret with replace: true', and it names 'Replace a leaked key at its issuer' as the correct remediation for a compromise. Preconditions for calling it (end settings, upstream, sign-in and push uses first) are stated with the failure mode ('secret_in_use') that results otherwise.

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