Skip to main content
Glama
shotluma-design-mcp

shotluma-design-mcp

by Aana11

Export design

export_design

Exports design pages as exact-size PNGs, ZIPs, or re-editable project copies after running integrity checks; refuses export when asset hashes or protected-pixel fidelity fail.

Instructions

Export pages as exact-size PNGs, a ZIP of them, and/or a re-editable project copy. Runs the integrity gate (asset hashes, protected-pixel fidelity) first and refuses on errors. Writes to a new timestamped folder under exports/ unless outputDir is given; never overwrites files unless overwrite is true (only when the user asked).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
formatsNoDefault ["png"].
pageIdsNoPages to export (default all).
projectYesProject id returned by create_project/open_project in this session, or the project directory path.
zipNameNo
outputDirNoOutput folder (inside an allowed directory).
overwriteNo
verifyFidelityNoPixel-verify protected layers (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose several important behavioral traits: an integrity gate on asset hashes and protected-pixel fidelity that refuses on errors, non-destructive timestamped output folders, and a default no-overwrite policy. However, it omits the cost/time implications of the integrity check, whether partial output survives a refused run, and any notion of permissions or allowed-directory enforcement that 'inside an allowed directory' hints at in the schema.

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?

Three sentences, each carrying distinct information: outputs, integrity gate, and write policy. The most decision-relevant fact (what gets produced) is front-loaded, and no sentence is padding.

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

Completeness4/5

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

For a seven-parameter, file-producing tool with no output schema and no annotations, the description covers the essentials: what is produced, what safety checks run, where files land, and whether existing files are at risk. The main residual gap is the uninstructed zipName parameter and any note on how a refused export surfaces to the caller.

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

Parameters4/5

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

Schema coverage is 71% and five of seven parameters already have schema descriptions, so the baseline is 3, but the prose adds genuine meaning beyond the schema by explaining the default for outputDir and the semantics of overwrite ('never overwrites unless overwrite is true, only when the user asked'). It also clarifies that formats are combinable ('and/or'), which the enum array alone does not convey; zipName is left unexplained 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 leads with a specific verb and resource ('Export pages as exact-size PNGs, a ZIP of them, and/or a re-editable project copy'), which tells an agent exactly what artifacts come out of this tool. It stops short of naming how it differs from a sibling such as render_preview, so the boundary with other output-producing tools must be inferred.

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 provides concrete default behavior for output location ('new timestamped folder under exports/ unless outputDir is given') and an explicit policy gate for overwrite ('only when the user asked'), which is real when-to-use guidance. It does not state when an agent should prefer this over render_preview or validate_design, though no false alternatives are implied.

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