Skip to main content
Glama
saurabhav88

envious-canvas

by saurabhav88

canvas_render_layout

Idempotent

Render HTML/CSS templates or raw HTML to pixel-perfect marketing images for banners and responsive layouts.

Instructions

Render HTML/CSS templates or raw HTML to pixel-perfect marketing images.

Use when: The user explicitly asks for a designed layout, template render, banner with specific typography, or HTML/CSS composition. This is a deterministic renderer, NOT AI generation.

Do not use when: The user wants AI-generated photography or illustrations. For those, use canvas_create_image (direct or plan-based).

Example: canvas_render_layout(template="hero_banner", variables={"headline": "Launch Day"}, brand_kit_id="acme")

IMPORTANT: After this tool returns, ALWAYS open the rendered image(s) in Preview (macOS) or the system image viewer so the user can review the output. Use: open -a Preview

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Beyond annotations (idempotentHint=true), the description labels it as a deterministic renderer (not AI generation) and adds a mandatory post-invocation instruction to open the image in Preview, which is valuable behavioral guidance.

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?

Well-structured with clear sections, concise sentences, and no redundancy. Every sentence adds value, and the important post-invocation note is highlighted.

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?

Given the parameter complexity and presence of an output schema, the description covers when to use, an example, and a critical post-invocation step. Lacks error handling info, but the output schema fills return value gaps.

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?

Despite 0% schema description coverage, the schema itself has detailed property descriptions. The description adds a usage example that illustrates typical parameter combinations but does not systematically explain each parameter, so baseline 3 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 HTML/CSS to pixel-perfect images, uses a specific verb ('Render'), and distinguishes itself from AI-generation tools by naming the sibling tool canvas_create_image for those cases.

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

Usage Guidelines5/5

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

Explicit 'Use when' and 'Do not use when' sections, with direct reference to canvas_create_image for AI-generated imagery. Provides clear context and exclusion criteria.

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/saurabhav88/envious-canvas'

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