Skip to main content
Glama

set_layer_properties

Adjust a Substance Painter layer's visibility, opacity, and blend mode, optionally targeting a specific channel such as BaseColor.

Instructions

Set visibility, opacity, or blend mode; channel defaults to BaseColor.

Input Schema

NameRequiredDescriptionDefault
uidYes
channelNo
opacityNo
visibleNo
blending_modeNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations exist, so the description must carry the full behavioral burden. It discloses that channel defaults to BaseColor, which is useful, but says nothing about mutation semantics: whether omitted/null parameters leave values untouched, whether multiple properties can be set in one call, reversibility/undo, or required permissions. That is a significant gap for a write tool.

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

Conciseness4/5

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

A single front-loaded sentence with no wasted words. It is efficient, though the terseness comes at the cost of the missing detail captured in other dimensions.

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 five-parameter mutation tool with no annotations and no schema descriptions, the description is too thin. The output schema covers return values, but an agent still lacks target-identification semantics (uid), value formats, and mutation behavior needed to call this correctly.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It maps three optional fields (visible, opacity, blending_mode) and clarifies the channel default, but leaves uid unexplained, gives no opacity range (0–1 vs 0–100), no valid blend-mode values, no channel enumeration, and no null-handling semantics. The compensation is only partial.

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?

States a specific verb and resource ('Set layer properties') and enumerates the affected fields: visibility, opacity, blend mode, plus channel. It does not explicitly distinguish itself from nearby siblings like rename_layer, set_layer_mask, or set_active_channels, so it stops short of a 5.

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 when-to-use guidance, no exclusions, and no alternatives named. An agent must infer that this is the tool for toggling visibility/opacity/blending on an existing layer rather than one of the many other layer-mutating siblings.

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

Deploy Server

Other Tools