Skip to main content
Glama

add_peg

Adds an invisible pegbar transform node and parents selected layers to it, enabling grouped movement for character rigs or background sets.

Instructions

Add a pegbar (invisible transform node). Parent layers to it to move groups (character rigs, BG sets).

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": {
      "scene": "<scene>",
      "peg": "<peg>"
    },
    "name": "add_peg"
  }
}

Input Schema

NameRequiredDescriptionDefault
pegYes
sceneYes
parentNoTable

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that the peg is invisible (non-rendering), which is real behavioral information, but it says nothing about permissions, whether the peg is selectable/deletable afterward, or what the call returns – the peg identity an agent would need in order to parent layers to it.

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 tight sentences with no filler: the resource definition is front-loaded and the practical follow-up use is second. Nothing here could be cut without losing information.

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 three-parameter creation tool with no annotations and no output schema, the description covers the concept adequately but omits the return value and parameter details. An agent could infer the intent but would be guessing about naming, the parent default, and what handle it gets back.

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% across three parameters, so the description must compensate and largely does not. 'peg' and 'parent' are hinted at conceptually by 'Parent layers to it', but neither is defined, and the non-obvious default of 'Table' for parent plus the 'scene' parameter are not addressed at all.

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 ('Add a pegbar') and immediately defines the resource as an 'invisible transform node'. The parenthetical and the rig/BG use cases make the concept concrete. It does not explicitly contrast with the sibling add_layer, so the boundary between a peg and a layer is left to inference.

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?

Provides implied usage – 'Parent layers to it to move groups' tells the agent the workflow the peg enables. There is no explicit when-not guidance, no mention of prerequisites such as the scene existing, and no comparison to rigging alternatives.

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