Skip to main content
Glama

x402-escape-html

Escape HTML: Escape HTML

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoText to process
inputNoInput to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / input
      Added value: +{
      +  "description": "Input to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

D1.8/5.0
Behavior1/5

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

No annotations are present, so the description carries the full behavioral burden, and it discloses nothing. It does not say which characters get escaped (&, <, >, quotes), whether already-escaped entities are double-escaped, or what the output looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single line is short but is pure duplication with zero information content, an under-specification problem rather than genuine conciseness. Nothing is front-loaded because nothing informative is said.

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

Completeness2/5

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

For a simple string transform this is nearly callable, but with no annotations, no output schema, and two overlapping optional parameters, an agent cannot tell which argument to pass or what comes back. The description leaves the essential details missing.

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 100% but the two parameters are near-synonymous placeholders ('Text to process' and 'Input to process'), and the description does nothing to disambiguate them or indicate which is used. The description could have resolved this ambiguity and instead adds nothing.

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

Purpose2/5

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

The description is the literal format 'Escape HTML: Escape HTML', which merely restates the tool name twice instead of stating a distinct purpose. It is a tautology, though the resource (HTML) and verb (escape) are at least identifiable from the name itself.

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 guidance on when to use this tool versus near-identical siblings such as x402-html-entity, x402-escape-special-chars, x402-escape-json, or x402-strip-html. No context, exclusions, or prerequisites are provided.

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