Skip to main content
Glama

OpenFactory

delete_lab

Delete owned lab resources and credentials. Explicit confirm=true is required.

Retained test evidence follows its existing retention policy. Does not delete unrelated VMs, networks, or other customers' resources.

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

Input Schema

NameRequiredDescriptionDefault
lab_idYes
api_keyNo
confirmNo
session_tokenNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose real behavior: a mandatory confirm guard, a retention carve-out for test evidence that survives the delete, and a blast-radius limit covering other customers' resources. It stops short of stating irreversibility or what authentication is needed beyond the credential parameters themselves.

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 the scope, then the confirm precondition, then the safety boundary. Nothing is repeated and no sentence could be dropped without losing information.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, but this is a destructive operation with zero annotation coverage and two undocumented credential parameters. The description should say whether deletion is irreversible and how the auth parameters are chosen, which it currently does not.

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 0% across four parameters, so the description must compensate, and it does so only for confirm (the required true value). lab_id is implied by 'owned lab resources', but api_key and session_token receive no explanation of when one is used versus the other, leaving half the surface undocumented in both places.

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 description opens with a specific verb and resource ('Delete owned lab resources and credentials') and bounds the scope with an explicit exclusion ('Does not delete unrelated VMs, networks, or other customers' resources'). That exclusion is what separates it from siblings like delete_vm and delete_lab_network without needing to name them.

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

Usage Guidelines4/5

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

It states a hard precondition ('Explicit confirm=true is required'), which tells an agent exactly what must be true before calling. It also gives when-not-to-expect-deletion guidance via the unrelated-resources clause, but it never routes the agent to delete_lab_node, delete_lab_network, or delete_lab_secret for targeted removals, leaving overlap with those siblings unresolved.

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.