Skip to main content
Glama

Export / convert designs

export_design

Export design frames as PNG, JPG, SVG, PDF, or WEBP, or convert .fig, .sketch, .penpot, and .svg files into editable .figcraft outputs without altering source files.

Instructions

Export the frames of one or many designs as PNG, JPG, SVG, PDF or WEBP (one file per top-level frame), or convert .fig / .sketch / .penpot / .svg files to editable .figcraft. Inputs are never changed; outputs go next to each input or into output_dir.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "export_design"
  }
}

Input Schema

NameRequiredDescriptionDefault
scaleNo
framesNoOnly these top-level frames (names or ids).
formatsNo
input_dirNoEvery design file directly in this folder.
overwriteNo
output_dirNo
input_pathsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only assert readOnlyHint=false and destructiveHint=false; the description adds meaningfully that inputs are never modified and that outputs land next to each input or in output_dir, which explains why a write tool is non-destructive. It does not mention overwrite behavior or failure handling for existing files, which matters for a file-writing tool.

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 tight sentences: the primary capability and format list come first, then the conversion alternative, with the non-mutation and output-location guarantees last. Every clause carries new information and there is no filler.

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 7-parameter, zero-required file-writing tool with no output schema, it covers purpose, formats, conversion mode, safety, and output placement well. It remains incomplete on scale and overwrite semantics and on what actually gets returned (e.g., output paths or status) so an agent cannot fully predict the call's results.

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 description coverage is only 29% across 7 parameters, so the description must compensate and only partly does: it clarifies formats, output_dir, and implies frames ('top-level frame') and input_paths/input_dir ('one or many designs', 'each input'). It says nothing about scale (default 2, max 8) or overwrite (default false), leaving two high-impact parameters undocumented in both places.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Export the frames of one or many designs') and enumerates the exact output formats (PNG, JPG, SVG, PDF, WEBP), plus a second conversion mode to .figcraft. The 'one file per top-level frame' detail makes the output unit unambiguous. It never names a sibling such as render_design, so it stops short of full sibling differentiation.

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?

It clearly separates the two usage modes — rasterizing/vector-exporting frames versus converting .fig/.sketch/.penpot/.svg source files to editable .figcraft — which tells an agent which mode applies. There are no explicit exclusions or named alternatives (e.g., when to prefer render_design for previews), so the guidance is contextual rather than complete.

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