Skip to main content
Glama

set_vertex_weight

Assign vertices to a vertex group with a specified weight for manual skinning, creating the group if it does not exist.

Instructions

Assign vertices to a vertex group (created if missing) with a weight, for manual skinning.

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": {
      "mesh": "<mesh>",
      "group": "<group>",
      "vertices": "<vertices>"
    },
    "name": "set_vertex_weight"
  }
}

Input Schema

NameRequiredDescriptionDefault
meshYes
groupYes
weightNo
verticesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one important side effect: the vertex group is created if missing. That is genuine behavioral value. It omits other relevant traits for a scene mutation, such as weight range/validation (the schema only defaults to 1), whether existing weights are overwritten, and whether the operation is undoable.

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?

A single front-loaded sentence with the action first and the use case last; every clause carries information and nothing is padded.

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 mutation tool with no annotations, no output schema, and 0% schema description coverage, the description is too thin. An agent still cannot tell what 'mesh' expects, what range 'weight' accepts, or what is returned, which are the details most likely to cause a failed or wrong call.

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 0%, so all four parameters are bare titles and the description must compensate. It adds meaning for 'group' (auto-created if missing) and hints at 'weight' semantics, but leaves 'mesh' unexplained (object name vs. data block) and never states the valid weight range or the vertex index basis.

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?

The description names a specific verb (assign) and resource (vertices to a vertex group) plus the weight value, which is far more informative than the tool name alone. It does not need to distinguish itself from siblings since none of the listed siblings (bind_mesh, add_modifier, etc.) perform weight painting, but it also makes no explicit differentiation.

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?

The trailing clause 'for manual skinning' implies the workflow context in which this tool belongs, which is more than nothing. However, it gives no when-not guidance, no mention of alternatives for automatic weighting, and no prerequisites such as the mesh needing to be in the right mode or selected.

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