Skip to main content
Glama

audit_and_fix_arabic_srt_subtitles

Audit Arabic SRT subtitles for broadcast CPS, CPL, and duration compliance, then inject UAX#9 RLM markers to correct trailing RTL punctuation.

Instructions

Audit Arabic SRT subtitles against broadcast CPS/CPL/duration standards and inject UAX#9 RLM markers to fix trailing RTL punctuation.

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": {
      "srt_content": "<srt_content>"
    },
    "name": "audit_and_fix_arabic_srt_subtitles"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_cplNo
max_cpsNo
srt_contentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It says markers are "injected", but not whether the original content is returned modified alongside a report, whether fixes are applied unconditionally or only on standard violations, what the standard thresholds default to, or how violations are surfaced — all critical for a tool that rewrites subtitle text.

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?

One dense, front-loaded sentence with no filler; the audit behavior precedes the fix behavior. It is compact but pays for that by omitting operational detail.

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

Completeness2/5

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

A content-transforming tool with no annotations, no output schema, and zero schema descriptions needs the description to explain inputs, defaults, and returned results. This one covers only the headline behavior, leaving an agent unable to predict the response shape or default thresholds.

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

Parameters2/5

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

Schema description coverage is 0% across all three parameters. The description implies CPS and CPL relate to the two max_* parameters, but gives no units, defaults, or override semantics, and leaves srt_content (and the surprising string type of max_cps) entirely unexplained.

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 names specific verbs ("Audit" and "inject") and a precise resource ("Arabic SRT subtitles"), plus the standards checked (CPS/CPL/duration) and the fix applied (UAX#9 RLM markers for trailing RTL punctuation). It is clearly distinct from the ASR/MP4/WAV siblings, though it never names an alternative explicitly.

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 statement of when to use this versus another tool, no prerequisites (e.g. must the input already be valid SRT with Arabic script?), and no guidance on whether to run the audit without the fix. Usage must be inferred entirely from the verb choice.

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