Skip to main content
Glama

pictify_create_canvas_image

Generate images from FabricJS canvas JSON data with variable substitution. Render canvas designs directly without saving as templates first.

Instructions

Generate an image from FabricJS canvas JSON data with optional variable substitution. Use this when you have a FabricJS canvas design (created in the Pictify visual editor or programmatically). Templates in Pictify are built using FabricJS — this endpoint lets you render canvas JSON directly without saving it as a template first. For rendering a saved template, use pictify_render_template instead. Returns the hosted image URL (CDN-backed).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fabricJSDataYesFabricJS canvas JSON object. This is the serialized canvas data from FabricJS (canvas.toJSON()). Contains objects array with shapes, text, images, and their properties.
variablesNoVariables to substitute into the canvas elements that have variable bindings.
variableDefinitionsNoVariable definitions describing the types and defaults for each variable.
widthNoOutput image width in pixels. If omitted, uses the canvas width.
heightNoOutput image height in pixels. If omitted, uses the canvas height.
fileExtensionNoOutput image formatpng
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the return value ('Returns the hosted image URL (CDN-backed)') which is helpful, but doesn't address important behavioral aspects like authentication requirements, rate limits, error conditions, or whether this is a synchronous/async operation. The description adds some value but leaves significant gaps.

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 efficiently structured with three sentences that each earn their place: first states the core purpose, second provides usage context and sibling differentiation, third specifies the return value. No wasted words, front-loaded with the most important information.

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?

For a tool with 6 parameters (including complex nested objects), no annotations, and no output schema, the description is reasonably complete but has gaps. It covers purpose, differentiation, and return format, but lacks information about authentication, error handling, performance characteristics, and detailed behavioral expectations that would be important for an image generation tool.

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?

With 100% schema description coverage, the schema already documents all 6 parameters thoroughly. The description adds minimal parameter semantics beyond the schema - it mentions 'optional variable substitution' which relates to the variables parameter, but doesn't provide additional context about parameter interactions or usage patterns. This meets the baseline for high schema coverage.

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 specific action ('Generate an image from FabricJS canvas JSON data') and resource ('canvas JSON data'), distinguishing it from sibling tools by explicitly contrasting with 'pictify_render_template' for saved templates. It provides concrete context about FabricJS and Pictify's visual editor.

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?

The description explicitly states when to use this tool ('when you have a FabricJS canvas design... without saving it as a template first') and when not to ('For rendering a saved template, use pictify_render_template instead'). It provides clear alternatives and context about the workflow.

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/pictify-io/mcp'

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