Skip to main content
Glama

Add required moment

add_moment

Optional — except for uploaded videos. Adds a required moment: a scene the ad must contain; the script is written around it and the storyboard places it where it fits. Without moments the script and storyboard decide everything, which is fine. BUT an uploaded video only appears in the ad through a custom-footage moment — uploading it alone does nothing; give footage (its media_id and the range to play, muted). Types: product-shot (the product in frame, held or used by whoever you tag — their face shows), product-shot-faceless (the same, but the narrator shows only their hands — no face), b-roll (supporting footage: a place, object, mood), product-action (the product in motion, from its photos), talking-person (the narrator says dialogue to camera), custom-footage. Tag who's in frame in the description with @[Name] from get_project's cast (e.g. "@[Main Character] pours @[Glow Serum] into her palm"). Add moments before generate_script; the total must fit the script's length.

Input Schema

NameRequiredDescriptionDefault
typeYes
footageNocustom-footage only: which clip and which part of it plays.
project_idYesThe project's id.
descriptionYesWhat happens, with @[Name] tags for who/what is in frame.
text_overlayNoOn-screen text for this moment, in the project's spoken language.
product_media_idsNoProduct photos the shot must feature (from get_project's `media`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only cover safety (not read-only, not destructive, closed-world); the description adds crucial domain behavior: an uploaded video only surfaces via a `custom-footage` moment and 'uploading it alone does nothing', plus that footage plays muted. It doesn't discuss reversibility or auth beyond what annotations imply, but the non-obvious side effects are disclosed.

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?

Front-loads the key caveat ('Optional — except for uploaded videos') and packs type definitions and examples efficiently. It is dense but nearly every clause carries needed information; only the type enumeration could be tightened.

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?

For a six-parameter tool with a nested object and an enum, and no output schema, the description covers when to use, all type semantics, the footage constraint, tagging, and script-length ordering. An agent has everything needed to call it 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 high (83%), so the baseline is 3, but the description earns more by explaining what each type means (product-shot vs faceless, b-roll, product-action, talking-person), the `footage` requirement and muted playback, and the @[Name] tagging syntax with a concrete example.

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 ('Adds a required moment: a scene the ad must contain') and immediately explains the mechanism (script written around it, storyboard places it). It is clearly distinguishable from sibling add_subject and remove_moment.

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?

Explicitly frames it as 'Optional — except for uploaded videos', states the null case ('without moments the script and storyboard decide everything, which is fine'), and gives ordering ('Add moments before generate_script; the total must fit the script's length'). This is textbook when/when-not guidance.

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.

Resources