Skip to main content
Glama

sentiment

sentiment
Read-only

Sentiment and tone classification for text (positive / negative / neutral with confidence, plus a one-line reason). Batch up to 20 texts per call. Costs $0.003 USDC per call (x402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textsYes1 to 20 texts

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations cover the read-only and open-world profile, so the bar is lower, yet the description still adds non-obvious value: the per-call price ($0.003 USDC via x402) and the batch ceiling that implies per-call rather than per-text billing. It also sketches the response shape (confidence plus a one-line reason). It stops short of noting rate limits or failure behavior.

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?

A single dense sentence that front-loads the task, then tacks on output shape, batch limit, and cost in a tight sequence. No filler and nothing an agent needs buried.

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

Completeness4/5

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

No output schema exists, but the description compensates by naming the returned fields, and it discloses the pricing model, which is essential for a paid x402 tool. It is nearly complete for a one-parameter tool; only edge cases (empty input, over-20 handling) are unaddressed.

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 coverage is 100% and the sole parameter's own description already says '1 to 20 texts', so the description's batch statement is redundant with structured data. Baseline 3 is the correct ceiling here.

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?

States a specific verb-and-resource task ('Sentiment and tone classification for text') and names the exact output taxonomy (positive/negative/neutral with confidence plus a one-line reason). An agent can distinguish this from sibling classifiers like classify or moderate without opening any schema.

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

Usage Guidelines3/5

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

The description supplies the operational constraint (batch up to 20 texts per call) but gives no explicit when-to-use versus when-not guidance or named alternatives among the many sibling NLP tools. Usage is implied rather than directed.

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.

Resources