Skip to main content
Glama

Set source text handling

set_project_source_text
Idempotent

Hide, keep, or always show burned-in text like captions and logos across a video project. It re-renders finished clips so the setting stays consistent.

Instructions

Hide or keep text burned into the source video (captions, logos) for the whole project: hide covers it, keep leaves it, always shows it. Re-renders every finished clip so the set agrees. Returns { changed, needsRerender, rerendered, skipped, hint }; rerendered is how many clips were queued, so follow with wait_for_project; skipped clips were still preparing or rendering and need rerender_clips once done (needsRerender is true).

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": {
      "id": "<id>",
      "sourceText": "<sourceText>"
    },
    "name": "set_project_source_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProject id (from list_projects, search_clips or create_project)
sourceTextYeshide = cover on-screen text in the source, keep = leave it, always = always show it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.51.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.26.3

TDQS

A4/5.0
Behavior4/5

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

Only idempotentHint is supplied, so the description carries most of the burden and does well: it discloses the side effect that every finished clip is re-rendered to keep the project consistent, and explains the semantics of skipped/needsRerender. It does not state cost, duration, or permission requirements for a project-wide re-render, which leaves a real gap for a heavy mutation.

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?

Two sentences, front-loaded with purpose, then the return contract and follow-up routing. Dense but every clause earns its place since there is no output schema. The second sentence is packed with semicolon-separated clauses that are slightly hard to scan.

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 project-wide mutation that triggers re-renders, the description covers the return fields, which one matters for follow-up (rerendered), and what to do with skipped clips. With no output schema, that return documentation is necessary and present.

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 100% and both enum values are already documented in the schema, so the description's 'hide covers it, keep leaves it, always shows it' largely restates structured data. The only added meaning is the project-wide scope of the setting, so the baseline 3 applies.

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 opens with a specific verb and resource: hide or keep 'text burned into the source video (captions, logos)' for the whole project, and names concrete examples. The project-wide scope is explicit. It never names a sibling tool, but the narrow resource (burned-in source text) is naturally distinct from the set_project_bumpers/set_project_defaults family.

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?

Post-call routing is unusually explicit: 'follow with wait_for_project' after rerendering, and 'need rerender_clips once done' for skipped clips, with the needsRerender flag as the trigger. What is missing is any when-to-use/when-not guidance about this tool versus other project-settings tools, or any prerequisite about source analysis.

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