Skip to main content
Glama

Twitter Sentiment Analysis — AI on Any X/Twitter Scraper

tweet_sentiment_intelligence
Read-only

AI sentiment analysis for any Twitter/X dataset

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tweet_sentiment_intelligence"
  }
}

Input Schema

NameRequiredDescriptionDefault
topic_brandNoOptional label for what you're tracking, used in the report
apify_api_keyNoYour Apify API token (optional). When provided the actor runs live and returns real data. Get one free at https://apify.com/sign-up
tweet_text_fieldNoForce a specific field for the tweet text (e.g
tweets_dataset_idNoThe dataset ID from any X/Twitter scraper's run
max_tweets_to_analyzeNoCap on how many tweets to read

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / apify_api_key
      Added value: +{
      +  "description": "Your Apify API token (optional). When provided the actor runs live and returns real data. Get one free at https://apify.com/sign-up",
      +  "type": "string"
      +}
  2. Changed5 schema fields changed
    • removedInput schema / properties / input
      Removed value: -{
      -  "description": "Input for Twitter Sentiment Analysis — AI on Any X/Twitter Scraper. See https://apify.com/noniner/tweet-sentiment-intelligence.",
      -  "type": "object"
      -}
    • addedInput schema / properties / max_tweets_to_analyze
      Added value: +{
      +  "description": "Cap on how many tweets to read",
      +  "type": "string"
      +}
    • addedInput schema / properties / topic_brand
      Added value: +{
      +  "description": "Optional label for what you're tracking, used in the report",
      +  "type": "string"
      +}
    • addedInput schema / properties / tweet_text_field
      Added value: +{
      +  "description": "Force a specific field for the tweet text (e.g",
      +  "type": "string"
      +}
    • addedInput schema / properties / tweets_dataset_id
      Added value: +{
      +  "description": "The dataset ID from any X/Twitter scraper's run",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"Input for Tweet Sentiment Intelligence — AI on Any X/Twitter Scraper. See https://apify.com/noniner/tweet-sentiment-intelligence."New value: +"Input for Twitter Sentiment Analysis — AI on Any X/Twitter Scraper. See https://apify.com/noniner/tweet-sentiment-intelligence."
  4. Added

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, destructiveHint=false, and non-idempotence, so safety is covered structurally. What the description could add and does not is the important dual-mode behavior implied by the schema: with an Apify API key the actor runs live for real data, otherwise presumably a sample/mock result. That live-vs-simulated distinction is material to interpreting results and is omitted.

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?

A single front-loaded clause with zero filler, which is structurally clean. It is arguably too terse rather than padded, but nothing in it is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter, open-world tool with no output schema and an API-key authentication path, one line is not enough. The agent is not told what a sentiment report contains, what happens without a dataset ID, or what the live-vs-mock mode means for trust in the results.

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% and all five parameters carry inline descriptions (topic_brand, apify_api_key, tweets_dataset_id, max_tweets_to_analyze, tweet_text_field), so the schema does the heavy lifting. The description adds no extra meaning about how these parameters interact – for example whether tweets_dataset_id is effectively required despite the schema marking nothing required.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a resource (Twitter/X dataset) and a task (AI sentiment analysis), so the agent can tell it analyzes tweet sentiment rather than scraping or auditing. However, it says nothing about scope, output shape, or how it differs from adjacent tools such as ai_social_listening, leaving the purpose only vaguely bounded.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives. The agent is not told that this requires a dataset ID produced by a separate scraper run, nor when sentiment analysis is preferable to related intelligence tools.

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.