Skip to main content
Glama

unreal_set_widget_size

Sets the size of a widget in Unreal Engine, enabling AI clients to adjust UI layouts programmatically during project editing.

Instructions

Set widget size.

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": {
      "params": "<params>"
    },
    "name": "unreal_set_widget_size"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.8/5.0
Behavior2/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 of behavioral disclosure and fails to meet it. It never states that this mutates the widget, whether the change is immediate/persistent, whether the widget must exist first or be added to a viewport, or what units are expected — all critical for a mutating tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

At three words the text is not verbose, but it is under-specified rather than concise: there is no structure to front-load and every piece of information needed to invoke the tool correctly is absent. Brevity here reflects missing content, not efficiency.

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

Completeness1/5

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

Although an output schema exists, the description does not cover the essentials for a mutation tool with one opaque parameter and no annotations. An agent reading this definition knows only that some widget size gets set, with no idea what input shape to supply.

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

Parameters1/5

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

There is one required parameter ('params') that is an untyped object with 0% schema description coverage and no defined properties. The description compensates with nothing — it does not say whether params should contain a widget reference, width, height, or a size vector — leaving the agent unable to construct a valid call.

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

Purpose2/5

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

"Set widget size" only restates the tool name (unreal_set_widget_size) in prose form. It names a verb and resource, so it is not misleading, but it adds no information an agent could not get from the identifier itself and gives no clue about what 'size' means (width/height, scale, pixels vs. slate units).

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of the obvious siblings such as unreal_set_widget_position or unreal_set_widget_property that an agent must choose between when resizing vs. repositioning a widget. The implied usage (adjust a widget's dimensions) is all an agent can infer.

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

Deploy Server

Other Tools