Skip to main content
Glama
roblox-studio
by nardjay

Delete instance

delete_instance
Destructive

Destroy a Roblox Studio instance and all its descendants by path. The deletion remains recoverable with undo until the place is closed.

Instructions

Destroy an instance and its descendants. Recoverable with the history tool (undo) until the place is closed.

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": {
      "path": "<path>"
    },
    "name": "delete_instance"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesInstance path. Accepts "Workspace.Model.Part", "game.Workspace.Model.Part" or "game.Workspace[\"My Part\"].Model". Use "game" or omit for the DataModel root.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/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, and the description adds two non-obvious traits on top: the deletion cascades to descendants, and it is undoable via the history tool only until the place is closed. That undo-window constraint is exactly the kind of operational caveat annotations cannot express.

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?

Two short sentences with zero filler, and the destructive cascade is front-loaded before the recovery note. Nothing could be removed 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 single-parameter destructive tool with full annotation coverage and no output schema, the description covers the essential risk profile (cascade plus undo window). It is slightly thin on failure behavior for invalid or root paths, but nothing critical to correct invocation is missing.

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% and the path parameter already documents accepted formats, so the schema carries the parameter burden. The description adds no path syntax or edge-case guidance (e.g. what happens on a root path), which is acceptable at this coverage level but not additive.

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?

"Destroy an instance and its descendants" gives a specific verb (destroy) and resource (instance) plus the cascade scope, which is more precise than a bare "delete". It does not explicitly contrast with non-destructive siblings like clone_instance or reparent_instance, so it falls just short of full sibling differentiation.

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?

The description points at the recovery path (the history tool / undo) which implies when this is safe to use, but it never states when to prefer an alternative such as set_properties or reparent_instance instead of destroying. Usage context is implied rather than spelled out.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.