Skip to main content
Glama

remove_component

Destructive

Deletes a specified component from a target Unity object using object and component names, enabling clean scene edits and component cleanup.

Instructions

Remove a component from an object.

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": {
      "target": "<target>",
      "component": "<component>"
    },
    "name": "remove_component"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYes
componentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=false, so the safety profile is known. The description adds nothing beyond that: it doesn't say whether the removal is undoable, whether it requires saving the scene, what happens if the component is absent, or what the response contains — all significant for a destructive mutation.

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 short, front-loaded sentence with no filler or redundancy. The economy is appropriate in form, though the brevity reflects under-specification rather than tight editing.

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?

This is a destructive two-parameter mutation with no output schema and no parameter documentation anywhere in the definition. For that complexity level, the description should at minimum identify what identifiers are expected, whether the operation is reversible, and what failure looks like; it delivers none of these.

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%, so the description must carry the burden and it does not. 'target' is never defined (object ID, path, name?), 'component' is never defined (type name, index, reference?), and no format, casing, or error semantics are given for either required parameter; the text only loosely echoes the parameter names.

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 pairs a specific verb ('Remove') with a specific resource ('a component from an object'), so an agent knows exactly what operation this performs and that it is the inverse of the sibling add_component. It does not explicitly name the sibling or clarify what 'object' and 'component' refer to in this editor's model, so it stops 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 Guidelines2/5

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

The description contains no when-to-use, when-not-to-use, or alternative guidance; it never mentions add_component as the inverse or any conditions such as 'only after the component exists'. Usage is only implied by the tool name and verb, which is the minimum possible signal.

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