---
title: ToolRouter — Agent Use Case Guide
description: Step-by-step guide for completing a task with a specific AI agent using ToolRouter.
url: https://toolrouter.com/tools/trending-social-content/use-cases/analyze-virality-factors/copilot
---
# How to Analyze Virality Factors with Copilot

Copilot fetches virality data from your IDE for building content optimization tools. Pull trending video metadata and Copilot helps write the statistical analysis, pattern detection, and scoring algorithms that quantify virality factors and predict content performance based on structural elements.

## Setup

{"mcpServers":{"toolrouter":{"command":"npx","args":["-y","toolrouter-mcp"]}}}

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Fetch trending TikTok videos and analyze virality factors"
3. Copilot returns trending video data with metadata for analysis
4. Ask: "Identify statistical patterns in video length, hashtag count, and engagement ratios"

## Example Prompt

```
Get the top trending TikTok videos. Analyze metadata patterns -- video duration, hashtag usage, engagement ratios -- and return the data as structured analysis.
```

## Tips

- Use the structured data to build predictive models for content performance
- Track virality factors over time to identify shifts in what the algorithm favors
