Skip to main content
Glama

ass_list_documents

List open Aegisub/ASS subtitle documents and retrieve their IDs, file paths, dirty status, line counts, and encoding.

Instructions

List the open documents.

Returns {"documents": [{"doc_id", "path", "dirty", "lines", "encoding", "current"}...], "ids": [...], "current", "count"}. Line indices are 0-based.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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. The verb "List" implies a safe read operation with no side effects, which is reasonable, but the bulk of the text describes the return payload (already covered by the output schema) rather than behavior such as whether the list reflects unsaved state.

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 the first sentence, and the remaining text is compact. The embedded return-shape literal is somewhat verbose given that an output schema already exists, but it is not wasteful enough to penalize heavily.

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?

With zero parameters and an output schema present, the definition is nearly complete. The only shortfall is the absence of any routing guidance relative to the many document- and line-listing siblings.

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

Parameters4/5

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

The tool takes zero parameters, so the baseline is 4. There is nothing for the description to disambiguate, and it correctly does not invent parameters.

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 and resource ("List the open documents"), which an agent can distinguish from mutation siblings like ass_open or ass_close. However, it never addresses how it differs from closely related read siblings such as ass_document_info or ass_list_lines.

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 when-to-use guidance or reference to alternatives. The agent is told what the tool returns but not the conditions under which this enumeration should be chosen over ass_document_info or ass_select_document.

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