Skip to main content
Glama

html_escape

Convert HTML special characters into safe entities to prevent XSS attacks and ensure correct display in web pages. Handles text and encoding needs with a small fee.

Instructions

html escape — Text & Encoding tool. Costs $0.001 USDC via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsNoTool parameters as JSON object
Behavior1/5

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

With no annotations, the description carries the full burden of disclosing behavioral characteristics. It only states the tool is a Text & Encoding tool and costs money. It does not describe what happens to input (e.g., transformation, escaping rules), output format, or any side effects. This is inadequate for an encoding tool.

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

Conciseness3/5

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

The description is short and front-loaded, but the first sentence 'html escape — Text & Encoding tool' is largely redundant with the tool name and category. The cost information is useful, but overall the description is under-specified rather than genuinely concise. It earns a middle score for brevity but not for effective content.

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

Completeness1/5

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

The tool has no annotations, no output schema, and a minimal schema with a generic params object. The description provides only a category label and pricing, leaving out the tool's function, parameter requirements, output, and usage context. This is completely inadequate for an agent to select and invoke the tool correctly.

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?

The input schema only contains a generic 'params' object with no specific property definitions, so schema description coverage is effectively zero for actual parameters. The description does not mention any parameters (e.g., text to escape), leaving the agent without clues about required input. The name implies text input, but no semantics are provided.

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 simply repeats the tool name ('html escape') and adds a generic category ('Text & Encoding tool'), but lacks a specific verb or resource. It does not explicitly state that the tool escapes HTML entities or converts characters to HTML-safe sequences, nor does it distinguish it from similar sibling tools like string_escape or encode_base64.

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

Usage Guidelines1/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 alternatives. The description only mentions pricing and the category, with no use cases, prerequisites, or exclusions. It fails to help an agent decide between html_escape, string_escape, regex_escape, or url_encode_decode.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gadgethumans-dev/gadgethumans-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server