Skip to main content
Glama
mastergo-design

MasterGo Magic MCP

Official

mcp__getDesignSvgs

Retrieve cached SVG HTML strings for icons by providing a file ID and layer ID or a short link. Insert the SVG HTML directly into HTML to display icons.

Instructions

After fetching ALL sections via mcp__getDesignSections, call this tool to retrieve all cached SVG HTML strings. Each PATH node in the DSL has an id. Look up that id in the returned svgs map to get the complete SVG string. Insert the svgHtml string directly into HTML where icons should appear.

You can provide either:

  1. fileId and layerId directly, or

  2. a short link (like https://{domain}/goto/LhGgBAK)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileIdNoMasterGo design file ID. Required if shortLink is not provided.
formatNoOutput format for design data. Defaults to json. - json — default; useful when piping output into tools that expect JSON. - yaml — fewer tokens than JSON for typical designs. - tree — experimental compact format. Structural keys (id, name, type) are encoded positionally on each node line, and style values stay deduplicated in a globalVars block. Designs with heavy style reuse see the largest token savings.
layerIdNoRoot layer ID of the design. Required if shortLink is not provided.
shortLinkNoShort link (like https://{domain}/goto/LhGgBAK).
sourceLayerIdNoSource layer ID from URL parameter source_layer_id. When provided, use this instead of layerId for all queries.
Behavior4/5

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

Since there are no annotations, the description bears full responsibility. It states the tool retrieves cached data, implying a read-only operation with no destructive side effects. It also describes the caching behavior and the mapping from path IDs to SVG strings. No contradictory or missing critical traits.

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?

The description is relatively concise with a few focused sentences. The most important information (prerequisite, purpose, and usage) is front-loaded. No unnecessary words or repetition, though it could be slightly shortened.

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?

Given no output schema, the description sufficiently covers the return format (map of ids to SVG strings) and how to integrate into HTML. It also mentions caching. Missing some error conditions (e.g., if sections not fetched) but overall adequate for the complexity.

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?

With 100% schema description coverage, the baseline is 3. The description reiterates the two invocation methods (fileId+layerId vs shortLink) already present in the schema, and does not add new insights or constraints beyond what the schema 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 explains that the tool retrieves cached SVG HTML strings after fetching design sections. It mentions the prerequisite tool (mcp__getDesignSections) and how to use the output (look up id in svgs map, insert svgHtml). However, it does not explicitly differentiate from sibling tools like mcp__extractSvg, which might also deal with SVGs.

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?

Provides explicit usage sequence: call after mcp__getDesignSections. Also offers two input alternatives (fileId+layerId or shortLink) and explains how to use the returned data. Lacks when-not-to-use or alternative comparisons, but the guidance is clear and actionable.

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/mastergo-design/mastergo-magic-mcp'

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