Skip to main content
Glama
PavelGuzenfeld

mcp-media-forge

render_html_page

Render a styled HTML page from body content using a design system with themes, cards, grids, and navigation. No Docker required.

Instructions

Render a self-contained themed HTML page from body content. No Docker required. Wraps your HTML in a design system with typography, depth tiers, cards, grids, KPIs, badges, and section navigation. IMPORTANT: body_html is the INNER content only — do NOT include , , or tags. Use mf- prefixed CSS classes: mf-hero, mf-elevated, mf-card, mf-grid, mf-kpi, mf-badge-success, etc. Themes: swiss (clean docs), midnight (presentations), warm (reports), terminal (dev content). Call get_tool_guide('html_page') for design system reference and examples.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
themeNoVisual theme: swiss=clean docs, midnight=dark editorial, warm=cream reports, terminal=dev monospaceswiss
titleYesPage title (shown in header and browser tab)
body_htmlYesHTML body content (inner content only, no <html>/<head>/<body>). Use mf- prefixed classes for styling.
descriptionNoPage description (shown below title and in meta tag)
nav_sectionsNoSection names for floating navigation. Must match id attributes on <section> elements in body_html.
Behavior4/5

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

No annotations provided, so description carries full burden. It reveals that the tool wraps HTML in a design system, requires specific mf- prefixed CSS classes, and warns against including outer tags. It also mentions the themes and references get_tool_guide for details. No discussion of auth or rate limits, but those are less critical for a rendering 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?

The description is a single, well-structured paragraph with no redundant information. Key points are front-loaded (what it does, no Docker) and all details are relevant. Every sentence adds value, making it concise yet comprehensive.

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?

The tool has 5 parameters and no output schema. The description covers the main input constraints and provides a reference for more details. It could have mentioned the return value format (a complete HTML string), but overall it is sufficiently complete for the tool's simplicity and supported by the schema.

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?

Schema coverage is 100%, but the description adds value by explaining usage beyond schema: e.g., body_html is 'inner content only', themes are expanded with contexts, nav_sections must match id attributes. This clarifies semantics beyond the schema descriptions.

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 renders a self-contained themed HTML page from body content, mentioning key features like themes and CSS classes. It distinguishes from sibling tools like render_mermaid or render_slides by focusing on HTML page rendering and referencing get_tool_guide for design system details.

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?

The description provides clear when-to-use guidance (rendering a themed HTML page) and notes no Docker required. It gives important instructions about body_html content. However, it does not explicitly exclude use cases or list alternatives beyond the sibling tools.

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/PavelGuzenfeld/mcp-media-forge'

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