Skip to main content
Glama

new_composition

Create an empty motion-graphics composition with a chosen format, size, frame rate, and duration to begin building or nesting a video.

Instructions

Start an empty composition with its format: a named size (format: 1080p, 2k, 4k, 720p, vertical = 9:16 1080×1920 for short video, vertical-2k, vertical-4k, square, portrait = 4:5, 4:3) or any width × height in pixels (even, 16 to 7680), and a frame rate (any from 1 to 120: 24, 25, 30, 50, 60…). orientation turns a named size: vertical 2k with "portrait", a vertical one on its side with "landscape". The format sets how the preview steps and what render writes; change it later with set_format. It lasts duration seconds (meta.duration) and holds no element yet. Nest it in another composition with nest_composition.

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

Input Schema

NameRequiredDescriptionDefault
fpsNoFrames per second, any from 1 to 120 (24, 25, 30, 50, 60 are common; 23.976 and 29.97 too)
nameYes
basisNoWhat you read and followed to make this change, as refs from search or lookup: rule:<lint or taste rule>, taste, feedback:<id> (earlier feedback this follows; what it answers goes in feedback), commit:<id> (an earlier change it builds on), asset:, template:, skill:… The person sees them under the change, so they know why it is this way. Name only what shaped it.
themeNolight
titleNo
widthNoPixels; even
formatNoA named size: 720p = 16:9 HD 1280×720; 1080p = 16:9 Full HD 1920×1080; 2k = 16:9 2K 2560×1440; 4k = 16:9 4K UHD 3840×2160; vertical = 9:16 vertical 1080×1920 (short video); vertical-2k = 9:16 vertical 2K 1440×2560; vertical-4k = 9:16 vertical 4K 2160×3840; square = 1:1 square 1080×1080; portrait = 4:5 portrait 1080×1350 (feed post); 4:3 = 4:3 1440×1080. width / height given too win.
heightNoPixels; even
messageNoOne line saying why, kept with the change in the history
durationNo
feedbackNoIds of the feedback this change answers (notes and marks from list_notes, list_examples or the conversation). When the person keeps the change it joins the record of that feedback, and when they then mark the feedback resolved it is the fix; when they take it back, the feedback opens again.
confidenceNoHow sure you are this change is what the person wants. high: they asked for exactly this, or you measured it against a reference. medium: you inferred it from the taste, a rule or earlier feedback. low: you are guessing, or it changes something they did not ask about. The person's threshold decides which changes stand by themselves and which wait for them to keep; say it honestly on every change.
orientationNoTurn the size so it is wider (landscape) or taller (portrait)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.2
    • addedInput schema / properties / confidence
      Added value: +{
      +  "description": "How sure you are this change is what the person wants. high: they asked for exactly this, or you measured it against a reference. medium: you inferred it from the taste, a rule or earlier feedback. low: you are guessing, or it changes something they did not ask about. The person's threshold decides which changes stand by themselves and which wait for them to keep; say it honestly on every change.",
      +  "enum": [
      +    "high",
      +    "medium",
      +    "low"
      +  ]
      +}
  2. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this is a non-destructive write (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the description's job is to add meaning. It does: the result is empty ("holds no element yet"), lasts duration seconds stored as meta.duration, and the format determines how preview steps and what render writes. It does not say what happens on a duplicate name or what is returned, which is the remaining gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core intent is front-loaded, but the description spends a large clause re-enumerating every named size (1080p, 2k, 4k, 720p, vertical, portrait, 4:3, square…) and the fps examples, all of which the schema already lists. That duplication crowds out room for the eight undocumented parameters.

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?

With 13 parameters, a single required field, no output schema and no nested objects, the description covers roughly the geometry half of the tool and says nothing about the required name, the metadata fields (theme, title, basis, message, feedback, confidence), or what the call returns. For a creation tool that hands back a new composition, that is a meaningful omission.

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 69%, and the description elaborates only on format, width/height, fps, orientation and duration. The required name parameter, plus theme, title, basis, message, feedback and confidence, are left entirely to the schema. The orientation note ("turns a named size: vertical 2k with portrait") does add real meaning beyond the enum, but it is not enough to compensate broadly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ("Start an empty composition") and immediately frames the two knobs that define it: size and frame rate. It also distinguishes itself from siblings by naming set_format for later changes and nest_composition for nesting, so an agent can place it without opening any schema.

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?

Guidance is embedded rather than explicit: use this to start a composition, use set_format to change the format afterwards, use nest_composition to place it inside another composition. There is no explicit when-not to use it, but the alternative routing is clear enough to prevent most mis-selection.

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

Deploy Server

Other Tools