Skip to main content
Glama

Get YouTube clip

get_youtube_clip
Read-only

Poll a clip render started by render_youtube_clip. Returns status, progress, and mp4_url when status is done. 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": {
      "job_id": "<job_id>"
    },
    "name": "get_youtube_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesjobId from render_youtube_clip.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Adds real context beyond the annotations: the return shape ('status, progress, and mp4_url when status is done') and the requirement of a StartupHub.ai API key with credit (pay as you go). Annotations already cover safety (readOnly, non-destructive, closed-world), so this is useful added context but not rich — no mention of polling intervals, job expiry, or failure statuses.

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?

Three short sentences with the action and dependency front-loaded, followed by the return values and the auth/cost prerequisite. No padding or repetition of the title.

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 no output schema, the description steps in to describe the return payload (status, progress, mp4_url) and the credit requirement, which is the essential information for a one-parameter polling tool. It leaves out what happens on a failed or expired render, which is the main residual gap.

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?

Only one parameter with 100% schema description coverage ('jobId from render_youtube_clip'), so the schema already does the work and the baseline is 3. The description reinforces the provenance of the ID but adds no format, length, or error-handling detail.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Poll a clip render') and ties it to the sibling that creates the job (render_youtube_clip), so an agent can tell it apart from the render tool and from unrelated getters like get_article_video. It also names what comes back (status, progress, mp4_url).

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?

Clear context: use it after render_youtube_clip has been started, i.e. it is the follow-up/polling call. It does not state polling cadence, when to stop polling, or what to do if the job_id is invalid, so it stops short of full when/when-not guidance.

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