Skip to main content
Glama

export_drawing

Export a DrawFather drawing to SVG, PNG, JPG, WebP, or vector PDF and get revision-specific file paths. Enable inline for an SVG text or PNG preview.

Instructions

Write SVG/PNG/JPG/WebP/vector PDF and return revision-specific paths. inline:false by default. Opt into inline:true for SVG text or a PNG preview; previewOptions controls the inline raster view without changing the exported file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesExact drawing file stem, without the .drawfather extension. Preserve the user-requested name; this is separate from design.title.
formatNopng
inlineNo
stableNo
optionsNo
previewOptionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, so the agent already knows this is a non-destructive write. The description usefully clarifies that inline preview (and previewOptions) does not alter the exported file, which is genuine added context, but it says nothing about where files land, overwriting behavior, or auth requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences with the core action front-loaded and no filler. The shift from output formats to inline/previewOptions is slightly abrupt but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 6 parameters, two nested objects, no output schema, and near-zero schema coverage, the description is far too thin. It does mention revision-specific return paths, which helps fill the missing output schema, but leaves the options object, stable, and format semantics entirely unspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 17%, so the description bears most of the explanatory burden, yet it only touches inline and previewOptions. The stable flag, the entire options object (page, frame, scale, margin, metadata, textMode, landscape, background), and the format parameter receive no semantic explanation anywhere.

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?

States a specific verb (write/export) and enumerates the resource formats (SVG/PNG/JPG/WebP/vector PDF) plus the returned artifact (revision-specific paths). It is clearly distinguishable from most siblings, but it never names or contrasts with the closest alternative, export_interchange.

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

Usage Guidelines2/5

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

The description explains the inline default and opt-in behavior, which is parameter-level guidance rather than tool-selection guidance. It gives no indication of when to export versus preview_drawing or export_interchange, nor any prerequisites for exporting.

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