Skip to main content
Glama

unity_delete

Deletes a GameObject and its children from the active scene, or removes only a specified component when a component is provided.

Instructions

Delete a GameObject (and its children) from the active scene. (Unity editor offline right now: schemas are cached; calls will fail until it reconnects)

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

Input Schema

NameRequiredDescriptionDefault
pathYes
componentNoif set, remove only this component instead of the object

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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 a real behavioral trait beyond the schema — that children are deleted along with the object — and the offline note explains why calls will currently fail. However, it omits whether the deletion is undoable, whether it requires the object to be selected or the editor to be out of play mode, and what happens to references; for a destructive mutation this leaves material gaps.

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?

Two short sentences, front-loaded with the core action and scope, with zero redundancy. The offline caveat is slightly orthogonal to the tool's semantics but is short and clearly parenthesized, so it does not obstruct the primary statement.

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?

For a two-parameter mutation tool with no annotations and no output schema, the description covers the action and its cascading effect but not failure modes, permissions, or post-call state. Adequate to call it, but not enough to call it safely without experimentation.

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 50%: the 'component' parameter is documented in the schema, while 'path' is undocumented there. The description implies 'path' identifies the object to delete but adds no format or resolution details (e.g., hierarchy path syntax, root-relative vs scene-relative). It also does not clarify that supplying 'component' turns the operation into a non-destructive partial removal, which is counterintuitive for a tool named 'delete'.

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?

States a specific verb and resource: 'Delete a GameObject (and its children) from the active scene.' The parenthetical adds useful scope (cascading child deletion, active scene only). It does not explicitly differentiate from any sibling (e.g., unity_prefab or unity_set_property), but no equally obvious deletion alternative is named in the sibling list, so the purpose is still decidable.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance, no mention of prerequisites (game object selection, edit vs play mode), and no warning about reversibility. The only conditional context is the offline notice, which is about availability rather than usage choice.

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