Skip to main content
Glama

Set Mesh Selection

set_mesh_selection

Replace point, polygon, or edge selections on an editable mesh by specifying indices. Clears existing selection of the chosen kind before applying new ones.

Instructions

Replace the point / polygon / edge BaseSelect on an editable mesh. Existing selection of the specified kind is cleared first. Pair with get_mesh using include:['selections'] to read the same channels back.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYesWhich selection channel to replace.
handleYesEditable target (PointObject / PolygonObject).
indicesYesIndices to mark selected.
Behavior3/5

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

The description discloses that the tool replaces the selection and clears existing selection of the specified kind first. Without annotations, this covers the core mutation behavior. However, it does not mention error handling, validation of indices, or other side effects (e.g., destructive nature beyond clearing).

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 two sentences, each earning its place: the first states the primary action and clearing behavior, the second provides a usage guideline. No waste, front-loaded with key action.

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?

Given no output schema and no annotations, the description covers the essential behavior, parameters, and complementary usage. It lacks error or validation details but is sufficient for a simple set tool. The sibling context suggests many related tools, but the pairing note helps.

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 coverage is 100% with parameter descriptions, but the description adds value by clarifying that the tool clears existing selection before setting new indices, which is not in the schema. The pairing note also adds context for the 'indices' parameter's purpose.

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 clearly states the verb 'Replace' and the resource 'BaseSelect on an editable mesh', specifying the selection kinds (point/polygon/edge) and that existing selection is cleared first. This distinguishes it from sibling tools like 'set_selection' and 'get_mesh', which are mentioned.

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 description provides explicit pairing advice: use with 'get_mesh' using 'include:["selections"]' to read channels back. This guides the agent on complementary usage. However, it does not explicitly contrast with alternatives like 'set_selection' or state when not to use this tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kumoproductions/mcp-cinema4d'

If you have feedback or need assistance with the MCP directory API, please join our Discord server