Skip to main content
Glama

Pin a moment to its frame

pin_moment
Read-onlyIdempotent

Find the exact frame of a moment in a ready video near a time you know roughly. Transcripts, search_video_moments and contact sheets place a moment to about half a second. A cut, a slow-down or a sound on an action needs its frame: a knife meeting the crust, a foot striking the ball, a door starting to open. It reads every frame and the sound around that time, a model picks the first frame that shows the moment, and a sound that starts right there sets the frame. Answers the source second (to the millisecond), the frame and the frame rate, what the frame shows and whether its sound starts on it, with a numbered sheet of the frames around it. Pin every cut, slow-down and sound that must land on an action. It uses no extra credits.

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": {
      "assetId": "<assetId>",
      "around": "<around>",
      "what": "<what>",
      "window": "<window>",
      "clipId": "<clipId>",
      "atSpace": "<atSpace>",
      "projectId": "<projectId>"
    },
    "name": "pin_moment"
  }
}

Input Schema

NameRequiredDescriptionDefault
whatYesThe moment as it looks, in a few words: "the spatula first cuts into the crust".
aroundYesRoughly where the moment is, in source seconds of the asset: the time a transcript, search_video_moments or a contact sheet gave.
clipIdYesThe film clip that plays this asset, when space or atSpace needs one and several clips play it. null picks the clip that shows the asset at that time.
windowYesThe seconds to search, centred on around: 0.5 to 4, or null for 2.
assetIdYes
atSpaceYesWhat this call's times are. null or source: seconds into the asset file. timeline: seconds of the film, read through the clip that plays the asset then (clipId to pick one).
projectIdYesThe project this call runs on without changing the open project. null (or leaving it out) uses the open project. wait_for_jobs takes the projectId of the calls that started the jobs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / around / description
      Previous value: -"Roughly where the moment is, in source seconds of the asset: the time its brief, a transcript, search_video_moments or a contact sheet gave."New value: +"Roughly where the moment is, in source seconds of the asset: the time a transcript, search_video_moments or a contact sheet gave."
  2. Changed3 schema fields changed
    • addedInput schema / properties / atSpace
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "source",
      +        "timeline"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "What this call's times are. null or source: seconds into the asset file. timeline: seconds of the film, read through the clip that plays the asset then (clipId to pick one)."
      +}
    • addedInput schema / properties / clipId
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The film clip that plays this asset, when space or atSpace needs one and several clips play it. null picks the clip that shows the asset at that time."
      +}
    • changedInput schema / required
      Previous value: -[
      -  "assetId",
      -  "around",
      -  "what",
      -  "window",
      -  "projectId"
      -]New value: +[
      +  "assetId",
      +  "around",
      +  "what",
      +  "window",
      +  "clipId",
      +  "atSpace",
      +  "projectId"
      +]
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds genuinely new behavior: it reads every frame and the sound around the time, a model selects the first frame, and it consumes no extra credits. That mechanism and cost disclosure explains latency and budget impact in a way annotations cannot.

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?

Purpose and precision qualifier are front-loaded, and the return-value list is compact. There is mild redundancy — three visual examples where one would do, and 'Pin every cut, slow-down and sound that must land on an action' echoes the claim already made two sentences earlier.

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?

With no output schema, the description carries the return value itself and does so fully: source second to the millisecond, frame, frame rate, what the frame shows, whether sound starts on it, and a numbered contact sheet of surrounding frames. Nothing an agent needs before calling is missing.

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 86%, so nearly every parameter is already documented, and the description mostly restates the schema's provenance for 'around' rather than adding new meaning. It adds little on 'what', 'window', 'atSpace' or 'clipId' beyond what the schema fields already say, so the baseline 3 applies.

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 a specific verb and resource (find the exact frame of a moment in a ready video) plus the precision differentiator against named siblings. An agent can tell immediately that this is the frame-exact locator, not the rough locator that search_video_moments, transcripts or contact sheets provide.

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?

Explicitly frames when this tool is warranted (cuts, slow-downs and sounds that must land on an action) and names the alternatives that only get within half a second. The exclusion for rough placement is implied by that contrast rather than stated as a direct 'do not use this when', which keeps it just below a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.