Skip to main content
Glama

OpenFactory

delete_lab_secret

Delete all versions of a secret once no deployment references it.

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": {
      "lab_id": "<lab_id>",
      "name": "<name>"
    },
    "name": "delete_lab_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
lab_idYes
api_keyNo
session_tokenNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it does disclose the destructive scope (all versions, not just the latest) and a safety precondition about live references, which is genuinely useful behavior information. It is silent on irreversibility, error behavior when a deployment still references the secret, and the auth requirements implied by the api_key/session_token parameters.

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?

A single front-loaded sentence with the destructive scope stated first and the precondition second; nothing is wasted. It is arguably too terse for a destructive operation, but that is a completeness issue rather than a structural one.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The presence of an output schema means return values need not be described, but for a destructive, credential-bearing tool with four undocumented parameters and no annotations, one sentence is not enough. An agent cannot tell from this definition how to authenticate, what happens on failure, or whether the deletion is recoverable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters, so the description must compensate and it largely does not. It implies that a secret is identified by name in a lab context but never explains the relationship between lab_id and name, nor what api_key and session_token are for. Only the shadow of two of the four parameters is reflected.

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 gives a specific verb plus scope: delete ALL versions of a secret, with the precondition that no deployment references it. That distinguishes it from set_lab_secret/generate_lab_secret/deliver_lab_secret by making clear this is a full removal rather than an update or read. It stops short of naming a sibling or clarifying the lab scope explicitly, so a 4 rather than 5.

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?

There is an implied gating condition ('once no deployment references it') that an agent can act on, which is more than nothing. However, there is no statement of when to prefer this over rotate_app_auth_secret or lower-level alternatives, no guidance on what to do if a deployment does still reference the secret, and no mention of required credentials.

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.