Skip to main content
Glama

export

Save one screen or all screens as PNG, SVG, or HTML files to the workspace output folder for deterministic wireframe renders.

Instructions

Export one screen or all screens to workspace/exports. format is png, svg, or html. Example: {"format":"html"}.

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": {
      "format": "<format>"
    },
    "name": "export"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatYes
screenNoLowercase identifier matching [a-z][a-z0-9_]{0,31}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose a genuinely behavioral fact — the side effect lands in workspace/exports — which is real added context. However, it says nothing about overwrite behavior for existing files, whether permissions/auth are required, or what the tool returns (paths, count, nothing).

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 short sentences, front-loaded with the action and destination, and the example is compact and directly usable. Slight redundancy in re-listing the format enum, but nothing is wasted.

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 two-parameter export tool with no output schema and no annotations, the definition covers what is exported, the allowed formats, and the destination. It remains incomplete on the return value and overwrite/file-collision behavior, which an agent would want before invoking it repeatedly.

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?

The description adds meaning beyond the schema: 'one screen or all screens' clarifies that the optional screen parameter, when omitted, exports every screen — semantics the schema alone does not express. The format values merely restate the enum, but the example call demonstrates correct invocation shape.

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 (export) and resource (one screen or all screens) plus the destination (workspace/exports), so the agent knows exactly what the tool produces. It does not differentiate itself from plausible siblings such as render or render_flow, leaving some ambiguity about which output-producing tool to pick.

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

Usage Guidelines3/5

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

Usage is only implied: 'one screen or all screens' suggests omitting the screen parameter exports everything, which is a useful selection cue but never stated as a rule. There is no explicit when-to-use guidance, no mention of when to prefer render/render_flow, and no prerequisites.

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