Skip to main content
Glama
RBG-WebDesign

MCPBridge Server

widget_build_from_json

Builds a Widget Blueprint from a JSON widget tree, creating the asset at the specified package path and asset name, then populates the designer tree.

Instructions

Create a Widget Blueprint from a JSON widget tree using WidgetBlueprintBuilderLibrary. Creates the asset at package_path/asset_name and populates the designer tree.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asset_nameYesWidget Blueprint asset name e.g. WBP_MyWidget
widget_jsonYesWidget tree object with type, name, properties, slot, and children fields
package_pathYesContent directory path e.g. /Game/UI/Widgets
Behavior3/5

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

No annotations are provided, so the description carries the burden of disclosure. It reveals that the tool writes an asset to package_path/asset_name and populates the designer tree, which are key side effects. However, it does not disclose overwrite behavior, error conditions, or whether the asset is saved or compiled, leaving some ambiguity.

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?

Two concise sentences front-load the purpose and key side effect. The mention of WidgetBlueprintBuilderLibrary gives implementation context without noise. Every word contributes to understanding, making it highly efficient.

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 tool with 3 required parameters, full schema descriptions, and no output schema, the description covers the core purpose and destination. It lacks details about overwrite/runtime behavior and the exact structure of widget_json, but the schema covers the nesting fields, so overall it is reasonably 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?

The input schema already provides 100% coverage with clear descriptions for all three parameters (package_path, asset_name, widget_json), including an example for asset_name. The description adds minimal parameter-specific meaning, only reinforcing that package_path/asset_name determine the asset location, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool creates a Widget Blueprint from a JSON widget tree using WidgetBlueprintBuilderLibrary, and mentions the exact output location and designer tree population. This distinguishes it from sibling tools like blueprint_build_from_json and anim_blueprint_build_from_json by specifying 'Widget' blueprint.

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 context of creating a widget blueprint from JSON is clear, and the name/description implies this is the tool for widget-specific blueprint generation. However, it does not explicitly mention alternatives or when-not-to-use, such as directing general blueprints to blueprint_build_from_json.

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/RBG-WebDesign/MCPBridge-Server'

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