Skip to main content
Glama

set_parent

Parents a child object to a specified parent, or unparents it by passing null to move it to the world.

Instructions

Parent a child object to a parent. Pass parent=null to unparent (move to world).

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

Input Schema

NameRequiredDescriptionDefault
childYes
parentNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; it does disclose that parent=null moves the object to world, which is genuinely useful mutation context. However it omits whether the child's world transform is preserved or its local transform changes, and what errors occur for invalid or cyclical parents.

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, the primary operation stated first and the edge case second. No filler or redundancy.

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?

Return values needn't be explained since an output schema exists, and the core act is clear. For an unannotated mutation tool, though, transform-preservation semantics and failure modes are missing and are exactly what an agent needs before reparenting scene objects.

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 0%, so the description compensates for the most important ambiguity: the meaning of parent=null (unparent/move to world) and its default. The 'child' parameter itself gets no description beyond its name, so half the parameters remain semantically thin.

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?

Names a specific operation (parent a child to a parent) on specific resources, and the null case is clarified. An agent can distinguish it from set_transform or create_object, though the sibling names aren't referenced explicitly.

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?

Usage is implied by the two stated modes (parent/parent=null to unparent). There is no guidance on when to prefer this over set_transform, nor any prerequisites such as both objects existing or cycle restrictions.

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