Skip to main content
Glama
mastergo-design

MasterGo Magic MCP

Official

mcp__getFlutterGenerator

Generates a complete Flutter component development workflow from MasterGo designs, including widget mapping, screen adaptation, image assets, and asset manifest.

Instructions

Users need to actively call this tool to get the Flutter component development workflow. When Flutter Generator or Flutter Component is mentioned, please actively call this tool. This tool provides a structured workflow for Flutter component development following best practices. It includes MasterGo DSL to Flutter Widget mapping rules, screen adaptation with flutter_screenutil, and feature-based architecture guidance. It also downloads all image resources from the design file to local disk, rewrites CSS and DSL references to point at Flutter asset paths, and generates an asset manifest. You must provide an absolute rootPath of workspace to save workflow files.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileIdYesMasterGo design file ID (format: file/<fileId> in MasterGo URL)
layerIdYesLayer ID of the specific component or element to retrieve (format: ?layer_id=<layerId> / file=<fileId> in MasterGo URL)
rootPathYesThe root path of the Flutter project, if the user does not provide, you can use the current directory as the root path
featureNameNoOptional feature directory name under assets/image/ and the Flutter feature module. Defaults to the root component name.
sourceLayerIdNoSource layer ID from URL parameter source_layer_id. When provided, use this instead of layerId for all queries.
Behavior3/5

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

No annotations are provided, so the description bears full responsibility. It discloses that the tool downloads images, rewrites references, and generates manifests, implying file system modifications. However, it does not state if these actions are reversible, require permissions, or have side effects like overwriting existing files.

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 a single paragraph that front-loads the activation instruction and then lists functionalities. It is reasonably concise with no redundancy, though it could be improved by using bullet points for readability.

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?

Given the tool has 5 parameters, no output schema, and moderate complexity, the description covers the workflow but lacks details on expected return values, error handling, or what happens when parameters are invalid. It is adequate but not fully comprehensive.

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 each parameter already has a description. The tool description adds no additional semantic detail beyond what's in the schema, except reinforcing the requirement for rootPath. Per guidelines, baseline is 3.

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 states the tool gets the Flutter component development workflow. It lists specific deliverables (DSL mapping, asset download, etc.), establishing a distinct purpose. However, it does not explicitly differentiate from sibling tools like mcp__getComponentGenerator, which could be confused. The purpose is clear but lacks sibling distinction.

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?

The description explicitly states when to call the tool: 'When Flutter Generator or Flutter Component is mentioned, please actively call this tool.' It also notes the requirement for an absolute rootPath. However, it does not provide alternative tools or when not to use it.

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