Skip to main content
Glama

edit_mesh_operation

Apply common edit-mode mesh operations—smooth vertices, poke faces, split edges, create wireframe, or solidify—to an object or current selection for geometry refinement.

Instructions

Run one of the common edit-mode operations on a mesh.

Args: object_name: Mesh object. operation: One of: SMOOTH_VERTICES (relax lumpy geometry: factor, repeat), POKE (a new vertex in the middle of each face, fanned into triangles: offset pushes it along the normal), EDGE_SPLIT (separate faces along their edges, for hard edges), WIREFRAME (turn every edge into a strut: thickness), SOLIDIFY (give faces thickness, e.g. a plane into a slab: thickness). selection: ALL, or CURRENT for the part chosen with the select_* tools. factor: SMOOTH_VERTICES strength, 0.0 to 1.0. repeat: SMOOTH_VERTICES passes, 1 to 100. offset: POKE distance along the face normal, -100 to 100. thickness: WIREFRAME and SOLIDIFY thickness, 0.0001 to 1000.

Returns: Dict with the operation and the mesh's vertex and face counts after it.

Input Schema

NameRequiredDescriptionDefault
factorNo
offsetNo
repeatNo
operationYes
selectionNoALL
thicknessNo
object_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden and does a good job: it describes each operation's effect, parameter applicability, valid ranges, selection scoping, and return summary. It stops short of explicitly stating prerequisites such as edit-mode/active-object requirements or whether changes are undoable, but the mutation behavior is otherwise well disclosed.

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 front-loaded with a clear one-line purpose, then uses structured Arg and Returns sections. Despite covering seven parameters and five operations, every line provides useful information without repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a seven-parameter mutation tool with no annotations and a schema that lacks parameter descriptions, the description supplies operation semantics, parameter meanings and ranges, selection behavior, and a return summary. It is complete enough for an agent to invoke the tool correctly, especially since an output schema also exists.

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

Parameters5/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 compensate fully. It documents all seven parameters: object_name, the operation enum with each mode's meaning, selection modes, and the operation-specific meanings and ranges for factor, repeat, offset, and thickness. This adds clear semantics beyond the bare 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?

The description states a specific verb and resource: run common edit-mode operations on a mesh. It enumerates the exact operation set and their effects, making the tool's purpose clear. However, it does not explicitly differentiate this tool from sibling mesh-edit tools such as subdivide_mesh, bevel_edges, or merge_vertices.

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 description explains what each operation does and clarifies that selection can be ALL or CURRENT based on prior select_* tools, which is useful usage context. It does not explicitly say when to use this tool versus sibling mesh operations or when an alternative operation/tool is more appropriate.

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