Skip to main content
Glama
viewer-mcp

viewer-mcp

by Akhil7199

update_object

Modify an object's color, position, scale, or name in a live three.js scene; only the fields you pass are changed.

Instructions

Change an object's color, position, scale or name. Only the fields you pass change.

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": {
      "id": "<id>"
    },
    "name": "update_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesObject id from list_objects, e.g. obj_3
nameNo
colorNoHex color like #ff8800. Convert color names to hex yourself.
scaleNo
positionNo[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.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose important partial-update semantics ('only the fields you pass change'), which is the key behavioral trait, but says nothing about permissions, what happens with an invalid id, or whether scale/position are absolute values.

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, front-loaded with the action and followed by the most important caveat. No filler.

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 five-parameter mutation tool with no annotations and no output schema, the description is adequate but thin. It omits scale units/semantics and any failure or permission behavior, leaving gaps an agent would have to guess at.

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 60%: id, color, and position are documented in the schema, but scale and name constraints are not explained in the description either. The description's field list mirrors the schema keys without adding format or unit details, so it neither helps nor hurts beyond the schema.

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 names a specific verb ('Change') and resource ('an object') and enumerates the mutable fields: color, position, scale, name. This is clearly distinguishable from add_object/remove_object/set_camera, though it does not explicitly contrast itself with any sibling.

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 guidance on when to use this versus siblings (e.g., set_camera vs position changes) or on prerequisites such as obtaining the id from list_objects. The only conditional statement, 'Only the fields you pass change,' is behavioral rather than selection guidance.

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