Skip to main content
Glama

Generate YouTube article

generate_youtube_article

Turn a YouTube URL into an article with a title, excerpt, HTML, and Markdown. Costs one YouTube-to-Article credit. If the call is slow, call get_youtube_transcript first, then call this tool again with url and transcript. 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": {
      "url": "<url>"
    },
    "name": "generate_youtube_article"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesA YouTube URL (watch / youtu.be / shorts / mobile) or a raw 11-char video ID.
toneNoVoice. Default neutral.
lengthNoTarget length. auto lets the model size to the source.
transcriptNoOptional caption text from get_youtube_transcript so this call skips the caption fetch.
include_embedNoPin the original YouTube embed at the top. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare a non-read-only, open-world, non-destructive call, and the description adds genuinely useful context beyond them: it consumes one YouTube-to-Article credit and requires an API key with pay-as-you-go balance. It does not cover failure behavior, whether retries re-charge a credit, or rate limits, so it is strong but not complete.

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 tight sentences: output first, cost second, fallback strategy and prerequisite third. Every sentence carries distinct information and the most decision-relevant facts (what you get, what it costs) are front-loaded.

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 compensates by listing the returned fields, and it covers cost and authentication. The remaining gap is operational failure detail — what happens if the video has no captions or the credit balance is insufficient — which an agent would want before committing a paid call.

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%, so every parameter (url, tone, length, transcript, include_embed) is already documented with enums and defaults. The description only restates the url/transcript pairing already present in the schema, adding no new format or constraint detail, so the baseline of 3 applies.

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?

The opening sentence names a specific verb ('Turn a YouTube URL into an article') and enumerates the concrete outputs (title, excerpt, HTML, Markdown). This distinguishes it from siblings like get_youtube_transcript, get_youtube_clip, and generate_article_video, which produce different artifacts.

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 an explicit conditional workflow: 'If the call is slow, call get_youtube_transcript first, then call this tool again with url and transcript.' That is real when-to-use guidance tied to a named sibling. It stops short of saying when NOT to use it (e.g., versus generate_article_video) or which inputs make the slow path likely.

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