Skip to main content
Glama

x402-html-text-extract

HTML Text Extract: Strips script, style and markup tags from HTML, decodes common entities and returns the text and its length 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
htmlNo
textNo
inputNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / html / description
      Removed value: -"Html to process"
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
  2. Changed1 schema field changed
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose the transformation pipeline (script/style removal, entity decoding) and the return content (text and its length), which is more than most siblings offer. However, it omits size limits, malformed-HTML behavior, timeout/error handling, and what the signed-wallet payment requirement actually gates.

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?

A single front-loaded sentence covering the operation and its output, followed by a short pricing tag. It is tight and readable, though the emoji/pricing clause is promotional noise that does not help tool selection.

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

Completeness3/5

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

The description does cover the return shape (text and length), which is needed since no output schema exists, and the transformation behavior is explicit. But with no annotations and three completely undocumented parameters, the definition leaves a material gap an agent cannot resolve from structured data alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% for three string parameters named html, text, and input, none required and none described anywhere. The description never says which parameter to populate or whether the three are aliases, leaving the caller to guess whether to pass raw HTML, plain text, or a generic input.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a concrete verb and resource: strips script/style/markup tags, decodes entities, and returns text plus length. That is specific enough to know what it does, but it never distinguishes itself from near-identical siblings such as x402-strip-html, x402-strip-tags, or x402-html-to-markdown.

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

Usage Guidelines2/5

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 alternative despite a crowded sibling set that does the same job (strip-html, strip-tags, html-to-markdown). The only contextual note is the free-trial pricing line, which is commercial rather than usage routing.

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