Skip to main content
Glama

unreal_set_viewport_camera

Sets the Unreal Engine viewport camera to a specified actor or view, enabling AI clients to position editor views for inspection or editing.

Instructions

Set viewport camera actor/view.

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_viewport_camera"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing beyond an implied mutation. It does not say what state is changed, whether the previous viewport binding is preserved or replaced, what permissions or editor context are required, or what happens on failure.

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?

One short sentence, so nothing is wasted, but the brevity comes from under-specification rather than economy. The slash-joined 'actor/view' reads as unresolved shorthand instead of a precise statement of scope.

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

Completeness2/5

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

Although an output schema exists and return values need not be explained, the input side is a black box: a single opaque params object with no documented shape and no annotations to fall back on. For a mutation tool in a crowded camera/viewport family, the definition does not give an agent enough to call it correctly.

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?

There is a single required parameter and the schema describes it as an untyped 'Params' object with no properties and 0% description coverage, so the description must compensate and does not. The name 'actor/view' hints that the payload identifies a camera actor or view, but no field names, formats, or accepted identifier types are given.

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?

The phrase 'Set viewport camera actor/view' names a verb and resource but leaves the core ambiguity unresolved: does it bind the viewport to an existing actor, switch to a named view, or something else? It gives no basis for distinguishing it from siblings like unreal_set_viewport_mode, unreal_setup_camera, or unreal_add_camera, which all touch viewport camera state.

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 mention of prerequisites, and no routing to or away from alternatives. An agent must guess whether this or unreal_add_camera/unreal_setup_camera is the right entry point for a given camera task.

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