Skip to main content
Glama
viewer-mcp

viewer-mcp

by Akhil7199

set_camera

Move the camera to a specified position, optionally aiming at a target point that defaults to the current look-at location for scene framing.

Instructions

Move the camera. target defaults to the current look-at point.

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": {
      "position": "<position>"
    },
    "name": "set_camera"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetNo[x, y, z]; each value within ±50. y is up.
positionYes[x, y, z]; each value within ±50. y is up.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose one genuine behavioral trait not derivable from the schema: target falls back to the current look-at point when omitted. However, it says nothing about whether the move is instantaneous or animated, whether it requires an active scene or permissions, or whether camera orientation/up-vector is affected.

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 short sentences with the core action front-loaded and the non-obvious default appended. No filler, no restatement of the name or title, nothing that could be cut without losing information.

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?

For a simple two-parameter tool with fully documented schema and no output schema, the description covers the action and the one ambiguous parameter default. It is adequate but thin: an agent still cannot tell whether the move is immediate, whether position is absolute world space versus relative, or what state change results.

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

Parameters4/5

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

Schema coverage is 100%, so the coordinate format, ±50 range, and "y is up" convention are already documented. The description still adds value beyond the schema by specifying target's default resolution to the current look-at point, which the schema does not state. This is a real semantic addition rather than a repetition.

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 states a specific verb and resource ("Move the camera"), which is immediately distinguishable from the sibling set of object/scene tools. It stops short of explicitly contrasting with any named alternative, but there is no plausible confusion given the sibling names.

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 statement of when to use this tool, when not to, or what alternative exists for other camera-like operations. The only usage-adjacent information is the default behavior of target, which is a fallback rule rather than guidance about selection.

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