Skip to main content
Glama

Server Details

7 free MCP tools for optimizing HTML, JavaScript, CSS, JSON, CSV, prompts and terminal text. Lightweight, local transformations designed for AI agents and developer workflows.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A4.2/5.0

Scored across 7 tools

Disambiguation4/5

The three minify-css/html/js tools share a common 'minify markup/code' purpose but are cleanly separated by target language, and descriptions reinforce the boundaries. minify-prompt, optimize-dataset, optimize-google-tag, and strip-ansi each target distinct input types, so an agent can select reliably. Minor risk that an agent conflates 'minify' and 'optimize' operations on text-like inputs.

Naming Consistency5/5

All seven tools follow a consistent kebab-case verb_noun pattern (minify-css, optimize-dataset, strip-ansi, etc.). Two verb families (minify/optimize) are used but each is applied meaningfully and given the target noun, selection remains predictable.

Tool Count5/5

Seven tools is well-scoped for a text/code optimization toolkit. Each tool covers a distinct format or processing concern, so none feels redundant or filler.

Completeness4/5

The surface covers the main minification targets (CSS, HTML, JS, prompts) plus data cleanup, ANSI stripping, and a GA4-specific rewrite. Gaps exist for other common formats (XML/SVG/generic JSON) and there is no generic text minifier, but agents can work around these. The GA4 tool is a narrow one-off that slightly skews the otherwise format-oriented surface.

Available Tools

7 tools
minify-cssCompact CSS sourceA
Read-onlyIdempotent
Inspect

Reduce whitespace in CSS snippets. Use for basic stylesheet cleanup rather than production minification. Not a full CSS parser; visually test the result.

Inputs: code (required).

minify-htmlMinify an HTML fragmentA
Read-onlyIdempotent
Inspect

Remove comments and compact whitespace in HTML fragments. Use for small, controlled HTML snippets, not full document compilation. Returns an HTML string; preserves pre, textarea, script and style contents. Regression-test rendered output.

Inputs: html (required).

minify-jsCompact JavaScript sourceA
Read-onlyIdempotent
Inspect

Compact small JavaScript snippets. Use for basic source cleanup, not AST-aware production minification. Returns JavaScript text, sometimes unchanged for complex syntax; regression-test its behavior.

Inputs: code (required).

minify-promptReduce prompt verbosity and whitespaceA
Read-onlyIdempotent
Inspect

Normalize prompt whitespace and line breaks. Use to compact formatting before calling a model; filler phrases are not removed. Returns trimmed text with normalized spacing; review prompts where whitespace carries meaning.

Inputs: text (required).

optimize-datasetMinify small structured datasetsA
Read-onlyIdempotent
Inspect

Clean and compact JSON, JSONL or CSV rows. Use for small datasets; use is-json-safe to check JSON syntax without changes. Returns text in the selected format; trims strings, deduplicates rows and may drop mostly empty columns.

Inputs: input (required), format.

optimize-google-tagOptimize an existing Google tag snippetA
Read-onlyIdempotent
Inspect

Rebuild GA4 gtag.js markup from a G- measurement ID. Use on existing GA4 snippets, not GTM containers or consent setup. Returns replacement HTML with async loading and a config call, or original input if no G- ID exists. Review lost settings and consent.

Inputs: html (required).

strip-ansiRemove terminal ANSI escape codesA
Read-onlyIdempotent
Inspect

Strip terminal ANSI escape codes from text. Use to make colorized logs readable for indexing or display. Returns plain text without interpreting log entries.

Inputs: text (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources