Skip to main content
Glama

Render page

render_page

Compose selected UI components into a standalone HTML page with base styles, Lato font, and deduped CSS/JS. Optionally write it to a specified file path.

Instructions

Compose components into one standalone HTML page (base styles, Lato font, per-component CSS/JS deduped). sections defaults to the full homepage order. Optionally write the result to outputPath.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNo
extraCssNoCSS appended after component styles
sectionsNoDefaults to ["header","announcement-bar","hero-video","mission","pillars","testimonials","news-grid","footer","legal-bar"]
outputPathNoIf set, the HTML is written to this file path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, and the description usefully explains the non-read side effect: it only writes when outputPath is set. It also adds real behavioral context (dedupe of per-component CSS/JS, base styles, font). However, it never addresses whether an existing file at outputPath is overwritten, which is the key risk for this mutation, so it stops short of full 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?

Three short sentences, front-loaded with the core action, then defaults, then the optional write. Every clause carries information; nothing is redundant padding.

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?

No output schema exists, and the description implicitly conveys a return value (the composed HTML, unless written to disk). Combined with the defaults and the dedupe/composition notes, an agent has enough to call it. The unaddressed 'title' parameter and overwrite semantics keep it from being fully complete.

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

Parameters3/5

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

Schema coverage is 75%, so most parameters are already documented in the schema (extraCss, sections default array, outputPath). The description largely restates those ('sections defaults to the full homepage order', 'optionally write the result to outputPath') and leaves 'title' unexplained in both places. Baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb and resource ('compose components into one standalone HTML page') plus the concrete output traits (base styles, Lato font, deduped CSS/JS). This is clearly distinct from the read-oriented siblings (get_component, list_components, get_design_tokens), so an agent can route to it without ambiguity.

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

Usage Guidelines2/5

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

The description never says when to call this versus gathering components with the sibling tools, nor what prerequisites exist (e.g. components must first be resolved). It mentions the sections default, which is parameter behavior rather than usage guidance. No exclusions or alternatives are named.

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