max_tokens
(number, optional, default: 2048): Maximum response length in tokens.
How to use it
max_tokens is exposed by the MCP Server Youtube Transcript MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the max_tokens tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Server Youtube Transcript
npx -y @smithery/cli install @kimtaeyoon83/mcp-server-youtube-transcript --client claudeOther tools in MCP Server Youtube Transcript (8)
(optional, requires a TwelveLabs API key)
(boolean, optional, default: false): Include timestamps in output (e.g., '[0:05] text')
(string, optional, default: "en"): Language code for transcript (e.g., 'ko', 'en'). Automatically falls back to available languages if requested language is not found.
(string, optional, default: "pegasus1.2"): Pegasus model to use ("pegasus1.2" or "pegasus1.5").
(string, optional): Instruction or question for the model (e.g. "Summarize this video in 3 sentences" or "What products are shown?"). Defaults to a general summary.
(boolean, optional, default: true): Filter out sponsorships, ads, and promotional content from transcript based on chapter markers
(string, required): YouTube video URL, Shorts URL, or video ID