Skip to main content
Glama

ass_karaoke_get

Reads parsed karaoke data for a single line in an ASS subtitle document, returning syllable timings, tags, and duration discrepancies.

Instructions

Read the parsed karaoke of one line.

Arguments

index 0-based line index (doc.events() order) of an open document. doc_id open document id (defaults to the current one).

Returns

{"text_source": "line", "index", "doc_id", "line": {...}, "has_karaoke_tags", "untimed", "timings_source", "syllables": [{"index", "text", "raw", "prefix", "kind", "duration_cs", "duration_ms", "start_ms", "end_ms", "start", "end"}], "duration_sum_cs", "duration_sum_ms", "line_duration_cs", "discrepancy_cs", "matches_line_duration", "message", "kind_counts", "kinds"}

start_ms/end_ms are absolute (the line's Start is time zero internally, the line's own start is added). discrepancy_cs is sum(syllable durations) - line duration in centiseconds and is reported explicitly, never corrected here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYes
doc_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well. It implies read-only behavior ('Read') and explicitly notes that discrepancy_cs is 'reported explicitly, never corrected here,' which is a useful behavioral trait. It also describes the return shape thoroughly. It does not mention error handling or required document state beyond 'open document,' keeping it from a 5.

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?

The description is front-loaded with the purpose, followed by clearly labeled Arguments and Returns sections. It is somewhat long, but the detailed return documentation is justified because there is no output schema. Every section earns its place, though the return field list is dense.

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?

Given a moderately complex tool with no output schema and no annotations, the description provides complete parameter semantics and a full return structure. It could be more complete by stating error cases or that the document must be open, but it covers what an agent needs to call the tool correctly.

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?

Schema coverage is 0%, so the description must compensate and it does fully. It explains 'index' as a 0-based line index in doc.events() order for an open document, and 'doc_id' as an open document id that defaults to the current one. Both parameters are completely documented in the description.

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 states a specific verb+resource: 'Read the parsed karaoke of one line.' It is clear what it does. However, it does not explicitly distinguish itself from similar siblings like ass_karaoke_tags_only or ass_karaoke_export, so it falls short of 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 Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives. It implies usage by saying it reads karaoke from an open document, but it does not state prerequisites, exclusions, or which sibling to use for other karaoke-related tasks.

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