Skip to main content
Glama

ViralVideoSearch

Search my saved videos by caption

search_viral_videos
Read-onlyIdempotent

Search the caller's own saved video library (videos collected by their searches on the VVS website) for a caption substring, case-insensitive, sorted by views. Use it to find a saved video by topic or phrase; use list_viral_videos to browse newest saves without a query, and find_outliers to search the shared VVS corpus by niche. Returns {count, videos:[{id, platform, caption, source_url, creator_username, play_count, like_count, comment_count, share_count, created_at}]}; pass a video's id to get_video or get_video_analysis. Read-only. Requires a VVS API key or OAuth; 60 calls/minute per account.

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": {
      "query": "<query>"
    },
    "name": "search_viral_videos"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum videos to return.
queryYesText to match anywhere in the caption (case-insensitive substring, not keywords or regex; % and _ act as wildcards).
platformNoOnly return videos from this platform. Omit for all platforms.

Output Schema

NameRequiredDescriptionDefault
countNoVideos returned.
videosNoMatching videos, most views first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "count": {
      +      "description": "Videos returned.",
      +      "type": "integer"
      +    },
      +    "videos": {
      +      "description": "Matching videos, most views first.",
      +      "items": {
      +        "additionalProperties": true,
      +        "description": "One video.",
      +        "properties": {
      +          "caption": {
      +            "description": "Caption text.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "comment_count": {
      +            "description": "Comment count.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "created_at": {
      +            "description": "When the video was collected (ISO 8601).",
      +            "type": "string"
      +          },
      +          "creator_username": {
      +            "description": "Creator handle without @.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "description": "Video id (UUID) in the caller's library.",
      +            "type": "string"
      +          },
      +          "like_count": {
      +            "description": "Like count.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "platform": {
      +            "description": "tiktok, instagram or youtube.",
      +            "type": "string"
      +          },
      +          "play_count": {
      +            "description": "View count.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "share_count": {
      +            "description": "Share count.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "source_url": {
      +            "description": "Public link to the video.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed9 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Max 25"New value: +"Maximum videos to return."
    • addedInput schema / properties / limit / examples
      Added value: +[
      +  10
      +]
    • addedInput schema / properties / limit / maximum
      Added value: +25
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / platform / description
      Added value: +"Only return videos from this platform. Omit for all platforms."
    • addedInput schema / properties / platform / examples
      Added value: +[
      +  "tiktok"
      +]
    • changedInput schema / properties / query / description
      Previous value: -"Caption search text"New value: +"Text to match anywhere in the caption (case-insensitive substring, not keywords or regex; % and _ act as wildcards)."
    • addedInput schema / properties / query / examples
      Added value: +[
      +  "morning routine"
      +]
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, and the description still adds material context beyond them: the result ordering (by views), matching semantics (case-insensitive substring), auth requirements (VVS API key or OAuth), and a concrete rate limit of 60 calls/minute per account. The return shape is spelled out field-by-field, so the agent knows exactly what comes back.

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?

Front-loaded with the core action and scope, then routing, then return shape, then operational constraints — a sensible priority order with no filler sentences. It is dense and somewhat run-on, packing auth, rate limit, and return fields into one block, but every clause carries information.

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 three-parameter read tool with annotations and an output schema, this covers everything an agent needs: scope, matching rules, ordering, limits, auth, rate limit, and follow-up tools. The return-shape listing is arguably redundant given the output schema, but it does not harm completeness.

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 query, platform, and limit are already fully documented including the wildcard caveat and the 1-25 range. The description's only added semantics is the result ordering (sorted by views), which is output behavior rather than parameter meaning. Baseline 3 is appropriate when the schema carries the parameter burden.

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 with explicit scope: "Search the caller's own saved video library ... for a caption substring, case-insensitive, sorted by views." It also names the two nearest siblings (list_viral_videos for browsing newest saves, find_outliers for the shared corpus), so an agent can disambiguate without opening any schema.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use ("find a saved video by topic or phrase") plus when-to-use-something-else, naming both alternatives and the condition that selects each. It also states a downstream step ("pass a video's id to get_video or get_video_analysis"), leaving nothing to inference.

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.

Resources