Skip to main content
Glama
BlenderMCP

BlenderMCP

by szichedelic

set_vertex_group

Create or modify a vertex group on a mesh object by adding, replacing, or removing vertices with specified weights for targeted mesh control.

Instructions

Create or modify a vertex group on a mesh object.

Parameters:

  • object_name: Name of the mesh object

  • group_name: Vertex group name (created if doesn't exist)

  • vertex_indices: List of vertex indices to add/modify

  • weight: Weight value 0-1 (default: 1.0)

  • action: REPLACE, ADD, SUBTRACT, or REMOVE (default: REPLACE)

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_name": "<object_name>",
      "group_name": "<group_name>",
      "vertex_indices": "<vertex_indices>"
    },
    "name": "set_vertex_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNoREPLACE
weightNo
group_nameYes
object_nameYes
vertex_indicesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.5

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations at all, the description carries the full behavioral burden. It does disclose one important side effect — the group is created when missing — and defines the default weight and default action, which is real value. However, it says nothing about whether existing weights on non-listed vertices are preserved, whether REMOVE can empty/delete the group, whether object mode or selection state is required, or what the call returns, which are material gaps for a mutation 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?

Well structured: a one-line purpose statement front-loaded, followed by a tight per-parameter list. Slight waste in restating the schema defaults (weight 1.0, action REPLACE), which the agent already has in the structured data, but nothing is bloated.

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 covers the parameter surface well but leaves out prerequisites, error conditions, and any hint of the return value. Adequate to invoke correctly, not complete enough to predict the effects of a call.

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

Parameters4/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 do the work, and it largely does: every one of the five parameters is named and explained, the action enum values are spelled out (the schema has no enum), and weight is bounded to 0-1 with a default. The only shortfall is that the interaction between action and weight (e.g. what SUBTRACT does to an existing weight) is left implicit.

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 first line gives a specific verb pair plus resource and target type: 'Create or modify a vertex group on a mesh object.' That is unambiguous and clearly distinct from every sibling in the list (set_object_transform, assign_material, add_modifier, etc.), none of which touch vertex groups.

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

Usage Guidelines3/5

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

Usage is only implied: the action list (REPLACE, ADD, SUBTRACT, REMOVE) hints at the four operating modes, and 'created if doesn't exist' tells the agent it can be called without prior setup. But there is no explicit when-to-use guidance, no prerequisite stating the object must be a mesh, and no mention of required mode/context or what happens if indices are invalid.

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