Skip to main content
Glama

content_sentiment_analysis

Analyze text content to determine sentiment and classify opinions as positive, negative, or neutral.

Instructions

Analyze sentiment of text content using built-in sentiment analysis

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": {
      "text": "<text>"
    },
    "name": "content_sentiment_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText content to analyze

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.3.3

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does very little with it. 'Built-in sentiment analysis' hints that no external service is called, but nothing is said about granularity (document vs. sentence), language coverage, input size limits, or whether results are deterministic — all material for a text-analysis tool.

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 short sentence, front-loaded with the verb and resource. It is mildly redundant — 'using built-in sentiment analysis' largely restates 'analyze sentiment' — but nothing is bloated.

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?

The tool is simple, but with no output schema the description should indicate what comes back (a label, a polarity score, confidence). It says nothing about return values or limits, leaving the agent unable to anticipate the response shape.

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?

There is only one parameter and schema description coverage is 100%, so the schema already states that 'text' is the content to analyze. The description adds nothing beyond that, which is the baseline 3 case for high-coverage schemas.

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

Purpose4/5

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

The description names a specific verb and resource — 'Analyze sentiment of text content' — so the agent knows exactly what operation it performs, and the sentiment focus distinguishes it from siblings like content_summarizer or keyword_extraction. It stops short of explicitly contrasting with any sibling, which keeps it at 4 rather than 5.

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 guidance on when to use this tool versus alternatives, no prerequisites, and no exclusions. The agent must infer that it should be called whenever sentiment of a text is wanted.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.