Skip to main content
Glama

predict_virality

Idempotent

Score a draft script for viral potential with adversarial verification. Returns a virality score, recommendation (ship/rework/no-go), viral DNA breakdown with evidence, attack vectors analysis, and calibration metrics. Use when the user has a finished draft and wants pre-publish verification. Pass either a script string or a video URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nicheNoNiche context
scriptYesThe draft script to predict on (or a video URL — auto-extracts transcript)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
blueprintNoRetention diagnosis with weak seconds identified
from_paygNoWhether credits came from pay-as-you-go balance
viral_dnaNoHook type, structure, emotional triggers breakdown
share_reasonNoWhy viewers would share this content
target_emotionNoPrimary emotion the content targets
virality_scoreNoOverall virality prediction (0-100)
credits_remainingNoCredits remaining after this call
from_subscriptionNoWhether credits came from subscription

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "blueprint": {
      +      "description": "Retention diagnosis with weak seconds identified",
      +      "type": "object"
      +    },
      +    "credits_remaining": {
      +      "description": "Credits remaining after this call",
      +      "type": "number"
      +    },
      +    "from_payg": {
      +      "description": "Whether credits came from pay-as-you-go balance",
      +      "type": "boolean"
      +    },
      +    "from_subscription": {
      +      "description": "Whether credits came from subscription",
      +      "type": "boolean"
      +    },
      +    "share_reason": {
      +      "description": "Why viewers would share this content",
      +      "type": "string"
      +    },
      +    "target_emotion": {
      +      "description": "Primary emotion the content targets",
      +      "type": "string"
      +    },
      +    "viral_dna": {
      +      "description": "Hook type, structure, emotional triggers breakdown",
      +      "type": "object"
      +    },
      +    "virality_score": {
      +      "description": "Overall virality prediction (0-100)",
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already provide idempotentHint=true and destructiveHint=false, covering safety. The description adds behavioral context: 'adversarial verification' implies a rigorous analysis, and the list of outputs (attack vectors, calibration metrics) gives insight into the tool's processing. It also notes video URL auto-transcription, an external-access behavior, which is not in annotations. No contradiction with annotations.

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

Conciseness5/5

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

Two concise sentences with zero fluff. The first sentence states the action and outputs; the second gives usage condition and input options. The critical information is front-loaded, and every clause earns its place.

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?

This is a complex tool with multiple output components, but the description enumerates all of them. It clarifies the input alternatives (script or URL) and the intended usage scenario. Given that an output schema exists, the description does not need to explain return values, and it covers the essential aspects an agent needs to invoke it correctly, distinguishing it from sibling tools.

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. The description adds that the script should be a 'finished draft' for pre-publish verification, which is useful context, but it largely repeats the schema's note about accepting a video URL. No significant new meaning beyond the schema.

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?

The description states a specific verb ('score') and a specific resource ('a draft script'), and lists unique outputs (virality score, recommendation, viral DNA breakdown, attack vectors, calibration metrics) that distinguish it from siblings like score_hook and find_viral_template. The phrase 'adversarial verification' further differentiates its approach.

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 description gives a clear usage context: 'Use when the user has a finished draft and wants pre-publish verification.' It also specifies input format ('Pass either a script string or a video URL'). However, it does not explicitly mention when not to use it or alternatives, though siblings exist.

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.