Skip to main content
Glama

render_component

Render UI component screenshots across multiple browser engines without a dev server. Pass code to visually verify output instantly.

Instructions

Instantly render a React/Vue/HTML component and return screenshots across browser engines. Zero setup needed — just pass your code. Tailwind CSS is built-in. Use this to visually verify UI code without starting a dev server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesComponent code to render
frameworkNoFramework: html, react, vue, or sveltereact
enginesNoBrowser engines to render in. Use ["chromium","firefox","webkit"] for cross-browser check.
widthNoViewport width (px)
heightNoViewport height (px)
fullPageNoCapture full scroll height
darkModeNoRender with Tailwind dark mode (adds 'dark' class to html)
colorSchemesNoRender both: ["light","dark"] returns 2 screenshots for comparison
cssNoCustom CSS to inject (design tokens, variables, etc)
tailwindVersionNoTailwind CSS version (3 or 4)3
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It mentions zero setup and built-in Tailwind, but does not disclose what happens on code errors, how screenshots are returned (e.g., data URLs, file paths), or the number of screenshots based on engine/color scheme combinations. Adequate but incomplete.

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?

Two sentences with zero fluff: first sentence states core action, second adds key benefits (zero setup, Tailwind built-in). Every word earns its place. Size is appropriate for the 10-parameter schema.

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

Completeness3/5

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

Given 10 parameters and no output schema, description covers the main use case but omits return format details (e.g., screenshots as data URLs or base64). It does not position itself among 22 sibling tools. Adequate but not comprehensive.

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 100%, so the baseline is 3. The description adds no extra parameter-level detail beyond what the schema provides (e.g., 'Tailwind CSS is built-in' hints at framework defaults but duplicates schema info). No additional meaning is added.

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?

Description clearly states the action ('render'), the resource (component), and the output (screenshots). It also specifies supported frameworks and distinguishes from file-based tools by emphasizing inline code passing. The verb 'render' is specific and the scope is well-defined.

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?

Description includes a usage hint ('Use this to visually verify UI code without starting a dev server'), but lacks explicit when-not-to-use guidance or comparisons to sibling tools (e.g., render_file, render_grid). Usage context is implied but not fully differentiated.

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/kamegoro/frameshot'

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