Skip to main content
Glama

IA-QA — 152 QA & Dev Tools for AI Agents

escape_html

Read-onlyIdempotent

Escape HTML special characters (&, <, >, ", ') to their safe HTML entities. Escaped text inserted into HTML cannot run as script (XSS).

Input Schema

NameRequiredDescriptionDefault
inputYesString to HTML-escape

Output Schema

NameRequiredDescriptionDefault
escapedNo
original_lengthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "input": "<a href=\"x\">'&'</a>"
      +  }
      +]
  2. Changed1 schema field changed
    • addedOutput schema / properties
      Added value: +{
      +  "escaped": {},
      +  "original_length": {
      +    "type": "string"
      +  }
      +}
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
  4. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.