Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

YouTube Trending Shorts

youtube_trending_shorts

Retrieve a fixed window of YouTube Shorts recommendations per call using an optional topic seed, with item limit and optional 24-hour cache to avoid repeat charges.

Instructions

YouTube Shorts recommendation sequence — fixed window per call (no cursor), not a global chart. Costs 2 credits. Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "youtube_trending_shorts"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional topic seed for the Shorts recommendation sequence. Omit (or pass trending/shorts) for the default reel feed — not a keyword search.
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.
limitNoMax items to return (default 20, max 100). Returns a single window; use limit to size it. No cursor. Flat 2 credits per call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and mostly delivers: it states the 2-credit charge, that empty results and failures are never billed, and that caching is opt-in with a 24h TTL. It omits authentication requirements and the shape of a non-empty response, but the billing and pagination model — the riskiest unknowns for an agent — are covered explicitly.

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?

Four short clauses, front-loaded with what the tool returns and immediately followed by the two operational facts an agent needs (cost, caching). Every sentence carries information; only the parenthetical "(default always fresh)" is mildly redundant with the schema.

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?

For a zero-required-parameter read tool with no output schema, the definition covers the important unknowns: billing model, no-cursor windowing, failure charging, and cache opt-in. What remains unstated (return structure, auth) is low-risk for a public content lookup, though an agent cannot tell whether the response includes video metadata.

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 coverage is 100%, so all three parameters are already documented in the schema, and the description largely restates the cache behavior (free 24h hit, default fresh) and the fixed-window/no-cursor model. It adds framing value by tying cache to cost, but no syntax or format detail beyond the schema.

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?

"YouTube Shorts recommendation sequence" names the resource and the nature of the result clearly, and "fixed window per call (no cursor), not a global chart" scopes it away from a chart-style trending list. It stops short of naming a sibling tool that an agent should reach for instead, so differentiation is by concept rather than by routing.

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 signals when the tool is appropriate (recommendation-sequence semantics) and when it is not ("not a global chart"), which is useful negative guidance. However, no alternative tool is named and no prerequisites are stated, leaving the agent to infer the switch condition from sibling names alone.

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

Deploy Server

Other Tools