Skip to main content
Glama

save_to_library

Store reusable video edit elements like title cards and transitions in a versioned style library with notes, viewable on the Styles board for feedback.

Instructions

Keep a reusable part of an edit in the style library: a title card, lower third, caption look, transition, cover layout, sound. It becomes the next version of assets//, with your note, and shows on the app's Styles board, where the user comments on it. Do it after each edit for every part a later video could use again. Save a playable preview (.mp4 or .png), and pass source_dir to keep the HyperFrames composition that makes it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesThe rendered part: absolute, or relative to session.
nameYesShort slug, e.g. 'lower-third'. Same name = a new version.
noteYesOne line: what it is and when to use it.
groupYesMotion, Titles, Captions, Covers, Logos, Sounds, or another one-word group.
libraryNoA library: 'style:<Name>' for one of the user's styles (e.g. 'style:Magazine'; a new name makes a new style), a project name for that project's own additions, or 'comments' for the comment copilot's files (lessons, target list, style guide).
sessionNoSession as 'Project/folder', an absolute path, or its id (from get_session). An old path still works after a rename or move.
source_dirNoOptional folder that makes it (e.g. the HyperFrames composition).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=false, so the write-and-safe profile is covered. The description adds genuinely non-structured context: the artifact becomes the next version at assets/<group>/<name>, appears on the Styles board where the user comments, and requires a playable preview. It stops short of stating overwrite/reversibility or error behavior.

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?

Three sentences, all load-bearing, with the core action and its destination front-loaded. The cadence sentence is slightly wordy but still earns its place as the usage trigger.

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?

No output schema exists, so the description carries the burden and does so: it covers creation semantics, versioning, destination path, downstream visibility, and required file format. With all 7 parameters documented in the schema, an agent has everything needed to invoke this 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?

With 100% schema description coverage the baseline is 3, but the description adds real constraints beyond the schema: the file must be a playable preview (.mp4 or .png), source_dir preserves the HyperFrames composition, and the note travels with the saved asset. This meaningfully enriches how file and source_dir should be supplied.

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 (keep/save) and resource (reusable part of an edit) in the style library, and enumerates concrete artifact types (title card, lower third, caption look, transition, cover layout, sound). An agent can distinguish this from snapshot-style siblings like get_library, create_style, and save_broll without opening a schema.

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?

"Do it after each edit for every part a later video could use again" gives a clear trigger and cadence for using the tool. It does not, however, name when not to use it or point at an alternative sibling for related operations such as retrieving library contents.

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