Skip to main content
Glama

setCamera

Position the camera and define its viewing target to control perspective in 3D scenes. Specify coordinates for location, focus point, and field of view to adjust scene visualization.

Instructions

Set the camera position and look-at target.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
positionNoCamera world position
targetNoPoint the camera looks at
fovNoVertical field of view in degrees
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool sets camera properties but doesn't mention whether this is a persistent change, requires specific permissions, affects other scene elements, or has side effects like triggering animations. This leaves significant gaps for a mutation tool.

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, efficient sentence that front-loads the core action and resource. There is no wasted language, and it directly communicates the tool's function without unnecessary elaboration.

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?

For a mutation tool with no annotations and no output schema, the description is insufficient. It doesn't explain what happens after setting the camera (e.g., immediate view change, persistence), error conditions, or integration with sibling tools like 'animateObject'. More context is needed given the complexity of 3D scene manipulation.

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%, with clear descriptions for 'position', 'target', and 'fov'. The description adds no additional meaning beyond the schema, such as default values, units beyond degrees for 'fov', or constraints on coordinate ranges. Baseline 3 is appropriate when the schema does the heavy lifting.

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 action ('Set') and the resource ('camera position and look-at target'), making the purpose immediately understandable. It doesn't differentiate from siblings like 'flyToObject' or 'takeScreenshot', which would require more specificity about when to use each camera-related tool.

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 on when to use this tool versus alternatives like 'flyToObject' or 'setEnvironment'. The description lacks context about prerequisites, such as whether a scene must be loaded first, or exclusions for when other tools might be more appropriate.

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/m-ai-geXR/mcp-webgpu'

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