Skip to main content
Glama

Edit chapters

edit_chapters

Change the chapters: add (name, from_ms, to_ms), rename (name, new_name), retime (name, from_ms, to_ms), remove (name) or clear_all. Chapters are found by exact name and overlapping neighbours are trimmed. Only when the user asks for a chapter change.

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": {
      "action": "<action>"
    },
    "name": "edit_chapters"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
to_msNoEnd of the time range in milliseconds.
actionYes
from_msNoStart of the time range in milliseconds on the video timeline.
new_nameNo
editor_codeNoThe editor code the user reads from the editor's AI panel under Your own AI, for example K7P4QX. Leave it out when connected with the account address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Adds real behavioral detail beyond annotations: chapters are matched by exact name (so partial-name lookups fail) and overlapping neighbours are trimmed (a side effect not implied by the param list). This is meaningful disclosure for a mutation tool whose annotations only declare idempotent=false and destructive=false. It does not state what happens when a name is not found or whether clear_all is undoable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Condensed into two sentences with the operation list front-loaded and the usage guardrail last. Zero filler; a dense action-to-parameter map packed into one clause.

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

Completeness4/5

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

No output schema exists, yet the description never hints at what is returned or how failures (name not found, missing from_ms/to_ms) are surfaced. Everything else an agent needs to construct a correct call — actions, parameter roles, name-matching rule, trimming behavior — is present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With only 50% schema description coverage, the description compensates well by mapping each action to exactly the parameters it consumes: add/retime take name+from_ms+to_ms, rename takes name+new_name, remove takes name, clear_all takes none. That resolves the ambiguity of three undocumented params (name, new_name, action) far better than the schema does.

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+resource and enumerates all five supported operations with their parameter sets, so the tool's capability surface is unambiguous. It does not explicitly contrast itself with the closely-named siblings edit_points or clear_points, which is the only thing separating it from 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 Guidelines3/5

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

The closing clause 'Only when the user asks for a chapter change' gives a usable trigger condition, which is better than nothing. However, it never names the alternative tool to use for point edits or motion clearance, so the agent must infer routing from the resource name alone.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources