Skip to main content
Glama

Render YouTube clip

render_youtube_clip

Render one YouTube clip. Pass video_url, start_seconds, end_seconds, and quote from suggest_youtube_clips. Returns a job id. Call get_youtube_clip until status is done. Requires an API key and charges clip credits. Needs a StartupHub.ai API key with credit (pay as you go).

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": {
      "start_seconds": "<start_seconds>",
      "end_seconds": "<end_seconds>",
      "quote": "<quote>"
    },
    "name": "render_youtube_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
hookNo
quoteYesOn-screen caption, at least 8 characters.
styleNo
aspectNo
video_idNo11-character video id, if you do not have a URL.
video_urlNoYouTube URL.
end_secondsYes
start_secondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, openWorldHint=true, destructiveHint=false; the description adds genuinely new behavior — the call is asynchronous and returns a job id, it consumes clip credits, and it needs an authenticated key. It does not quantify cost or say what happens on failure/insufficient credits.

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?

Front-loaded with the action and the job-id return, followed by the polling step and the credit requirement. The auth/credit point is stated twice ("Requires an API key" then "Needs a StartupHub.ai API key with credit"), which is minor redundancy in an otherwise tight description.

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?

For an async, credit-consuming mutation with no output schema, the description covers the essential lifecycle: inputs, returned job id, and the follow-up polling call. Missing details like default aspect/style or credit cost per render are nice-to-have rather than blockers.

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 low (38%) and the description only names four of eight parameters (video_url, start_seconds, end_seconds, quote), leaving hook, style, and aspect unexplained in both places. It does add useful provenance by saying those values come from suggest_youtube_clips, but the coverage gap keeps it at baseline.

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?

Opens with a specific verb+resource ("Render one YouTube clip") and immediately ties it to the suggest_youtube_clips -> render_youtube_clip -> get_youtube_clip pipeline, which separates it from generate_article_video and generate_youtube_article. It never explicitly contrasts against those video-generating siblings, so it is clear but not fully disambiguated.

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?

Gives concrete workflow guidance: take the parameters from suggest_youtube_clips, then poll get_youtube_clip until status is done. The prerequisite (API key with credits) is stated. It does not say when to prefer this over the other video-generation tools, so no explicit exclusion set.

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