Skip to main content
Glama

sentiment

Sentiment analysis of a supplied block of text, or of current coverage of a named topic. $0.05/call via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoText to score directly
topicNoTopic to gather and score instead

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

The annotation is absent, so the description carries the burden of disclosure. It does disclose a paid API cost ($0.05/call via x402), which is useful. However, it does not disclose the output format (e.g., score vs label), read-only nature, or behavior when both parameters are provided, leaving important gaps.

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

Conciseness5/5

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

The description is a single, concise sentence that front-loads the core functionality and includes essential cost information. Every word adds value, with no redundant or unnecessary content.

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?

Given the absence of annotations and output schema, the description should explain the return value and clarify the parameter relationship (one-of). It fails to do so, leaving the agent without critical information about what to expect from the tool. The pricing disclosure is helpful but insufficient for completeness.

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?

The input schema already provides descriptions for both 'text' and 'topic' (100% coverage). The description essentially paraphrases these ('supplied block of text' vs 'current coverage of a named topic') without adding new meaning, meeting the baseline but not enriching it.

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

Purpose5/5

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

The description clearly states the tool performs sentiment analysis on either a supplied text block or a named topic. This is specific and distinguishes it from all sibling tools, which do not explicitly cover sentiment analysis.

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?

The description provides no explicit guidance on when to choose this tool over alternatives, nor does it specify constraints like 'provide either text or topic, not both'. It merely implies usage by defining the two input modes, but does not contrast with sibling tools or mention exclusions.

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.