Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

YouTube Hashtag Search

youtube_hashtag_search

Retrieve videos listed on a YouTube hashtag page by hashtag token, returning channel details and approximate view counts; use it for hashtag-based video discovery, not keyword search.

Instructions

Videos from youtube.com/hashtag/{name} — nested channel{}, viewCountIsApproximate. Not keyword search. Costs ~20 credits (1/result). Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).

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": {
      "q": "<q>"
    },
    "name": "youtube_hashtag_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesHashtag with or without the # (min 2 characters). One token — spaces are 400 HASHTAG_HAS_SPACES.
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 200). Returns a single window; use limit to size it. No cursor. Billed per result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does it well: it discloses the credit cost (~20, 1/result), that empty results and failures are never billed, the caching trade-off, and partial return shape (nested channel{}, approximate view counts). That is exactly the operational context an agent needs before spending credits.

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?

Roughly forty words with zero filler, front-loaded with the resource identity before cost and cache details. The telegraphic fragments ("nested channel{}, viewCountIsApproximate") are slightly cryptic, which keeps it from a 5.

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 usefully hints at the response shape and fully covers the cost/cache model that governs invocation. It omits auth or rate-limit context and error behavior, though the schema carries the 400 HASHTAG_HAS_SPACES case.

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 q, cache and limit are already fully documented in the schema. The description restates the cache semantics and adds a per-result billing angle tied to limit, but provides no syntax or format detail beyond the schema — the baseline 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?

"Videos from youtube.com/hashtag/{name}" names the exact resource and endpoint form, and "Not keyword search" immediately separates it from youtube_search. An agent can tell what this retrieves without opening the 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?

The "Not keyword search" exclusion steers an agent away from the wrong tool and implies youtube_search as the alternative, and the cache guidance ("Pass cache=true for a free 24h cache hit (default always fresh)") gives a concrete when-to-use rule. It stops short of naming the sibling explicitly or stating when hashtag search is preferable.

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