Skip to main content
Glama

Groundsocial

Get many YouTube videos

youtube_video_batch
Read-onlyIdempotent

Up to 50 YouTube videos by id in one call: details and exact counts.

Up to 50 videos by id in one call, cheaper than one call each: details and exact view and like counts (no comment counts, chapters or up next: use youtube_video_get for those). Ids that did not resolve are listed in missing; a call where none resolve is refunded.

Cost: 5 credits per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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": {
      "ids": "<ids>"
    },
    "name": "youtube_video_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes1 to 50 video ids or URLs.
languageNoISO 639-1 language code (en, es, pt-BR).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world, and the description adds substantial context beyond them: a 5-credit price, automatic refund on failure or total non-resolution, the `missing` list for unresolved ids, and the cost_credits/credits_remaining fields in results. This is the kind of cost and partial-failure disclosure annotations cannot express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The lead sentence and the following sentence restate the same fact ('Up to 50 YouTube videos by id in one call' / 'Up to 50 videos by id in one call'), which is duplicated text. The remaining content (exclusions, refund, cost fields) is dense and earns its place, but the redundant opener weakens front-loading.

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

Completeness5/5

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

For a two-parameter batch tool with no output schema, the description covers what comes back (details, exact counts, missing ids, cost fields), what does not (comments, chapters, up next), and the billing/refund model. Nothing an agent needs to call it correctly is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the ids and language parameters are already documented, making 3 the baseline. The description adds meaning the schema does not: ids may fail to resolve and those failures surface in `missing`, which tells the agent to expect partial results rather than an error.

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 ('Up to 50 YouTube videos by id in one call') plus the payload returned ('details and exact view and like counts'). It also explicitly delimits scope against youtube_video_get for the data this tool omits, so an agent can pick between them without opening either schema.

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 a clear selection rationale ('cheaper than one call each') and names the alternative tool with the exact conditions that select it (comment counts, chapters, up next). It stops short of stating a when-not-to-use case such as a single id, but the batch-vs-single tradeoff is explicit.

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.