x402-stem
Stem: Apply a simple English stemming algorithm to a word. Provide word or text; returns the stemmed form.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to process | |
| word | No | Word to process | |
| input | No | Input to process |
Stem: Apply a simple English stemming algorithm to a word. Provide word or text; returns the stemmed form.
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to process | |
| word | No | Word 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 exist, so the description carries the full load. It does disclose the algorithm family ('simple English stemming') and the return shape ('returns the stemmed form'), which is useful behavioral context. But it says nothing about determinism, phrase handling, case handling, or failure modes for non-English input, leaving notable gaps for a tool with zero annotation coverage.
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?
Two short sentences, front-loaded with the purpose, then the argument hint and return value. No filler, though the prefixed 'Stem:' is redundant with the tool name.
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 tool with no annotations, no output schema, and three optional parameters whose semantics overlap, the description covers purpose and return value but not which of 'word'/'text'/'input' to supply or what occurs when several are given. Adequate but leaves a real ambiguity unresolved.
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. The description adds only marginal value by naming 'word or text', and it silently ignores the third parameter 'input', which is why the three overlapping optional string parameters remain ambiguous to an agent despite the schema.
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?
States a specific verb and resource: 'Apply a simple English stemming algorithm to a word.' The agent can tell this is stem/lemmatization-style text normalization. It does not name or differentiate from the near-identical sibling x402-stem-word, so it stops short of a 5.
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?
'Provide word or text' gives implicit invocation guidance for the single-word case, but there is no when-to-use vs. when-not, no mention of lemmatize/singularize/stem-word alternatives, and no statement about what happens with phrases or non-English input.
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.