Skip to main content
Glama

set_vertex_color

Assign RGBA colors to specific vertices or loops of a mesh color attribute, targeting selected indices or the entire object.

Instructions

Set color on vertices/loops of a color attribute.

Args: object_name: Target mesh object. attribute_name: Name of the color attribute. color: RGBA color [R, G, B, A] (0-1). indices: Specific loop/vertex indices to color. None = all.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorNo
indicesNo
object_nameYes
attribute_nameNoColor

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden and does add useful context: color values are RGBA in 0-1 and indices=None means all. However, it does not disclose side effects such as whether an existing attribute is overwritten, whether a missing attribute is created, or what happens with invalid indices.

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 purpose sentence is front-loaded and the Args block is compact with no filler. Every line contributes either operation context or parameter meaning.

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?

The parameter list is complete for invocation, but for a mutation tool with no annotations and no output schema, the description omits important context like asset requirements (does the color attribute need to exist?), defaulting behavior, and potential failure modes. An agent could call it, but not with full confidence about side effects.

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

Parameters5/5

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

Schema description coverage is 0%, and the description fully compensates by documenting all four parameters with meaning, types, and defaults: target mesh object, color attribute name, RGBA range, and the None=all behavior for indices. This goes well beyond the bare schema properties.

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?

The description opens with a specific verb+resource: 'Set color on vertices/loops of a color attribute.' This clearly distinguishes the tool from material/shader-related siblings like set_material_property or add_shader_node, so an agent can tell what it operates on without inspecting the schema.

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 about when to choose this over alternatives, no when-not-to-use conditions, and no reference to related tools such as add_color_attribute or enter_vertex_paint. The parameter notes describe argument semantics, not usage context.

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