Skip to main content
Glama
code-and-crypto

inkscape-mcp-server

export_file

Convert SVG files to PNG, PDF, PS, EPS, or SVG with control over DPI, size, margins, area, background, and text-to-path. It verifies exported files are non-empty, preventing silent export failures.

Instructions

Export to PNG, SVG, PDF, PS or EPS with full control: dpi, size, margin, area, background, text-to-path, compression. Verifies the output exists and is non-empty, because Inkscape exits 0 on an empty export.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoExport only the object with this id.
dpiNoExport resolution in dots per inch.
areaNoWhich sub-area of the document to work on.
widthNoWidth.
heightNoHeight.
marginNoExtra space added around the result.
id_onlyNoExport only the selected id, hiding everything else.
ps_levelNoPostScript level.
area_pageNoExport the page bounds.
plain_svgNoStrip Inkscape-specific markup on SVG export.
backgroundNoBackground colour for the export.
input_pathNoSource file to read.
output_pathNoFile to write. Overwritten if it exists.
pdf_versionNoPDF version string.
area_drawingNoExport the drawing bounds rather than the page.
text_to_pathNoOutline text on export, so fonts are not required.
ignore_filtersNoSkip SVG filters when exporting.
png_compressionNoPNG compression level, 0..9.
background_opacityNoBackground opacity, 0..1.
Behavior4/5

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

No annotations are provided, so the description carries the burden, and it does substantial work by disclosing a non-obvious failure mode: Inkscape exits 0 on an empty export, so this tool verifies the output exists and is non-empty. It does not explicitly restate the overwrite behavior of output_path, but that is already documented in the schema, and the verification detail adds real value beyond the structured fields.

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 dense sentences with no filler: the first front-loads the formats and key controls, the second adds the critical verification behavior. Every sentence earns its place.

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?

The description covers the headline formats and a key failure mode, which is useful for a tool with 19 optional parameters. However, it leaves important context implicit: how the export format is selected (presumably by output_path extension) and what the default export scope is when no area/id/margin options are provided. With no output schema and no annotations, a bit more orientation would make this fully complete.

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 description groups parameters into meaningful categories (dpi, size, margin, area, background, text-to-path, compression) which aids orientation, but it does not add semantic details beyond what the schema already provides.

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 names the action ('Export') and the target resource formats ('PNG, SVG, PDF, PS or EPS'), and it gives a concrete sense of the tool's capability with 'full control' and its option list. It does not explicitly differentiate from sibling tools like export_batch or export_preview, so the distinction is implied rather than stated.

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?

There is no explicit guidance on when to use this tool versus export_batch or export_preview, nor any exclusion criteria. The phrase 'with full control' hints that this is the more configurable single-file export path, but the agent is left to infer the routing decision.

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/code-and-crypto/inkscape-mcp-server'

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