Skip to main content
Glama

webdev_html_minifier

Minify HTML by stripping whitespace, comments, and redundant attributes to reduce file size and speed page loads. Reports byte savings and compression ratio.

Instructions

Menu ID: html_minifier. HTML Minifier. Minify HTML by stripping whitespace, comments, and redundant attributes for faster page loads. Reports byte savings and compression ratio for each minification. Use describe_tool with tool_id "html_minifier" for full page guidance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. While it states minification and reporting statistics, it does not explain how the input HTML is provided (e.g., via a text parameter) or any limitations, leaving a significant gap.

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 concise (four sentences) but front-loads repetitive information like 'Menu ID: html_minifier. HTML Minifier.' The reference to describe_tool could be omitted for brevity.

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?

Given no output schema, the description partially explains return values (byte savings, compression ratio) but fails to specify the input format or how to invoke the tool effectively. The open schema usage is unclear, making the description incomplete.

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 has no defined parameters with additionalProperties: true, and the description does not explain what properties to include. Although schema coverage is 100% trivially, the description adds no value for parameter semantics beyond the schema.

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 states the tool minifies HTML by stripping whitespace, comments, and redundant attributes, which is a specific verb and resource. It distinguishes itself from sibling tools like CSS minifier and JS minifier by explicitly mentioning HTML.

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 implies usage for minifying HTML to improve page load speed but does not provide explicit guidance on when to use this tool versus alternatives. It mentions using describe_tool for full guidance, but the description itself lacks contextual cues.

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/Jambozx/onlinecybertools-mcp-server'

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