Skip to main content
Glama

set_style

Applies a named visual style to a single video session or to every session in a project, using style names from the library. Keeps recordings consistent with a chosen look.

Instructions

Set the style of one video (session) or of a whole project. The user usually picks it on the app's Assets tab. Only when asked.

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": {
      "style": "<style>"
    },
    "name": "set_style"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleYesA style name from get_library. With session, empty = use the project's.
projectNoProject name, to set the style of every session in it.
sessionNoSession: 'Project/folder', an absolute path or its id (from get_session). Old paths still work.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2026.11.11
    • changedInput schema / properties / session / description
      Previous value: -"Session as 'Project/folder', an absolute path, or its id (from get_session). An old path still works after a rename or move."New value: +"Session: 'Project/folder', an absolute path or its id (from get_session). Old paths still work."
  2. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world mutation, so the description only needs to add context. It adds the policy constraint ('only when asked') and the user-facing workflow, but says nothing about what happens to existing styles, whether the style must already exist in the library, or what a failed lookup looks like.

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 short sentences, front-loaded with the action and scope. The Assets tab sentence earns a little of its place by motivating 'Only when asked', though it is the most expendable line.

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

Completeness3/5

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

For a simple three-parameter mutation with full schema coverage and clear annotations, the description covers the essentials of who/where. It omits side effects (does setting a style invalidate or regenerate existing edits?) and error conditions, which matters for a state-changing tool.

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 description coverage is 100%, so the baseline is 3; the parameters already explain 'a style name from get_library', the empty-string fallback to the project style, and the session path/id formats. The description only adds the project-vs-session scoping idea, which the schema essentially covers already.

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 gives a specific verb and resource ('Set the style of one video (session) or of a whole project') and clarifies the two scopes the tool operates at, which maps directly to the session/project parameters. It does not name a sibling such as create_style to distinguish style assignment from style creation, so it stops short of a 5.

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?

'Only when asked' is genuinely useful negative guidance that tells the agent not to set styles proactively, and the note about the Assets tab explains where the user normally does this themselves. It lacks an explicit comparison to an alternative tool (e.g. create_style if the requested style doesn't exist), so it is not fully closed.

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