Skip to main content
Glama

Set Vertex Color

set_vertex_color
DestructiveIdempotent

Paint selected, direction-facing, or all mesh faces into a color attribute for texture-free color that exports as COLOR_0, with optional material wiring.

Instructions

Paint the faces picked (faces, facing) or all into a color attribute. Returns: faces painted, materials wired, and not_wired (setups not BlenderLens's). WHEN TO CALL: for colour without textures; exports as COLOR_0.

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": {
      "object": "<object>",
      "color": "<color>"
    },
    "name": "set_vertex_color"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorYesAs base_color
facesNoIndices from get_mesh
facingNoWorld direction
objectYesName
attributeNoDefault Col, made white
toleranceNoDegrees off facing (30)
use_in_materialNoWire into its materials (true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the mutation profile is covered; the description adds the return contract (faces painted, materials wired, not_wired for setups not BlenderLens's) and the 'or all' scope when no faces are given. It does not spell out overwrite behavior on existing color data or preconditions, which keeps it below a 5.

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?

Three compact clauses ordered action, return, and when-to-call, with no wasted wording. The parenthetical 'setups not BlenderLens's' is slightly cryptic but earns its place by defining not_wired.

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?

For a 7-parameter mutation tool with no output schema, the description covers the selection mode, the return payload, and the export meaning. Remaining gaps are minor: no statement about overwriting existing attribute data or the interaction between use_in_material and existing material nodes, both of which are partly implied by the schema.

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 description coverage is 100%, so the schema already documents color, faces, facing, attribute, tolerance, and use_in_material. The description only maps 'faces, facing' to the face-selection concept and leaves the rest to the schema, matching the baseline for a well-documented 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?

States a specific verb and resource: 'Paint the faces picked (faces, facing) or all into a color attribute,' and names the target data channel (COLOR_0). It is clear this writes vertex color rather than materials or textures, though it does not explicitly contrast itself with set_material.

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?

The 'WHEN TO CALL: for colour without textures; exports as COLOR_0' clause gives an explicit selection condition and an export consequence. It stops short of naming a when-not case or an alternative tool (e.g., texture/material workflows), so it is clear context without full exclusion guidance.

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