Skip to main content
Glama

ci

Validate motion-graphics compositions and assets by linting render rules in light and dark modes, rendering key frames against golden frames, and writing contact sheets plus a project report.

Instructions

Project CI: lint every composition and asset (render rules, light + dark), render key frames and compare them with the golden frames, and write contact sheets and out/ci/report.json. It renders, so it is slow: while working use lint on one composition, and run ci before you finish. update=true rewrites the goldens with what renders now; do that only once the person agreed to the new look.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ci"
  }
}

Input Schema

NameRequiredDescriptionDefault
updateNoReplace the golden frames with the ones rendered now
compositionNoComposition name (file in compositions/ without .json)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.2
    • addedInput schema / properties / update / description
      Added value: +"Replace the golden frames with the ones rendered now"
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, non-idempotent, closed-world tool, and the description goes further by disclosing the cost profile ('It renders, so it is slow'), the side-effect artifacts it writes (contact sheets, out/ci/report.json), and that update=true overwrites goldens with a human-consent precondition. The only nuance left implicit is that update=true is itself a destructive replacement, while destructiveHint is false — but the description discloses that overwrite openly rather than hiding it, and it is opt-in and off by default.

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?

Four tight sentences, front-loaded with what CI does, then the cost caveat, then the workflow routing, then the dangerous-flag guard. Nothing is repeated from the schema verbatim and no sentence is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Even without an output schema, the description names the concrete outputs (contact sheets, out/ci/report.json) and the two comparison modes (render rules for lint, golden-frame comparison for CI). Cost, side effects, and the safety precondition on update are all present, which is everything needed to invoke a 2-parameter optional-argument tool correctly.

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 100%, so the baseline is 3; the description adds real meaning on top by tying update=true to a consent precondition rather than just 'replace the golden frames'. The composition parameter is not discussed, but returning with a scoped composition is implied by the 'lint on one composition' guidance.

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?

States specific verbs and resources: lints every composition and asset with render rules in light and dark, renders key frames, compares against golden frames, and writes contact sheets plus out/ci/report.json. This is clearly distinguishable from the siblings 'lint' (single-composition) and 'render', which the description implicitly sets apart by calling itself the full project pass.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing: 'while working use lint on one composition, and run ci before you finish.' It also gates the risky mode: 'update=true ... do that only once the person agreed to the new look.' Both the when and the when-not are stated, with a named alternative.

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