Skip to main content
Glama

generate_script

Generate a real video script (or, with style=ai_video_prompt, a structured Syllaby-schema AI-video-generation prompt) via the SAME Claude call /api/v1/scripts/generate uses -- no mock text.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "generate_script"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleNoeducational|ai_video_prompt|etc, default educational
topicNovideo topic (or pass prompt directly)
lengthNotarget length in minutes, default 1
promptNofull custom prompt, overrides topic
languageNodefault English
platformNodefault youtube_shorts

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that output is genuinely model-generated ('the SAME Claude call ... uses -- no mock text'), implying real latency and non-determinism, but says nothing about cost, whether the script is persisted, or failure behavior.

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 tightly packed sentence with the core action front-loaded and the mode variant immediately after. It is dense with internal jargon ('Syllaby-schema', the endpoint path) that adds bulk without much agent value.

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

Completeness3/5

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

For a six-parameter generation tool with no output schema and no annotations, the description omits what is returned (raw script text? object?) and whether results are saved or how length/platform shape output. Adequate to call, but incomplete for planning around the result.

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?

Schema coverage is 100%, so baseline is 3; the description earns above that by explaining what style=ai_video_prompt actually produces (a structured Syllaby-schema AI-video prompt), which the schema only lists as an enum-like string. Other parameters (length, platform, prompt precedence) are left to the schema.

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?

States a specific verb and resource ('Generate a real video script') and names the alternate output mode (style=ai_video_prompt). It does not differentiate itself from siblings like clips_generate or viral_ideas, so the agent must infer the boundary itself.

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 / when-not-to-use guidance and no alternative named. The only routing hint is the style-based mode switch, which is a parameter choice rather than guidance on selecting this tool over clips_generate or viral_ideas.

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