Skip to main content
Glama

action_activate

Activates or creates an Action or Smart Bone Action on a specified layer, syncing the current document action; pass an empty name to return to Mainline.

Instructions

Enter or create an Action / Smart Bone Action on a layer (synced with SetCurrentDocAction; pass '' to return to Mainline).

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": {
      "actionName": "<actionName>"
    },
    "name": "action_activate"
  }
}

Input Schema

NameRequiredDescriptionDefault
layerIdNoNumeric depth-first layer ID (from layer_list)
layerNameNoExact layer name
layerUuidNoLayer UUID
actionNameYesAction/Bone name, or '' to return to Mainline

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.4/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 usefully discloses that it can create an action if absent and that it switches document state (synced with SetCurrentDocAction), plus the empty-string escape back to Mainline. It omits what happens on a nonexistent layer, whether existing actions are overwritten, and undo/state side effects.

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 dense sentence that front-loads the action and keeps the Mainline escape in a trailing parenthetical. It is efficient, though the nested parenthetical makes it slightly harder to parse at a glance.

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 four-parameter mode-switching tool with no annotations and no output schema, the definition covers the core intent and the reset path. It leaves ambiguous how the three layer-identifying parameters interact and what the call returns or does when the action does not exist.

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 100%, so the schema already documents all four parameters. The description only restates the actionName empty-string convention already present in the schema and adds no guidance on precedence among layerId, layerName, and layerUuid, so the baseline 3 applies.

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 set (enter or create) and resource (Action / Smart Bone Action on a layer), so the agent knows this is an Action-context activation tool. It does not explicitly distinguish itself from nearby siblings such as action_createSmartBone or action_manage, though the 'activate/enter' framing is fairly distinct.

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?

It gives one concrete usage rule: pass an empty string to return to Mainline, which tells the agent how to exit the mode. It does not say when to prefer this over action_createSmartBone, action_manage, or action_list, so alternative selection is left to inference.

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