Skip to main content
Glama

ass_set_comment

Convert selected ASS subtitle lines between Dialogue and Comment, or delete them, to toggle commented events in Aegisub subtitle documents.

Instructions

Convert lines between Dialogue: and Comment:.

Args: selection: selection spelling; None = every line. comment: True converts to Comment:, False back to Dialogue:. drop: delete the selected lines instead of converting them.

Returns {"doc_id", "changed": [<0-based indices>], "count", "comment", "dropped"}. Snapshot-backed. Indices are 0-based.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dropNo
doc_idNo
commentNo
selectionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/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 usefully discloses that `drop` deletes lines, that changes are snapshot-backed, and that returned indices are 0-based, but it does not describe permission requirements, whether conversion preserves timing/content, or the exact side effects of the delete path.

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?

The description is front-loaded with the core operation, then structured with Args and Returns sections. Every sentence adds useful information, and there is no redundant or filler content.

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?

Given no annotations and a moderately complex mutation tool, the description covers the main arguments and return shape adequately. It remains incomplete regarding `doc_id`, detailed `selection` format, permissions, and reversibility, which are relevant for safe invocation.

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%, and the description explains `selection`, `comment`, and `drop` meaningfully. However, it omits the `doc_id` parameter entirely and does not specify the accepted format for `selection` beyond saying `None` means every line, so it only partially compensates for the schema gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: converting lines between ``Dialogue:`` and ``Comment:``. This is clearly distinct from sibling tools that handle tags, styles, text, or timing, so an agent can identify the operation without opening the schema.

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?

It explains the meaning of the core arguments and the `drop` alternative, which implies when to use the tool, but it does not explicitly say when to prefer this tool over siblings or when not to use it. Guidance is therefore present but inferred rather than explicit.

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