---
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/social-media-comments/use-cases/analyze-comment-sentiment/openclaw
---
# How to Analyze Comment Sentiment with OpenClaw

OpenClaw automates cross-platform sentiment analysis by batch-pulling comments from multiple posts simultaneously and producing structured sentiment datasets. Output includes per-comment sentiment labels, aggregate scores per post, and platform comparison metrics. Feed directly into your analytics database for longitudinal sentiment tracking.

## Setup

openclaw mcp add toolrouter -- npx -y toolrouter-mcp

## Steps

1. Connect ToolRouter: openclaw mcp add toolrouter -- npx -y toolrouter-mcp
2. Ask OpenClaw: "Collect comments from this TikTok video and analyze the sentiment"
3. OpenClaw fetches comments and provides sentiment analysis
4. Ask: "What are the top three sentiment themes in these comments?"

## Example Prompt

```
Pull all comments from this TikTok video and this YouTube video. Analyze the overall sentiment and identify the dominant emotional themes.
```

## Tips

- Combine results from multiple platforms in one session for a unified sentiment view
- Ask for a comparison of sentiment distribution across different post types
