Skip to main content
Glama

set_exposure

Set a layer’s xsheet exposure timing to manual and assign drawing cells per frame using frame lists or run-length cycles.

Instructions

Xsheet timing for a layer (sets timing=manual). cells[i] = drawing at frame i+1 (0 = blank), or run-length text '1x6 2x6 3x4 0x2' (drawing x frames). Cycle example on twos: '1x2 2x2 3x2 4x2 1x2 ...'.

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>",
      "layer": "<layer>",
      "cells": "<cells>"
    },
    "name": "set_exposure"
  }
}

Input Schema

NameRequiredDescriptionDefault
cellsYes
layerYes
sceneYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.3/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, and it does disclose a genuine side effect: the layer's timing mode is forced to manual. However, it says nothing about whether existing exposure is overwritten, whether frame indices beyond current content are allowed, or what happens on conflicting layer names.

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?

Three tight sentences, front-loaded with purpose followed immediately by the format contract and a worked example. Every clause carries information; the trailing '...' example is slightly loose but still instructive.

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 3-parameter mutation with no annotations and no output schema, the cells encoding is covered well enough to call it correctly, but the missing overwrite semantics and any usage routing leave real gaps an agent would want filled.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate, and it does so thoroughly for the non-obvious parameter: cells[i] maps to frame i+1, 0 means blank, and an alternate run-length string form is given with a concrete cycle example. Only scene and layer are left undescribed, though their names are largely self-evident.

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 states the concrete operation ('Xsheet timing for a layer') and even names the resulting state change ('sets timing=manual'), which separates it from keyframe-oriented siblings like set_keyframe. It lacks an explicit verb phrase at the start, but the resource and effect are unambiguous.

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?

There is no guidance on when to use this versus alternatives such as set_keyframe or animate_action, nor any stated prerequisites about the layer existing in the scene. The entire text is spent on the cells format, leaving selection logic to inference from the tool name.

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