Skip to main content
Glama
BACH-AI-Tools

YouTube Media Downloader

list_items_with_next_token

Retrieve paginated YouTube data by handling large continuation tokens in API requests, enabling access to extensive video details, playlists, channels, and comments beyond standard size limits.

Instructions

An endpoint to list items with any type of nextToken. This allows longer nextToken (\u003e4KB) by putting it in the request body instead of the URL/header, bypassing the usual size limit of the URL/header.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nextTokenYesA string for getting the next page of data. You can only get this string from the response of listing endpoints in this API, like Video > List Video Comments, Search > Search for Channels, and Misc > List Items with Next Token.
langNoLanguage code (IETF language tag) for localized results. Defaults to en-US. Unsupported code will fallback to en-US.
Behavior2/5

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

With no annotations provided, the description carries full burden. It discloses the technical behavior of handling large nextTokens via request body, which is valuable. However, it doesn't mention rate limits, authentication requirements, error conditions, response format, or whether this is a read-only operation. For a pagination tool with zero annotation coverage, this leaves significant behavioral gaps.

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?

Two clear sentences that efficiently explain the tool's unique value proposition. The first sentence states the purpose, the second explains the technical advantage. No wasted words, though it could be slightly more specific about what 'items' means in this API.

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

Completeness2/5

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

Given no annotations and no output schema, the description is incomplete. It explains the technical mechanism for large tokens but doesn't cover what the tool returns, error handling, authentication needs, or rate limits. For a pagination tool in a media API context, users need to know what kind of items are returned and the response structure.

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 the schema already documents both parameters thoroughly. The description doesn't add any parameter-specific information beyond what's in the schema. It mentions 'any type of nextToken' but doesn't clarify what that means beyond the schema's explanation. Baseline 3 is appropriate when schema does the heavy lifting.

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?

The description clearly states the tool's purpose: 'list items with any type of `nextToken`' and explains the technical mechanism for handling long tokens. It distinguishes from siblings by focusing on pagination with large tokens, unlike other list/search tools that may use different pagination methods. However, it doesn't specify what 'items' refers to in this API context.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context: when you need to handle pagination with nextTokens longer than 4KB. It mentions this bypasses URL/header size limits, suggesting when to use this vs standard pagination. However, it doesn't explicitly state when NOT to use it or name specific alternatives among the sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BACH-AI-Tools/bachai-youtube-media-downloader'

If you have feedback or need assistance with the MCP directory API, please join our Discord server