x402-sentiment
Sentiment: Lexicon-based analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to process | |
| input | No | Input to process |
Sentiment: Lexicon-based analysis.
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to process | |
| input | No | Input to process |
Changes observed during successful MCP inspections.
Input schema / properties / textAdded value: +{
+ "description": "Text to process",
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations and no output schema, so the description carries the full burden, and it says almost nothing. 'Lexicon-based' hints that results are deterministic/rule-driven rather than model-based, which is genuinely useful, but there is no mention of the return shape (label? score? range?), cost, or whether input is required.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The single phrase is front-loaded and free of waste, but it is a noun fragment rather than a complete statement of behavior, so brevity comes at the cost of specification.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a text-analysis tool with no annotations and no output schema, the description should at least tell the agent what comes back and how to pass the input text. Given two ambiguous optional parameters and no return-value documentation anywhere, the definition is materially incomplete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. That said, the two parameters 'text' and 'input' are near-duplicates with boilerplate descriptions ('Text to process' / 'Input to process') and both are optional, and the tool description does nothing to disambiguate which one to populate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names the resource (sentiment) and the method (lexicon-based analysis), which is slightly more than the name alone. However, it does not state a verb or scope, and with siblings like x402-sentiment-fast, x402-sentiment-polarity, and x402-sentiment-score, it gives no basis for choosing this tool over those. Purpose is identifiable but not distinguished.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no when-to-use guidance, no exclusions, and no named alternatives, despite four closely related sentiment siblings in the tool list. The agent must guess whether this differs from sentiment-score or sentiment-fast beyond the word 'lexicon'.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.