Skip to main content
Glama

Get Script

get_script
Read-onlyIdempotent

Get a video's timed script lines — the text that gets burned in as subtitles and spoken as narration. Use this before editing, so you can send back the full set of lines with your changes applied.

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": {
      "videoId": "<videoId>"
    },
    "name": "get_script"
  }
}

Input Schema

NameRequiredDescriptionDefault
videoIdYesThe video ID (e.g. vid_...)

Output Schema

NameRequiredDescriptionDefault
linesNo
lockedNo
videoIdNo
languageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds valuable context about the return content (timed script lines that become subtitles and narration) and the expected round-trip workflow (send back the full set with changes), which goes beyond what annotations convey.

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?

Two sentences with no wasted words. The core purpose is front-loaded, followed by actionable usage context, making it easy to scan and understand.

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?

Given the tool's simplicity (one parameter), existing annotations, and an output schema, the description provides everything an agent needs to decide to call it: what it returns and when to use it. Nothing critical is missing for correct 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 100% for the single videoId parameter, and the description does not add any meaning about that parameter beyond what the schema provides. With high schema coverage and only one parameter, a baseline 3 is appropriate.

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: 'Get a video's timed script lines' and clarifies what those lines are ('the text that gets burned in as subtitles and spoken as narration'). It distinguishes the content from generic video data but does not explicitly differentiate from the sibling tool get_subtitles, leaving that comparison to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It gives clear when-to-use guidance: 'Use this before editing, so you can send back the full set of lines with your changes applied.' This ties the tool to a specific workflow with update_script, but it does not name alternatives or state when not to use it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources