Skip to main content
Glama
DmitriyGolub

threejs-devtools-mcp

by DmitriyGolub

set_material_property

DestructiveIdempotent

Set a Three.js material property like color, roughness, or wireframe for runtime preview. Ask the user if changes should be temporary or persistent in source code.

Instructions

Set a material property (color, roughness, wireframe, etc.). IMPORTANT: This is a runtime-only preview (lost on reload). Before calling, ASK the user whether they want a runtime preview or a persistent code change.

Runtime preview — lost on page reload. You MUST ask the user first: runtime preview only, or also update source code?

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoMaterial name or object/mesh name that owns the material
uuidNoMaterial UUID
propertyYesProperty name: color, emissive, roughness, metalness, opacity, transparent, wireframe, visible, side, depthWrite, depthTest, alphaTest, flatShading, fog
valueNoNew value (hex string for colors, number for scalars, boolean for flags)
Behavior4/5

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

Annotations already indicate destructive and idempotent. The description adds crucial context: the effect is temporary (lost on reload), which is beyond what annotations provide. No contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is somewhat repetitive (two paragraphs restating the same key point about runtime preview and asking user). Could be more concise by merging them.

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

Completeness4/5

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

Given the tool has 4 parameters with full schema descriptions and no output schema, the description adequately explains purpose and usage caveats. Missing explicit connection to sibling tools, but the limitation and user interaction are well covered.

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 covers all parameters with descriptions (100% coverage). The tool description does not add significant meaning beyond the schema; it only reiterates property examples that are already in the schema.

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?

Clearly states the tool sets a material property (color, roughness, wireframe, etc.). Differentiates from siblings by emphasizing it is runtime-only, not persistent. Verb + resource is explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly instructs to ask the user before calling whether they want a runtime preview or persistent change. Clearly sets the boundary for when to use this tool. However, does not name an alternative tool for persistent changes.

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/DmitriyGolub/threejs-devtools-mcp'

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