Skip to main content
Glama

render_component

Render a catalog component in your running app, capture a screenshot, and return runtime diagnostics including console errors and failed network requests to visually confirm changes work.

Instructions

Render a catalog component in the running app and return a screenshot plus runtime diagnostics (console errors, uncaught exceptions, failed network requests). Resolves the component to its URL automatically via the route map — just name the component you changed. Use this to visually confirm a change actually works. Requires the dev server to be running.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
routeNoOptional: render a raw route path directly instead (e.g., "/patients/:id"). Use instead of `component`.
paramsNoValues for dynamic route segments, e.g. {"id": "123"}. If omitted, sensible placeholders are guessed.
publicNoSkip the configured login pre-step for this call — use for public routes so a broken/missing credential can't block them (default false).
fullPageNoCapture the full scrollable page instead of just the viewport (default false).
settleMsNoExtra milliseconds to wait after load before screenshotting (e.g. for animations).
componentNoCatalog component name to render (e.g., "PatientDetail"). The route map resolves it to a URL.
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the outputs (screenshot and diagnostics) and the requirement of a running dev server. However, it does not mention whether the tool has any side effects (e.g., modifying state) or authentication requirements.

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 concise (4 sentences) and front-loaded with the primary action. Every sentence adds value, including the purpose, output, mechanism, use case, and requirement.

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 the complexity (6 parameters, no output schema, no annotations), the description explains the main outputs and prerequisite but lacks details on the exact return format (e.g., media type of screenshot, structure of diagnostics) and error handling.

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?

The input schema has 100% coverage with detailed descriptions for each parameter. The tool description itself does not add any additional meaning beyond what the schema provides, so the baseline score is appropriate.

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 catalog component and returns a screenshot plus runtime diagnostics. It distinguishes from siblings by mentioning automatic route resolution via the route map and focusing on visual verification of a component change.

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 explicit context on when to use the tool (to visually confirm a change works) and a prerequisite (dev server running). However, it does not explicitly state when not to use it or list alternatives among 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/calebsjames/atlas-ui-mcp'

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