Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
use_projectA

Which project the other tools work on from now: an id from list_projects, its name, or a project folder (one with moga.json; it is remembered as opened). open_project and new_project also switch to the project they open or make. Returns the project and its compositions.

infoA

Project summary: name, compositions with their duration, assets, token count. A quick first look at a project; browse lists every item in it.

list_assetsA

List reusable assets with their type, description, which compositions use them, and the examples judged on them (good: proven to work, reuse these first; bad: failures not to repeat).

get_assetA

Read one asset definition in full (description, type, props, anim, motion), as put_asset writes it. list_assets lists the names and where each is used.

list_compositionsA

List compositions with title, duration, size (width × height, fps), the compositions each nests, and open review notes.

get_compositionA

Read one composition document (its elements, the compositions nested in it, keyframes), or only one element of it (with its JSON Patch path).

list_tokensA

List design tokens (DTCG: the m3e-kit set plus MOGA video additions) with resolved light/dark values for a colour scheme (meta.seed / meta.variant). Springs include their settle time in seconds.

list_componentsA

List the components a "component" layer can use (props.tag): the M3 Expressive kit and the project's own (components//, source "project"), with their animatable props. Give a tag for its full prop schema (and a project component's source and files); set props through attrs{} or "attr:" and keyframe "attr:". A project component that does not load is listed with its error.

new_componentA

Start a project component (components//): a custom element the project owns, used like a kit component by a "component" layer (props.tag). Writes a working component.js (default export: a class extending HTMLElement with renderAt(t, props, ctx), drawn once per frame, deterministically) and its schema.json (props as JSON Schema; x-m3e-animatable marks numbers that can be keyframed as "attr:", x-m3e-text words to translate). Edit both with put_component (in TypeScript or JSX if you like), then look at it with preview_component.

put_componentA

Create or replace a project component's source and/or props schema (components//component., schema.json). code: an ES module whose default export is the element class, in JavaScript, TypeScript or JSX (file: component.js, .ts, .tsx, .jsx; default: the one there, else .js). Anything but a plain component.js is bundled into one module by MOGA (esbuild): it may import its own files in the folder and packages from the project's node_modules; JSX makes real DOM elements (SVG inside ) unless the file asks for React (/** @jsxRuntime automatic / /* @jsxImportSource react */). MOGA defines the tag and calls renderAt(t, props, ctx) every frame with t in seconds from the scene's start, props typed and filled from the schema's defaults (colour tokens resolved for the theme), ctx { fps, frame, width, height, theme, seed, colors }. Draw only from t and props (no timers, Date or Math.random), so any frame renders the same in any order. schema: { title, description, properties }. Both are checked first, and the source must build: a failure leaves the component as it was. Look at it with preview_component.

preview_componentA

Look at a component (a project one, or a kit one) on its own before putting it in a composition: frames over dur seconds as a contact sheet, in light and dark (or one theme), with props set (attrs) and keyframes on its animatable props (anim: [{ prop: "attr:", at, dur, from, to, ease? }]; by default every animatable number of a project component runs from its minimum to its maximum, else 0 to 1). Returns the sheets, each frame and any script error the component threw (fix those first).

pack_componentA

Pack a project component (components//) into one package file anyone can import into another project with import_package: out/packages/-.mogapkg, or in the folder to. It must build on its own (its own files only, nothing from this project's node_modules). name defaults to the tag (an optional @scope/: @acme/price-ticker), version is major.minor.patch, title and description default to the schema's, license to MIT. The same folder always packs to the same bytes and hash. Returns the file and the manifest (name, version, hash, files).

import_packageA

Import a component package (a .mogapkg from pack_component) into this project, from a file (path), a web address (url, https) or its bytes (data, base64). It is checked whole first (every file's hash and the package hash), copied into components// (as: another tag) and recorded in moga.json packages { name, version, hash }: the copy is the project's own, renders never read the package again, and nothing changes when the package is updated or taken down. The same content already here is left as it is (already); another version of the same package replaces one not changed here (replaced); a component changed here, or another one under that tag, needs as or replace. Use it like any project component afterwards (list_components, preview_component).

list_packagesA

The component packages imported into this project (moga.json packages), by tag: name, version, hash, the address it came from, and whether its folder was changed here since (modified: it is the project's own from then on) or is gone (missing).

hub_searchA

Search MOGA Hub, the online library of component packages (no sign-in): words match a package's name, title, description or tag; with none, the newest. Each result: name, tag, title, description, version, size, imports, preview pictures (light, dark) and, when this project has it, imported { tag, version }. Bring one in with hub_import. Fails when offline; nothing local depends on it.

hub_infoA

One package on MOGA Hub: what search shows, and every version (listed, or taken down with the reason).

hub_importA

Import a package from MOGA Hub: (its newest version) or @. It is downloaded, checked whole and copied into components// like import_package (as: another tag; replace: overwrite changes made here), pinned by its hash in moga.json packages. The copy is the project's own from then on.

hub_outdatedB

The imported packages MOGA Hub has a newer version of (latest), or took down (takenDown: why), with whether the copy here was changed (modified). Update one with hub_import (replace: true if modified and the changes may go).

hub_publishA

Publish a project component to MOGA Hub: packs it (pack_component: version, name, title, description, license, with light and dark previews) and sends it; it is listed at once for anyone to import, under the name of whoever signed in. A name belongs to whoever published it first; a version once published never changes: publish a new version instead. Needs an account (hub_sign_in), or MOGA_HUB_TOKEN.

hub_yankA

Take a version down from MOGA Hub (@, with a reason): it leaves search and can no longer be downloaded; projects that imported it keep their copy and see why in hub_outdated. Only its publisher can (hub_sign_in).

hub_sign_inA

Sign in to MOGA Hub to publish (searching and importing need no account). Returns a code and the page to confirm it on (verification_uri_complete: open it; the person signs in with Google or GitHub there). With wait (the CLI default when run in a terminal), it waits for the confirmation and keeps the session in the MOGA home; otherwise finish with hub_sign_in_check.

hub_sign_in_checkA

Whether the code from hub_sign_in was confirmed: { pending: true } (ask again after its interval; slow: wait longer), or { user } once it was, the session then kept on this computer for every Hub call.

hub_sign_outA

Sign out of MOGA Hub on this computer (the session ends on the Hub too).

hub_meA

Who is signed in to MOGA Hub on this computer: { user: { id, name, email, avatar } }, or { user: null }.

hub_profileB

Change what MOGA Hub shows on your packages: name (1 to 40 characters) and/or avatar (a PNG or JPEG file up to 512 KB; "" removes it). Starts from what the Google or GitHub sign-in brought.

hub_mineA

What you published on MOGA Hub, newest first, each with imports (every download) and projects (how many different projects imported it). Needs hub_sign_in.

tasteA

The project's taste: the style package TASTE.md extends (name, version, hash), the colour scheme, motion presets and limits, maxHold, the transitions (what each type does on the frame), and the prose of the style and of TASTE.md. Diagnostics list anything in STYLE.md or TASTE.md that was ignored. TASTE.md is edited by hand; this only reads it.

list_stylesA

Style packages a TASTE.md can extend ("extends: @"): the project's own (styles//STYLE.md) and the built-ins. taste shows the one the project extends now; to switch, edit TASTE.md.

list_motionB

Motion presets of the project (style + TASTE.md): role, description and each step with its spring measured (stiffness, damping, feel { bounce, dur }, overshoot, settle seconds, peak speed per unit of travel). Layers use them with motion: [{ use, at, by }].

put_assetA

Create or replace a whole asset: { description, type: text|rect|image|component, props, anim[], preview? }. To change a few props where the asset is used, set_props on the layer leaves the asset alone.

put_compositionA

Create or replace a whole composition document: { version: 2, meta, elements } (a version 1 document with scenes is turned into this on the way in). Footage is an element of type "video" (props src: a path under media/, or the absolute path of a linked video, as list_references gives it; in, start, rate, fit); music, voice-over and effects go in meta.sounds (see add_sound).

new_compositionA

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.

set_formatA

Change a composition's size (a named format, or width and height in pixels; orientation turns it) or frame rate (1 to 120). Times stay in seconds, so elements keep their length; frames are counted at the new rate. Elements keep their pixel positions: move them for the new frame.

nest_compositionA

Place one composition inside another as a layer (a precomp, as in After Effects): a 9:16 card in a 16:9 video, a 4K shot shrunk into a frame. The nested one keeps its own size, frame rate, nested compositions and camera and plays from the element's start (seconds into the element) at rate, beginning in seconds into it; past its end it is gone unless loop. Its box is w × h (default: its own size, so scale 1 is pixel for pixel; scale and keyframes move it like any layer), filled by fit: contain (whole picture, default), cover (fills, cropped) or fill (stretched). It paints its own background unless its meta.background is "transparent". A composition cannot nest itself, directly or through others. The layer is type "composition" with props.composition; change it later with set_props, set_motion, set_keyframe.

add_codeA

Add a code layer: a page you write (HTML, CSS, JavaScript) drawn into a box, for what keyframes cannot say: three.js and WebGL 3D, shaders, canvas, particles and physics, GSAP, Lottie, CSS animations. It runs in a sandboxed frame (no network to the project, no operations) and gets window.MOGA_CODE = { fps, width, height, seed, theme, colors: { "md.sys.color.primary": "#…", … }, t }. How it is driven (drive, default auto, picked from what the page offers): seek — set window.seek = (t) => { … } and draw time t (seconds from the layer start); any frame in any order, the fastest and the one to prefer, e.g. three.js: pose the scene for t and call renderer.render. adapter — no seek and no clock of its own: GSAP timelines, Lottie and CSS / Web Animations are seeked to t for you. clock — anything else (requestAnimationFrame loops, timers, Date, performance.now, stateful simulations): its clocks are virtual and step exactly one frame at a time, so frames are the same every run, but reaching a time means stepping there from the start (scrubbing back reloads the page). Math.random is seeded by seed in every mode. Load libraries from the project (import_file, then "/media/three.module.min.js" in an import or a script src) rather than the network. The layer is type "code" with props.html; change it later with set_props (html, start, drive, seed), set_motion and set_keyframe like any layer.

add_soundA

Put music, a voice-over or an effect under a composition (meta.sounds); it is mixed in when a video renders. src is a sound file under media/ (bring one in with import_file first); at = video seconds it starts; in = seconds into the file; dur = how long it plays (default: to the file's end or the video's); volume (1 = as recorded); fadeIn and fadeOut in seconds. A video layer's own sound is not played: add its file here to hear it.

patch_compositionA

Apply an RFC 6902 JSON Patch (add, replace, remove, test) to a composition. In a list, a path step may be an item's id instead of its index: /elements/team/elements/card1/props/x (the element ids get_composition and layers_at show). A nested composition's transition in is { type, dur } on it: type cut, fade, push, zoom, blur, iris or ink (taste says what each does on the frame).

move_elementA

Change where an element is drawn among the elements of the composition it is in (drawn in order, the last on top): front (top of all), forward (above the next one), backward (below the one under it), back (under all). elements moves several in one change, each among its own. With into, move it into a composition nested inline in this one (or "" for this composition itself), on top; its start and end stay counted from its new parent's start.

set_propsA

Set static props on an element, or on several at once with layers (each merged over what the element has and its asset, so a prop it takes from its asset is set too). Values may be token refs like "{md.sys.color.primary}".

set_keyframeA

Add a keyframe segment to an element, or update the one with the same prop and index. "at" is the time from the element's start: seconds, "12f" or "1b"; it snaps to a whole frame. ease must be a {md.sys.motion.spring.*} token. Prefer set_motion with a named preset: a hand-keyed move is a review finding.

set_motionA

Set an element's motion presets, or several elements' at once with layers: motion: [{ use, at, by? }] (use: a preset from list_motion; at: from the element's start, seconds, "12f" or "1b"; by: how far, replacing the preset's relative distance). It replaces the element's list, and the asset's; [] means no preset motion, null goes back to the asset's.

stagger_layersB

Start several elements one after another, the way Anime.js stagger() does: each layer's first motion preset starts at at plus each seconds per step of distance from where the wave starts (from: first, last, center, edges, random, a layer index, or [x, y] as fractions of the group's box). Distance is measured on the frame, so a grid of cards waves out in rings from the centre; ease (a named curve, "in(2)", "out(3)") bends the spread, seed fixes random. Returns each layer's new start (whole frames). Layers the wave starts together (mirrored cards) get allow.together, so motion/stagger knows it is meant.

pick_variantA

A person compared variants and picked one (Anime.js keeps versions to switch between; here the choice is taste): the picked composition is marked good and every other one bad, on the same scene or layer when given (else the whole composition), each mark naming what it was compared with. They become cases like any mark, so after a few picks distill can say what the person keeps choosing. Make the variants first as separate compositions (copies with one thing changed: a curve, a stagger, a timing).

list_notesA

The review notes on one composition, each with its id, time, element (if it is on one), text, author, verdict and status. Before changing a composition read trail instead: it adds what each fix changed and the person's verdict on it. search finds feedback across every composition.

add_noteA

Leave a review note at a moment, or on a stretch from t to to (and optionally a layer). Humans and judges both write here; agents read open notes and fix them. Returns the note with its id: reply_note adds to its thread, resolve_note closes it. verdict "good" or "bad" makes the note a case of the person's taste: distill turns good and bad cases into rules.

featuresB

What can be measured about an element (or every element of a composition nested in this one): its entrance (preset, time, time after the cut, spring, overshoot, settle, peak speed, distance), text (size at 1080p, length, split, stagger, typing rate), blur peak, press, its colour (color.: OKLCH lightness, chroma, hue and family, distance from the brand colours, a text's contrast against what is behind it) and place (layout.: distance to the frame edge and to its nearest neighbour, how far off the nearest alignment line, area), and the composition it is in (transition in and out, length, background, hue families, strongest chroma, fill, visual balance, margin, type scale). Taste rules and cases speak in these names; list_features explains the colour and layout ones.

list_featuresA

Turn vague feedback into something measurable. Lists the colour and layout features (what each measures, its unit, how to make variants that differ in it alone); with words (the person's feedback, e.g. "颜色有点土", "太挤了"), also the features those words point at, strongest first, so the agent can ask which one the person means, make two or three variants that change only that, record the pick with pick_variant, and after a few picks propose the rule distill finds. With composition (and element), each listed feature carries its current values there.

casesA

Every good and bad case in the project (notes with a verdict, and the library's marks), each measured at its layer or scene in the features taste rules use. distill proposes rules from these same cases; read cases to see the evidence behind one.

distillA

Propose taste rules from the good and bad cases: for each measured feature, a bound every bad case breaks and no good case does (a max or min halfway between, or the names to avoid), ranked by how many cases back it. Proposals are not applied; accept_rule writes one into TASTE.md. Rules TASTE.md already has for a feature are not proposed again.

accept_ruleA

Write a taste rule into TASTE.md (rules:), replacing one with the same id: usually a proposal from distill, as is or adjusted. It must still hold for its own cases (each bad value breaks it, no good one does); CI keeps checking that.

check_lint_ruleA

Check a code rule the agent wrote with its own file tools: lint/.ts, a module that does export default { description, severity?, frames?, themes?, check(x) } written as plain JavaScript (no type annotations or imports: the web version runs it untranspiled, and everything it needs comes in x), for what a bound on one feature cannot say (a share of the frame, a relation between elements, a pixel measure). check gets x.doc (the compiled composition), x.groups (the composition itself, with an empty id, and the compositions nested in it, each with its elements), x.features(element) (every feature taste rules use; a nested composition's id gives its own), x.box(element), x.color (oklch, deltaE, contrast, family; a colour is a hex string or a pixel [r, g, b] from at) and, with frames: true, x.frames: the middle frame of each shot painted (light, or themes), with width, height, RGBA data and at(x, y) in composition pixels. It returns [{ message, fix?, layer?, t?, severity? }], reported as project/ on every composition and asset lint checks; guard_example proves one catches a bad example. With id: loads the file and runs it on every composition, and answers with what it finds on each now (with render, also the rules that read frames), or fails with why it does not load or run. Without id: every code rule and whether it loads.

delete_lint_ruleA

Delete a code rule: lint/.ts goes, so lint and ci stop reporting project/. Bad examples it guarded become open lessons again (check_examples lists them) and need another guard. The deletion is a commit: restore brings it back.

read_itemA

A library item that is text, as the Studio shows it in a document tab (an agent reads the files with its own file tools instead): a rule (a taste rule as a page: what it measures, its bound, why, its cases and where it fires now; a code rule as its source), a skill (its SKILL.md), a file in a linked codebase (code by id "/", up to 256 KB), a project component's source (component by its tag), or one layer of a composition as written (layer by id "##": a code layer's page as HTML, a project component's layer as that component's source, any other layer as its JSON). Returns { kind, name, title, format: markdown | code, language?, text, path? }.

resolve_noteA

Mark a review note fixed, saying what was changed: the answer joins the note's thread with the change that made the fix (commit; default the latest change), and the note waits for the person's review_note.

reply_noteA

Add to a note's thread: a follow-up, a question, or why something was done.

trailA

Read this before changing a composition: every note as a thread (what the person said, what each fix changed field by field, their verdict, follow-ups) and the values accepted fixes set. Move forward from it: do not undo an earlier fix on your own; when the person asks for an older value, do it.

answer_findingA

Agree or disagree with a model's review finding (a note by "judge" saying a moment is bad, or good); both are the person's taste. agree: it becomes an example with the model's verdict on its layer (or its frame); a bad one stays open to fix. disagree: the model's view was wrong, the note is resolved, and the next judge run is told not to say it again. why says what the person thinks.

timelineB

A composition (or one asset on its own) as a timeline: the compositions nested in it with their times, and tracks (every element showing the same asset, or one inline element id; composition names the composition file an element shows) with the time each part is on screen. Judged examples and review notes are listed where they sit. Read-only.

mark_exampleA

Record a judgement as an example: verdict good (an exemplar to reuse) or bad (a failure that must not come back, checked like a failing test). scope says what is judged: composition, range (from/to), frame (t, optionally a circled region in composition pixels), scene, track (an asset name, or a layer id for an inline layer), layer (scene + layer; from/to narrows it to part of the element's time, kept on the film's clock and as local seconds on the element's own), asset, or reference (a video under media/: from/to or t in its seconds, optionally a region in its own pixels; a good one says which part is worth copying). @names in the note are kept as mentions. A snapshot of exactly what was judged is kept, and the frame is rendered next to it unless still=false.

list_examplesA

Judged examples, oldest first, without their snapshots. Each has an address: where it sits as one path (teaser/endcard/logo, teaser@5s-10s#x,y,w,h, asset:botCard, media/ref.mov@1.5s-3s). open=true: bad ones no rule guards yet and good ones not reused yet. get_example reads one with its snapshot and frame; check_examples tests the bad ones against their rules.

list_dimensionsA

The dimensions this library judges along (e.g. 可读性, 节奏, 品牌感), each scored 1 to 5 on marks, with how many marks are scored on it and their mean.

list_phrasesA

Reusable feedback phrases (e.g. 画面太简陋), most used first: every word of q must be in the text, tags or dimension; tag lists the phrases that go with a tag. Use one by passing its id (or text) in phrases on mark_example or add_note.

searchA

Find anything in the project by words, in brief: compositions, assets, reference videos, pictures, sounds and subtitles under media/, feedback (comments, findings and good / bad marks, by address, note, tags, @mentions and phrases), templates, reusable feedback phrases, lint and taste rules (rule), and earlier changes in the history (commit: by message, operation, the feedback it answered and what it was based on). Each hit is a ref (feedback:, rule:, commit:, asset:…) with a title and a one-line detail: pick the few that matter and open each with lookup, as a web search is followed by opening a page. Every word must match somewhere (name, path, description, note, tag), as written or, for Chinese, by its pinyin (卡片: "kapian" or "kp"); an inverted index answers it. No words lists everything of the kinds asked (newest change first). #word (or tag) keeps hits with that tag. "good" / "bad" (or 好 / 不好) narrow examples by verdict; 可读性<=2 (or >=, =, <, >) keeps marks scored that way on a dimension. kind keeps one kind or a list of kinds. Best matches first. The Studio's Ctrl/⌘+K palette asks this.

list_referencesA

Reference videos under media/: path, duration, fps and size, with the ids of the marks made on them (good: worth copying; bad: avoid). A mark says which seconds and which part of the frame; read it with get_example, look with reference_frame.

link_referenceA

Use a video where it already is on disk as a reference, without copying it (kept in moga.json "references"). Returns it as list_references does.

missing_referencesA

Linked videos (used where they are on disk, not copied) that are no longer there, moved or deleted, with the compositions whose video layers use each. Point the project at where one is now with relink_reference.

relink_referenceA

A linked video was moved or renamed: from is the path the project knows it by, to where it is now (absolute). The link and every video layer that used from now use to. Returns the video as list_references does.

list_mediaA

Pictures, sounds and subtitle files under media/ (videos are list_references): path in the project (media/…; an image layer's src is it with a leading /), name, kind and size in bytes. These are what a person @-mentions by name in the Studio.

find_mediaA

Look for footage, pictures, music or voice files on this computer, to bring in with import_file (path). Searches a folder (default: the home folder) and its subfolders, newest first; query keeps files whose name or folder holds every word; kind keeps one kind. Each result has its absolute path, size in bytes, when it changed, and for videos and sounds their length in seconds, for videos and pictures their width and height.

import_fileA

Bring a file into the project, by what it is: a folder of code is linked as a codebase (link_codebase); a video given by path is linked where it is, never copied (copy=true copies it; it lists with list_references, and a video layer names it by its absolute path); a video given as data, an image, sound or subtitle file goes under media/ (listed with browse as media); an asset definition (.json: { description, type, props, anim }) becomes an asset of that name, checked as put_asset checks it; a skill (.md with a name and description in its front matter, or a SKILL.md) goes to skills//SKILL.md, for "/name". data is the file's bytes in base64, or path an absolute path to copy from. An existing file of that name is kept unless replace=true (the same bytes again import as the file already there). Returns { kind, name, path }.

removeA

Delete or unlink one thing from the project by kind: a composition, asset, reference video, linked codebase, site, library folder, judged example or code rule (lint/.ts). examples: keep (default) or delete the examples judged on a composition, asset or reference. The same as delete_composition, delete_asset, delete_reference, unlink_codebase, delete_site, remove_folder, remove_example, delete_lint_rule.

delete_compositionA

Delete a composition and what was made from it: its renders, previews, judge sheets and stills under out/. Marks judged on it keep their clip and snapshot and list as gone, unless examples="delete" removes them too.

delete_assetA

Delete a reusable asset and its previews. Refused while a composition still shows it (the error names them). Marks judged on it keep their clip and snapshot and list as gone, unless examples="delete" removes them too.

delete_referenceA

Stop using a reference video: a linked one is unlinked (the file on disk is left alone; a link whose file is gone is dropped too), one under media/ is deleted. Marks on it keep their clip and list as gone, unless examples="delete" removes them too.

link_codebaseA

Add the product's own source to the library, so videos are built from its real components and design tokens: path links a folder where it is on disk (never copied); url clones a Git repository (shallow, into the MOGA home), and linking the same url again pulls its latest. Kept in moga.json "codebases". Then @ reaches its files and folders, and the agent reads them with its own file tools. Returns what it holds: how many source files, the token files, how many components and styles.

list_codebasesA

The product codebases linked to this project: name, folder, git branch, how many source files, the files that hold its design tokens, and how many components and styles it has. A codebase whose folder is gone says missing.

unlink_codebaseA

Stop using a linked codebase. Its folder on disk is left alone (a clone stays in the MOGA home).

add_siteA

Take a website as a reference for a promo's look, lighter than a codebase: open url, keep its first screen in light and dark and the whole page (sites//light.png, dark.png, full.png), and the design values it really uses: colours by how much of the screen they cover, the CSS custom properties on :root, fonts, corner radii, and the words of its headings and buttons. Adding the same name again captures it afresh. Then @ reaches it, and the agent builds in that style.

list_sitesB

Websites kept as references (add_site): name, address, title, when captured, the pictures and the design values read from them.

delete_siteB

Stop using a website as a reference: its pictures and values under sites// are removed.

browseA

The project as a library you browse, like After Effects' Project panel: the folders inside folder ("" is the top) with how much each holds, then compositions, assets, reference videos, linked codebases (the product's source; with kind code and q, the files and folders in them whose path matches), templates, skills (what /name asks the agent to do), rules (the rules lint applies: taste rules from TASTE.md and its style, with how many good and bad cases back each, and code rules from lint/.ts) and judged examples filed there. kind narrows to some kinds; q (every word must match the name, title, note, tags or address) and tag search every folder below; deep=true lists everything below too. Each item says its folder, so one call can show a filtered view.

make_folderA

Make a folder in the project library (a path: "片头/卡片" makes both levels). move_to_folder puts items in it; browse shows it.

move_to_folderB

File items in a folder ("" takes them back to the top; a new folder is made). Items are {kind, name}: kind composition, asset, reference (its path), template or example (its id).

rename_folderA

Rename or move a folder, with everything filed under it ("片头" to "开场", or "卡片" to "片头/卡片").

remove_folderA

Remove a folder and the folders inside it. Nothing is deleted: what was filed there moves up to its parent.

cleanA

Free disk space the project does not need: the frame cache, temporary renders, previews, and library files no example points at. Reports what it removed (or would, with dry_run), how many bytes, and broken links: linked reference videos whose file is gone. Examples, their clips and finished renders are kept.

reference_frameA

One frame of a reference video as an image, at t seconds, or at a mark (example id: its time and region). region boxes a part of the frame (its own pixels); crop=true returns only that part. To measure a stretch against a composition, use compare.

get_exampleA

One judged example in full: its verdict, note, scores, address, snapshot (exactly what was judged) and its frame as an image. list_examples lists the ids.

remove_exampleA

Delete a judged example (a good or bad mark) whose judgement no longer holds: it leaves list_examples and the cases distill and check_examples read. The deletion is a commit: restore brings it back.

guard_exampleA

Close a bad example: name the rule that catches it. The example is run as its own document (render rules too) and the guard is saved only if that rule fires on it, like a regression test that must fail on the bad case.

check_examplesA

Run every bad example as a regression test: each guarded one must still be caught by its rule; unguarded ones are listed as open lessons. Also reports where a bad element is back, unchanged, in a composition (lint reports the same as example/repeat).

promote_exampleA

Make a good example reusable under a name: a layer becomes an asset (component level); a scene, range or frame becomes a clip template; a track a track template; a whole composition a composition template. Use templates with use_template.

list_templatesA

Reusable clips, tracks and compositions promoted from good examples: name, kind, length and description. get_template reads one; use_template puts one in a composition.

get_templateA

Read one template in full (its scenes or track, the assets it brings, where it was promoted from) before putting it in a composition with use_template. list_templates lists the names.

use_templateB

Put a template into a composition at a time (seconds). A clip or composition template inserts its scenes there and moves later scenes back; a track template lays its layers onto the scenes already there. Assets the template needs and the project lacks are added.

list_pluginsA

Panels a project adds to the Studio: plugins//plugin.json { title, icon?, place: "side" | "sub", entry? (default index.html) }. The Studio shows each page in a panel; the page calls operations at /api/ops/ like any client, and gets what is open and the playhead over postMessage. A plugin with a built-in panel's id (chat, library, settings, timeline) replaces it. Returns each plugin's id, title, icon, place and entry; to add one, write plugins// with your file tools.

logsA

What MOGA did, step by step: every change an operation made, each agent turn and tool call, and every error with its reference (E-7F3A, the one shown beside an error message). Entries come from every MOGA process on this computer (the app's server, the command line, each agent's tool server), newest last, with the call and turn they belong to and how long they took. ref finds an error and every entry of the same call or agent turn; level keeps that level and above (debug adds every read). Kept 7 days in the MOGA home.

export_logsA

Pack the log into one file to attach to a bug report: the steps of the last hours (or of one error's call or turn, with ref), the system and MOGA's version, with secrets and the home folder taken out. entries adds the app's own steps (the Studio and the stage send theirs). Returns the file's path and, in a project, its URL under /files/.

list_skillsB

What "/name" in a chat message asks the agent to do: MOGA's skills (skills/) and the project's own (/skills/), each with its name and description. A message names one as /name at its start.

list_stringsA

Every readable string (text layers, component labels and titles) with where it appears and its translation in lang. missing=true lists only untranslated ones: translate those and save them with put_strings.

put_stringsA

Save translations for a language into locales/.json: { "source string": "translation" }, merged with what is there; null removes one. Keep "icon:" prefixes in labels as they are.

lintA

Scene lint for a composition or an asset: data rules (tokens, timeline, beat grid, springs settling, dead holds, reading time) and, unless render=false, render rules in light and dark (safe area, overflow, overlap, contrast). Every issue carries a fix hint.

motionA

Motion table of a composition or an asset: every keyframed move with its layer, time, preset and role (none = hand-keyed), from → to, spring (stiffness, damping, and by feel: bounce and perceived duration), overshoot, settle seconds and peak edge speed in px/s at 1080p. The numbers the motion rules audit. list_motion lists the presets to move with; features measures one element.

show_in_studioA

Points the person's Studio at something, so they look at what you mean: opens the composition (or asset) in a tab, goes to second t, and picks the layer in its scene; or, with guide, plays the onboarding (a pointer shows each task on the real Studio, then the person does it) or a panel's own guide (how a panel is used, by mouse, touchpad and touch). Nothing in the project changes; an open Studio follows at once.

layers_atA

What is on screen (headless): the nested compositions showing (in a transition, both), and every visible element (its id, the id set_props and set_motion take) with its box in composition pixels, the nested composition it is in, the asset it shows and the good/bad examples judged on it. t is one time, or a list of times (one answer each). With to, the stretch from t to to: every element seen in it once, with when it is first and last on screen and its box then (boxTo when it moved), e.g. what shows during a transition. With region, only the elements overlapping it. Use it to find which element a person means by "that, there", and to check a change landed where it should.

stillB

Render PNG frames of a composition or asset at the given times (headless). Times snap to whole frames; t: [2.5, "80f", "4b"].

sheetA

Contact sheet (PNG grid) of a composition: several frames per shot (each composition nested in it, or the whole when it nests none), labelled with their time. For exact times use still; to see motion, preview.

pinA

Freeze a composition as it is now, for a render later: returns a name (@) that render takes as its composition and that keeps showing this version, whatever is edited after (its assets, translations and tokens too). A render of a pin releases it when it finishes; release=true drops one unused. Pins last while the server runs.

renderA

Render a composition, or one part of it (the time of an element, or from/to), to MP4: H.264, frame-exact, parallel workers. lang picks the language; lang="all" writes one video per language (-.mp4). quality "draft" encodes fast at a lower quality; scale renders fewer pixels (0.5: 960×540 for 1080p). What is rendered is the composition as it was when render was called: edits made while it runs do not change it (a pin from pin freezes it earlier). For a quick look use preview.

previewB

Quick headless look at part of a composition or an asset: a small, fast-encoded MP4 of the range plus a strip of frames across it (returned as an image). Pick the part with element (an element or nested composition), or from/to (seconds, "80f", "4b").

jobsA

Background render jobs with status and progress (done/total frames). With job, that one job; wait=true waits for it to finish.

cancelA

Stop a background render job (render with background: true). Its pages close and its encoder is killed; frames already rendered stay in the frame cache, so rendering again reuses them. A job that has ended stays as it was. Returns the job; jobs lists them.

ciA

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.

compareA

Compare a stretch of a composition with the same stretch of a reference video, frame by frame: how much is on screen (ink), where it sits, how sharp it is. Returns the lag that lines them up (positive: the composition is late), when each arrives and lands, and plain findings ("arrives sharp where the reference arrives blurred"), plus referenceEase: the reference move as a { curve: "linear(…)", dur } ease to put on the step that copies it. Name a mark on a reference (example: its id) to compare exactly the marked seconds and the circled part of the frame; or give reference, ref_t, dur and region ([x, y, w, h] fractions) by hand. t is where the copy starts in the composition (default: the same second as in the reference).

judgeA

Model review of a composition against judge/judge.md and the taste prose: renders light and dark contact sheets, runs lint, and asks a vision model (DeepSeek on OpenCode Go, needs OPENCODE_GO_API_KEY) for a verdict, 1-5 scores and timed notes. Unless save=false the notes replace the judge's earlier open notes in the composition (author "judge"); it never edits anything else.

list_projectsA

Every project this person works on (kept in the MOGA home, MOGA_HOME or ~/.moga), the one opened last first: id, folder, name; a project whose folder is gone is marked missing. The Studio opens each in its own window, and the HTTP API serves one at /p//.

open_projectA

Remember a project folder (one with moga.json) and mark it opened now; returns its id.

indexed_foldersC

The folders this person keeps projects in (a synced drive, a shared disk): every project in one lists with list_projects (found: that folder) without being opened first, so work continues on another computer from the files alone.

index_folderA

Index a folder this person keeps projects in (a synced drive, a shared disk), so list_projects lists every project in it without opening each; remove=true stops indexing it (its files stay). Kept in the MOGA home, not in a project; indexing a folder twice changes nothing. Returns the indexed folders.

export_projectA

Copy this project (its folder, all but out/) to /: by default into the first indexed folder, where list_projects finds it on any computer that indexes that folder. Returns where it went.

pack_projectA

Write this project as one .moga file (its folder zipped, all but out/) to out/.moga, to send or to open in MOGA elsewhere: the desktop app or trymoga.app open it with open_pack. Returns the file and its size.

open_packA

Open a .moga project file (pack_project, from the desktop app or trymoga.app) as a new project in the MOGA home: data is its bytes in base64, or path where it is. name names the copy (default: the name it was packed with; a taken name gets -2). Returns the project; open it in the Studio by its id.

new_projectA

Make a project: empty (moga.json, compositions/, assets/, media/), or with sample: a copy of MOGA's sample project (a short film with footage, pictures and music to try things on; the copy is the person's own). In dir, or a folder named after it in the MOGA home; a sample already copied there is opened again. Returns its id.

import_itemA

Copy a composition or an asset into this project from another project (project: its id, from list_projects, with kind and name) or from an exported bundle (bundle: a .moga folder from export_item; kind and name default to what it holds): with the assets its layers use, its media files, the translations of its strings and the project tokens it names (added only where this project lacks them; ones already here win). The copy is this project's own: editing it never changes the original. It remembers where it came from (meta.from / from: project, name, version). An asset already here and the same is shared; one that differs is copied as -2 and the copy points at it. as names the copy (a free name is found otherwise). kind taste brings another project's taste (its TASTE.md: motion presets and limits, rules learned from feedback with their cases, tokens, its prose, its own style package, and the rule files in rules/*.md, added where missing): with no TASTE.md here it is taken whole, otherwise only what is missing is added and what this taste already says is kept. Read warnings: what may not read the same here.

update_originalA

Write this copy (of a composition or asset taken from another project with import_item) back over its original, in that project: the original project records it as a version of its own, which can be restored there. Use it only when the person asks to change the original too; by default a copy is changed on its own.

export_itemA

Write a composition or an asset to /.moga, a folder anyone can send to another person or computer and import with import_item { bundle }: with the assets its layers use, the media files they point at, the translations of its strings (locales/), the project tokens it names that MOGA does not define (tokens.json) and the motion presets its taste defines. Returns what went in; missing lists media it points at that are not on disk. kind taste writes the project's taste instead (TASTE.md with its rules and their cases, the rule files in rules/*.md, and its own style package) to /.moga; on the CLI moga export-item taste <to> works too.

historyA

The version history, newest first: every change to compositions, assets, templates, TASTE.md, translations and moga.json is a commit with its author (person, or agent with the conversation turn), the operation, a message and the files it changed. path= only commits that changed that file; snapshots=true only named snapshots. Use it to see what you changed, then diff, show or restore.

diffA

What changed between two commits (to defaults to the files as they are now): each file added, removed or changed, and for JSON every field that changed with its value before and after (elements and other items with ids are matched by id, so a path reads /elements/intro/elements/headline/props/y).

changesA

What a change did, element by element, for a person to keep or take back each one (as a code review keeps or takes back each hunk): from..to (to defaults to now; commit= alone is that one commit) grouped into units, one per layer, scene, composition settings, asset or file, each with its field changes, where it is on the timeline (start, end, at: a moment to look at it), what the files hold now (after, before = taken back, moved = changed since) and what the person decided (accepted, rolled_back, with the note their feedback became). An agent turn is from the version the reply started at to its last commit. history and pending_changes give the commits; diff shows the raw file changes.

lookupA

Open what a ref names, in full: a lint or taste rule (its doc, bound and cases), the taste, a piece of feedback (its note, thread and attempts), an earlier change (who, why, the feedback it answered, what it was based on and each field before and after), an asset, a composition's outline, a template, a phrase, a reference or media file, a skill. search finds refs in brief; open only the few that matter. Several refs at once: ref takes a list. Name the ones a change follows in basis on that change.

pending_changesA

What agents changed that no one has looked at yet, newest first: each batch is one agent's run of commits (a reply in a MOGA conversation, or an agent connected over MCP or the CLI, named by its program in client) up to anyone else's commit, with from..to for changes and review_change and the units still waiting for a decision. all=true lists decided batches too. Pass a batch's from and to to changes to see what it did field by field.

showA

A file as it was in a commit: a composition or asset as JSON, TASTE.md as text. history finds the commit, diff shows what changed between two, restore brings a version back.

restoreA

Go back to a version: the files become what they were in that commit (before=true: what they were just before it, undoing it and everything after, as going back to before a message). paths= only those files. Nothing is lost: the restore is a commit of its own, and restoring its parent undoes it.

undoA

Take back the last change to the project, whoever made it (the person, an agent, an edit outside MOGA): its files go back to just before it. Recorded as a commit, so redo puts it back. Undo again takes back the one before.

redoA

Put back the change the last undo took back. A new change after an undo means there is nothing to redo.

snapshotA

Name the current version (e.g. "给客户的第一版") with a commit in the history, so it is easy to find and go back to: history lists it, restore returns to it. The files do not change. Returns the commit.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 136 tools

Disambiguation2/5

Several tool families overlap heavily: `remove` duplicates the specific delete/unlink tools, retrieval is split across `search`, `browse`, `lookup`, and many `list_*`/`get_*` tools, and review surfaces overlap among `list_notes`, `trail`, `cases`, `list_examples`, and `changes`. The rich descriptions help, but across 136 tools an agent still faces substantial misselection risk.

Naming Consistency3/5

All names use snake_case and many groups follow a verb_noun pattern (`list_*`, `get_*`, `set_*`, `delete_*`). However, many core actions are bare nouns (`features`, `cases`, `distill`, `lint`, `render`, `preview`, `timeline`, `history`), and aliases like `remove` versus `delete_*` make the convention less predictable.

Tool Count1/5

136 tools is an extreme count for an agent-facing server, far beyond the typical well-scoped range. Even though the domain is broad, the surface includes many niche operations and convenience aliases that make tool selection unwieldy.

Completeness5/5

The surface covers an unusually complete lifecycle: compositions, assets, components, packages, media, references, codebases, sites, rendering, export, linting, taste rules, review notes, examples, history, and project management. There are no obvious dead ends for the stated motion-graphics/project domain.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues