Skip to main content
Glama

IA-QA — 130+ QA & Dev Tools for AI Agents

unescape_html

Read-onlyIdempotent

Convert HTML entities (&, <, >, ", ', and numeric &#NNN;) back to plain characters. Use when processing HTML-encoded text from APIs, email content, or legacy database fields before passing to an LLM or displaying to users.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesHTML-encoded string to unescape

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
unescapedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties
      Added value: +{
      +  "unescaped": {}
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already disclose read-only, idempotent, and non-destructive behavior. The description adds valuable context by listing supported entity types (named and numeric) and the conversion direction, which goes beyond what annotations provide. It does not mention edge cases like unknown entities, but this is acceptable for a simple conversion tool.

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

Conciseness5/5

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

Two concise sentences: the first states the action and entity list, the second gives usage context. No filler or redundancy; all information earns its place.

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

Completeness4/5

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

For a simple one-parameter tool with a clear schema, annotations, and an output schema (as signaled), the description covers purpose, usage, and example entities. It lacks explicit mention of handling invalid HTML entities or recursion, but those are edge cases unlikely to block correct invocation.

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

Parameters3/5

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

Input schema fully describes the single parameter 'input' as 'HTML-encoded string to unescape'. The description does not add further parameter-specific details beyond the schema, so the baseline of 3 applies.

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

Purpose5/5

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

The description opens with a specific verb 'Convert' and a clear resource: HTML entities. It enumerates the exact entities handled (&, <, etc.) and contrasts with counterpart tools like escape_html by stating it converts 'back to plain characters'. This clearly distinguishes it from siblings.

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

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit when-to-use context: 'when processing HTML-encoded text from APIs, email content, or legacy database fields before passing to an LLM or displaying to users.' It does not mention when-not-to-use, but the guidance is clear enough for selection among sibling tools.

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