Skip to main content
Glama

Set Parent

set_parent
DestructiveIdempotent

Parents an object to another or clears its parent to assemble parts into one node tree, with an option to keep world position.

Instructions

Parent an object, or clear its parent. Returns: the transform. WHEN TO CALL: to assemble parts into one node tree.

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": {
      "object": "<object>"
    },
    "name": "set_parent"
  }
}

Input Schema

NameRequiredDescriptionDefault
objectYesName
parentNonull clears
keep_transformNoKeep world position (true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds the return value ('the transform') but never states what the destructive aspect actually is — that the object is removed from any prior parent and that world transforms are affected unless keep_transform is set. Useful but thin on mutation consequences.

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, front-loaded sentences with no redundancy: effect, return value, then a labelled usage clause. Every sentence carries distinct 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?

With no output schema, the description supplies the return value ('the transform'), though without describing its shape. For a three-parameter tool with full schema coverage and annotations, this is nearly complete; only the consequences of reparenting on existing transforms are unstated.

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 100%, so all three parameters are already documented, including 'null clears' for parent and 'Keep world position (true)' for keep_transform. The description's 'or clear its parent' merely restates what the schema says about a null parent, adding no new semantics.

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 plus both directions of the operation: 'Parent an object, or clear its parent.' An agent immediately knows the effect. It does not differentiate against siblings such as join_objects, which could plausibly be read as the same 'assemble parts' operation.

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?

The explicit 'WHEN TO CALL: to assemble parts into one node tree' clause gives a clear triggering context. There are no when-not conditions or named alternatives (e.g. join_objects vs. parenting), so the agent must infer the boundary itself.

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