Skip to main content
Glama

mark_example

Records a good or bad judgement about a composition, range, frame, scene, track, layer, asset, or reference so approved work can be reused and failures are checked like tests.

Instructions

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.

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": {
      "verdict": "<verdict>",
      "scope": "<scope>"
    },
    "name": "mark_example"
  }
}

Input Schema

NameRequiredDescriptionDefault
tNoTime in seconds
toNoTime in seconds
clipNoKeep the judged stretch as a small MP4 and a strip of frames (good or bad), rendered after the mark is saved. Default: on for a stretch (not a single frame) whenever still is on
fromNoTime in seconds
noteNoWhat is good or bad about it, in a sentence (may be left out when phrases say it)
tagsNoe.g. typing, cursor-click, transition
assetNoAsset name (file in assets/ without .json)
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.
layerNo
sceneNo
scopeYes
stillNoRender the judged frame next to the example
trackNo
authorNohuman
layersNoLayers inside the region
regionNoThe circled part of the frame, in composition pixels (a reference: in its own pixels)
scoresNoScores from 1 to 5 on the dimensions the library defines (list_dimensions), e.g. { "可读性": 2, "节奏": 4 }
messageNoOne line saying why, kept with the change in the history
phrasesNoReusable feedback: phrase ids or texts (list_phrases). An existing text is linked, not copied; a new one becomes a phrase. Their tags are added.
refinesNoThe id of a vaguer note or example this one makes precise (an agent naming the asset a person meant)
verdictYes
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.
mentionsNoWho it is addressed to; @names in the note are added
referenceNoA reference video: its path in the project, e.g. media/ref.mov (list_references)
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.
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 / 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.5/5.0
Behavior4/5

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

Annotations declare this as a non-read-only, non-destructive, non-idempotent, closed-world write, and the description adds substantial behavior beyond that: a snapshot of exactly what was judged is kept, the frame is rendered unless still=false, and clip keeps a small MP4 for stretches. It still omits whether duplicate marks are possible or what identifier comes back, but the persistence side effects are well disclosed.

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?

It is front-loaded with the verdict semantics, which is good, but the scope enumeration is a dense run-on list packed into one sentence and much of the parameter explanation (clip, basis, confidence) lives only in the schema. The prose is efficient but hard to scan for a 26-parameter tool.

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

Completeness2/5

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

For a 26-parameter mutation tool with nested objects and no output schema, the description covers only verdict, scope, note mentions, snapshot, and still. Major parameters such as basis, confidence, feedback, refines, scores, phrases, and clip are unmentioned, and nothing says what the tool returns to the agent after recording.

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 77%, and the description still adds meaning the schema does not: what scope values mean in practice (from/to narrowing a layer to part of the element's time, a reference video's own pixels, t optionally with a circled composition-pixel region). It also explains that @names in the note are kept as mentions, linking note text to the mentions parameter.

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 names a specific verb and resource: it records a judgement as an example, with a verdict of good or bad. It also spends most of its length enumerating the supported scopes, which clarifies the shape of what can be judged, though it does not name sibling tools like get_example or promote_example to differentiate itself.

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?

Usage is implied by the verdict semantics (good = exemplar to reuse, bad = a failure checked like a failing test), which hints at when to record each kind. But there is no explicit instruction on when to call this versus check_examples, guard_example, or add_note, so the agent must infer the routing.

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