Skip to main content
Glama

Text Sentiment

text_sentiment
Read-onlyIdempotent

[inference] Sentiment analysis

Input Schema

NameRequiredDescriptionDefault
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description adds nothing about what the analysis returns (label, score, confidence?) or how input is handled — no output schema exists to fill that gap.

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

Conciseness3/5

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

It is short and front-loaded with no wasted words, but the brevity comes from under-specification rather than efficiency — the '[inference]' prefix is the only added token of information.

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?

With no output schema and no annotations describing results, the description should at minimum say what sentiment output looks like (e.g., polarity label and score). As written, an agent knows the tool is a read-only sentiment classifier but not what it gets back or the input contract.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is one required parameter 'text' with 0% schema description coverage; the schema only supplies an example string. The description says nothing about expected input (single sentence vs. document, language support, length limits), so it fails to compensate for the coverage gap.

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

Purpose2/5

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

The description 'Sentiment analysis' effectively restates the title 'Text Sentiment' — it names a task but no verb, scope, or output. It at least tells the agent the tool operates on text and produces sentiment, distinguishing it loosely from text_summarize/text_keywords, but adds nothing beyond the name.

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?

No guidance on when to use this versus text_summarize, text_keywords, or inference. The agent must infer from the name alone that this is for classifying the tone of a string rather than summarizing or extracting terms.

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.