Skip to main content
Glama

ScorpTech x402 Tools

Sentiment

sentiment
Read-onlyIdempotent

Sentiment analysis with VADER (Hutto & Gilbert 2014; MIT), the lexicon-and-rules model tuned for social media, reviews and short text: compound score (-1..1), positive/neutral/negative proportions and a label, handling negation, intensifiers, ALL-CAPS, "but" contrast, punctuation emphasis, slang, emoticons and emoji. Per-sentence breakdown, or batch up to 50 texts with a summary. Scores match the reference implementation. Offline, English. Returns JSON with: label, neg, neu, pos, compound, sentenceMean, sentences, model. Price: $0.005 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/sentiment

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": "sentiment"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoText to score (max 100 KB)
textsNoAlternative: up to 50 texts (each max 20 KB, total 200 KB)
sentencesNoInclude a per-sentence breakdown (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare it read-only, idempotent, open-world and non-destructive; the description adds a lot beyond that: deterministic output ("Scores match the reference implementation"), English-only/offline behavior, explicit return fields, and a per-call price of $0.005 USDC via x402 with an HTTPS equivalent. Cost and transport details are exactly the kind of context annotations cannot carry.

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?

Front-loads the model, then capabilities, output fields, and pricing last — a sensible priority order with no filler sentences. It is a dense single paragraph, and the citation/emoji-coverage list is slightly verbose, keeping it from a 5.

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

Completeness5/5

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

There is no output schema, but the description enumerates the returned JSON fields (label, neg, neu, pos, compound, sentenceMean, sentences, model), so return values need no further explanation. Input limits, language constraint, cost and transport are all covered for a 3-parameter tool.

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%, so text/texts/sentences are already documented with their size limits and the default-true breakdown flag. The description restates the batch limit of 50 but adds no new semantics about parameter interaction (e.g., precedence when both text and texts are supplied), so the baseline of 3 applies.

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+resource ("Sentiment analysis with VADER") plus scope (compound/pos/neg/neu labels, per-sentence breakdown, batch up to 50). It is unmistakably distinct from the numeric sibling tools like abi_encode or arithmetic_mean, and an agent can classify it without opening the schema.

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

Usage Guidelines4/5

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

Gives clear usage context: single text vs batch of up to 50, per-sentence breakdown toggle, and the constraint "Offline, English" plus short-text/social-media tuning. It stops short of stating when NOT to use it or naming an alternative sentiment endpoint, so it falls one step below explicit routing guidance.

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