Skip to main content
Glama

export_design_document

Export design documents to SVG, PNG, JPG, or multi-page PDF. Refuses export if automated QA fails, and writes files only within the configured export root for security.

Instructions

Export a design document to SVG, PNG, JPG, or multi-page PDF. Export is refused when automated QA fails. Files are written inside the configured export root only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
widthNoOutput pixel width
formatYesExport format
documentYesDesign document to export
fontFilesNoAbsolute font file paths for deterministic text rendering
outputDirectoryYesDirectory for exported files, resolved inside the configured output root
transparentBackgroundNoPNG only. Keep alpha instead of flattening onto the page background
Behavior4/5

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

With no annotations, the description carries the full burden and does add meaningful behavioral context: 'Export is refused when automated QA fails' and 'Files are written inside the configured export root only'. It does not disclose return value, overwrite behavior, or permission requirements, but the disclosed constraints are valuable.

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 two sentences: the first states the action and formats, the second states two key constraints. It is front-loaded, concise, and every sentence contributes valuable information without redundancy.

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 complex input schema and no output schema, the description would benefit from explaining what the export returns (e.g., file paths) and reconciling the format list with the schema enum. The QA refusal and output root constraints are helpful, but important behavioral aspects like return value and handling of existing files are omitted.

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 100%, so the baseline is 3. The tool description does not add parameter semantics beyond the schema, and the format list in the description only includes a subset of the schema's enum values, which could cause confusion about valid format parameters.

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 clearly states the action (export), resource (design document), and formats, distinguishing it from sibling tools. However, the format list 'SVG, PNG, JPG, or multi-page PDF' is a subset of the schema enum (which also includes pptx, gif, mp4), creating a potential mismatch that could mislead an agent about supported formats.

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 clear context for using this tool to export design documents, and there is no other export sibling tool, so the usage is implicitly distinct. It does not explicitly mention when not to use it or name alternatives, but the purpose is sufficiently clear to guide tool selection.

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/Doyajin174/teguma'

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