Skip to main content
Glama

ass_get_style

Inspect one ASS subtitle style to view all fields and the font it resolves to via fontconfig. Use it to verify font availability and detect missing glyphs.

Instructions

Inspect one style, including the font it really resolves to.

Args: name: style name (case-insensitive). doc_id: document id or None for the current document. include_glyphs: add a glyphs report (approximate Aegisub "characters not in font" check via fontconfig) for sample_text. sample_text: text used for the glyph report. When omitted it defaults to the plain text of the lines that use the style (capped at 2000 characters).

Returns: {"doc_id", "name", "style", "values", "font", "used", "usage"}style holds every ASS field as stored, values the typed view (numbers/flags, colours verbatim), font the fontconfig resolution: {requested, bold, italic, available, resolved, resolved_style, file, index, substituted, candidates, error}. With include_glyphs adds glyphs ({font, missing, fallbacks, covered, checked, coverage_source}) and glyph_sample_text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
doc_idNo
sample_textNo
include_glyphsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does reasonably well: it discloses that include_glyphs runs an approximate fontconfig-based check, that sample_text defaults to the plain text of lines using the style capped at 2000 characters, and that font resolution exposes substitution state. It doesn't state read-only status or permission requirements explicitly, but the inspection nature is evident.

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 purpose is front-loaded in one sentence, and the Args/Returns blocks are well organized. The detailed Returns enumeration is somewhat verbose given an output schema already exists, but it remains useful and non-repetitive.

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

Completeness5/5

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

For a moderately complex inspection tool, the definition covers parameters, defaults, side behaviors (glyph check), and return shape. An agent has everything needed to call it correctly, and the output schema covers the structured return.

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 fully compensates: it defines name (case-insensitive), doc_id (None = current document), include_glyphs (adds a glyphs report), and sample_text (default source and 2000-char cap). Every parameter is given meaning beyond the bare schema types.

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 first sentence gives a specific verb (inspect) and resource (one style) plus the distinguishing feature (font resolution). It clearly separates from the plural sibling ass_list_styles and from ass_style_usage/ass_style_for_line, since it targets a single named style.

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?

Usage is implied by the Args (name required, doc_id optional) but there is no explicit when-to-use guidance or routing against alternatives like ass_style_usage, ass_check_font_substitution, or ass_list_styles. The reader must infer the use case.

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