Skip to main content
Glama

update_text

Edit text overlay fields—content, timing, position, size, color, background, font, alignment, and bold—in an MLT video project.

Instructions

Edit fields of a text overlay (text, start, end, x, y, size, color, bg, font, align, valign, bold).

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_id": "<text_id>",
      "changes": "<changes>"
    },
    "name": "update_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
changesYes
text_idYes

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 are provided, so the description carries the full behavioral burden. It says this edits fields but does not disclose permission requirements, whether omitted fields are preserved, what happens if text_id or path is invalid, or what the response contains. For a mutation tool with zero annotation coverage, this is a significant gap.

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?

A single front-loaded sentence with no filler; the parenthetical field list is dense but purposeful. It is appropriately sized for the information given.

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?

The tool mutates a nested 'changes' object, has no annotations, no output schema, and 0% schema description coverage. The description should explain more about path semantics, value formats, and response behavior; as written it is not complete enough for an agent to invoke this confidently without inspecting sibling tools or guessing.

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 0%, so the description should compensate. It usefully enumerates the keys accepted by the nested 'changes' object (text, start, end, x, y, size, color, bg, font, align, valign, bold), which adds meaning beyond the bare schema. However, it does not explain 'path', the format or units of values like x/y/start/end, or the required structure of text_id, so compensation is partial.

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 specific verb and resource ('Edit fields of a text overlay') and names the editable fields, so an agent can tell it modifies an existing overlay rather than adding or removing one. It does not explicitly differentiate from siblings such as add_text or remove_text, but the purpose is clear.

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?

There is no explicit guidance on when to use this instead of add_text, remove_text, or other update tools, nor on prerequisites such as obtaining a valid text_id. The editing intent is only implied by the word 'Edit'.

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