Skip to main content
Glama

focus_entity

Center the viewport camera on a specified entity in O3DE using its entity ID, making it quick to inspect and edit.

Instructions

Focus the viewport camera on an entity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entity_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only states the primary effect and does not indicate whether the focus operation alters persistent scene state, requires an existing viewport, or has side effects such as changing selection.

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?

The description is a single sentence with no filler, and the operative verb is front-loaded. It is concise and immediately readable.

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?

The tool is simple and an output schema exists, so return-value documentation is not required here. However, with no annotations and one sentence, the description lacks surrounding operational context—such as whether this is an editor-only camera operation or whether it affects the runtime viewport.

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 coverage is 0%, so the description must clarify the parameter. It does map entity_id to the target entity, but it adds no detail about ID format, how to obtain it, or valid values beyond what the schema already makes obvious.

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 uses a specific verb ('Focus') plus a precise resource ('viewport camera') and a target ('entity'), making the action unambiguous. It also differentiates the tool from siblings like get_viewport_camera and set_viewport_camera by describing a focus-on-entity operation rather than raw camera access.

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?

No guidance is provided about when to use this tool instead of alternatives. There is no mention of prerequisites, such as having an active viewport or loaded level, and no exclusions compared with set_viewport_camera or capture_viewport.

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