Skip to main content
Glama
BACH-AI-Tools

Power Assist MCP Server

escapehtml

Convert HTML special characters (like <, >) to entity equivalents (&lt;, &gt;) to prevent code injection and ensure correct rendering. Supports cent, yen, euro, pound, copy, reg, quote, amp, apos.

Instructions

Convert HTML special characters, like \u003c and \u003e, to their entity equivalents (for example \u0026lt; and \u0026gt;). This action supports cent, yen, euro, pound, lt, gt, copy, reg, quote, amp, and apos.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses the specific set of supported entities (cent, yen, euro, pound, lt, gt, copy, reg, quote, amp, apos), which is a useful behavioral trait. It does not specify behavior for unsupported characters, but for a simple transform this is a moderate level of transparency.

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?

The description is two sentences long, front-loaded with the core purpose, and includes concrete examples and a complete list of supported entities. Every sentence adds value with no redundancy.

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

Completeness5/5

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

For a simple, parameterless utility with no output schema, the description fully captures the function and the scope of supported conversions. It is self-contained and sufficient for an agent to invoke correctly.

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

Parameters4/5

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

There are zero parameters and an empty schema, so the schema provides no information. The description effectively communicates that the tool operates on HTML special characters in a string, which serves as the de facto input semantics. This meets the baseline for a parameterless tool.

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 clearly specifies the action: 'Convert HTML special characters... to their entity equivalents', giving concrete examples like '<' to '&lt;'. This distinguishes it from the sibling tool 'unescapehtml' by defining the direction of conversion.

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

Usage Guidelines3/5

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

The description does not explicitly state when to use this tool versus alternatives. While the supported entities list is informative, there is no mention of 'use for escaping' or reference to the reverse operation 'unescapehtml', leaving the selection context implicit.

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/BACH-AI-Tools/bachai-power-assist'

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