Skip to main content
Glama
vino3dx
by vino3dx

constraint_set_weight

Destructive

Set a constraint target's weight (0-100) to control its influence relative to other targets in a multi-target constraint.

Instructions

设置约束中某个目标的权重(0-100,与 UI 一致)。多个目标混合时靠它分配影响力。 [English] Set the weight (0-100, like the UI) of a target in a constraint. With multiple targets this distributes influence between them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
weightYes新权重(0-100)。 | New weight (0-100).
objectsNo对象名列表;省略则用当前选择。 | Object names; omit for the current selection.
propertyYes属性:position / rotation / scale 等带约束的轨道。 | Property: position / rotation / scale or other constrained track.
targetIndexYes目标在约束中的序号(从 1 起)。 | Target index in the constraint (1-based).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, covering the mutating nature. The description adds the conceptual effect of distributing influence but not additional side effects, prerequisites, or failure behavior, providing only modest value beyond the annotations.

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 description is compact, front-loads the main action and range, and uses a clean bilingual format without unnecessary elaboration. Every sentence contributes meaningful guidance.

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 simple mutating setter, the description plus 100% schema coverage and destructive annotation provides the essential call information. It does not mention return values or error behavior for invalid indices, but that is a minor gap for this operation.

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%, with each parameter already documented in the input schema. The description mostly repeats the weight range already present in the schema and adds no significant new parameter-level meaning, so the baseline 3 applies.

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 states the specific operation (setting a weight) and resource (a target within a constraint), and clarifies the 0-100 scale and influence-distribution behavior. Sibling differentiation is implicit through the constraint context but no sibling tools are explicitly distinguished, 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 Guidelines4/5

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

It gives a clear usage context: with multiple targets, the weight distributes influence between them. It does not state when NOT to use it or name alternatives such as constraint_list for inspection, so exclusions are absent.

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