Skip to main content
Glama

add_text

Overlay titles, captions, or lower thirds onto video with configurable alignment, margins, colors, timing, and optional background boxes.

Instructions

Add a text overlay (title, caption, lower third). align: left|center|right, valign: top|middle|bottom. x,y are margins in pixels. bg is an optional box colour like #000000.

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": {
      "path": "<path>",
      "text": "<text>",
      "start": "<start>",
      "end": "<end>"
    },
    "name": "add_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
bgNo
endYes
boldNo
fontNoSans
pathYes
sizeNo
textYes
alignNocenter
colorNo#ffffff
startYes
valignNobottom

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description carries the full disclosure burden, yet it says nothing about whether the overlay is burned in, whether it requires a re-render, how overlapping text at the same coordinates behaves, or what happens if start/end exceed clip bounds. Only the align/valign/margin/colour semantics are conveyed.

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, front-loaded sentences with no wasted words; the core purpose leads and parameter hints follow. The telegraphic style ('x,y are margins in pixels') is efficient but borders on terse for a 13-parameter tool.

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

Completeness2/5

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

For a 13-parameter mutation tool with no annotations and no output schema, the description covers only a fraction of what an agent needs: timing units, required path semantics, and the relationship to add_subtitle/update_text are all missing. It is adequate for the styling parameters but not for correct invocation overall.

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 0% across 13 parameters, but the description documents the most error-prone ones well: align and valign enumerate their valid values, x/y are identified as pixel margins, and bg is given a format example. However, extras like text, start, end, font, size, bold, color, and path are left undefined, and the units for start/end (seconds vs. frames) and the distinction between color and bg are unspecified.

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?

States a concrete verb and resource ('Add a text overlay') and clarifies the resource with examples (title, caption, lower third). An agent can distinguish it from remove_text/update_text, though not from the sibling add_subtitle, which is a genuine ambiguity left unaddressed.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this versus update_text, remove_text, or especially add_subtitle, which appears to overlap. No prerequisites, ordering, or constraints are given, leaving the agent to infer selection from the name alone.

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