html_clean
Strip HTML to clean text
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Raw HTML |
Strip HTML to clean text
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Raw HTML |
Changes observed during successful MCP inspections.
Input schema / properties / argsRemoved value: -{
- "description": "Tool arguments",
- "properties": {
- "text": {
- "description": "Primary input text",
- "type": "string"
- }
- },
- "type": "object"
-}Input schema / properties / htmlAdded value: +{
+ "description": "Raw HTML",
+ "type": "string"
+}Input schema / requiredPrevious value: -[]New value: +[
+ "html"
+]Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description bears full responsibility for behavioral disclosure. It only says 'Strip HTML to clean text', which indicates tag removal but doesn't explain handling of scripts, entities, or formatting. This is insufficient for an agent to predict all behaviors and side effects.
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 description is a single concise sentence with no redundant words. It efficiently conveys the core operation without any fluff, earning a top score for conciseness.
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?
Given the tool's simplicity and single parameter, the description is minimally adequate but lacks specifics about output format or edge cases. The absence of an output schema and annotations increases the need for more detail, yet the basic operation is straightforward enough for a 3.
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?
The single parameter 'html' is already fully documented in the schema with description 'Raw HTML', and schema coverage is 100%. The description adds no additional semantic detail beyond the schema, so the baseline score of 3 is appropriate.
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 uses the specific verb 'Strip' and identifies the resource 'HTML' with the outcome 'clean text', clearly stating the tool's function. However, it does not explicitly differentiate from the sibling tool html_to_markdown, which also processes HTML into a text-based format, so it falls short of a perfect score.
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?
No guidance is provided about when to use this tool versus alternatives like html_to_markdown or readability. The description lacks context on use cases, prerequisites, or exclusions, leaving the agent to infer appropriate usage.
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.