Skip to main content
Glama

mesh_edit_geometry

Edit mesh geometry in Blender by running single or chained edit-mode operations such as extrude, inset, bevel, subdivide, and delete with smart face or vertex selections.

Instructions

Perform edit-mode geometry operations on a mesh.

Can run a single operation OR chain multiple steps in one edit-mode session.

SINGLE OPERATION: set 'operation' and 'selection'. CHAINED OPERATIONS: set 'steps' as a list of step dicts, each with 'operation', 'selection', and operation-specific params.

Operations: EXTRUDE, EXTRUDE_ALONG_NORMALS, INSET, BEVEL, SUBDIVIDE, DISSOLVE, MERGE, LOOP_CUT, SCALE, TRANSLATE, ROTATE, BRIDGE, FILL, SPIN (lathe/revolve - revolve profile around axis, params: steps, angle, axis, center), DELETE (remove selected geometry, params: delete_type=VERTS/EDGES/FACES/ONLY_FACE)

Smart selection (USE THESE instead of guessing face indices!): {"type": "face", "position": "top"} — topmost face(s) by Z {"type": "face", "position": "bottom"} — bottommost face(s) by Z {"type": "face", "position": "front"} — front face(s) (min Y) {"type": "face", "position": "back"} — back face(s) (max Y) {"type": "face", "position": "left"} — left face(s) (min X) {"type": "face", "position": "right"} — right face(s) (max X) {"type": "face", "normal": [0,0,1]} — faces pointing in direction {"type": "face", "z_greater": 0.5} — faces with center above Z {"type": "face", "z_less": 0.5} — faces with center below Z {"type": "vert", "z_range": [0.4, 0.6]} — verts in Z range {"type": "vert", "position": "top"} — topmost verts {"type": "face", "indices": "all"} — all faces {"type": "all"} — everything

Example steps for building a lamp post base: steps=[ {"operation": "EXTRUDE", "selection": {"type":"face","position":"top"}, "direction":[0,0,0.1]}, {"operation": "SCALE", "selection": {"type":"face","position":"top"}, "scale_vector":[0.8,0.8,1]}, {"operation": "EXTRUDE", "selection": {"type":"face","position":"top"}, "direction":[0,0,0.3]}, {"operation": "SCALE", "selection": {"type":"face","position":"top"}, "scale_vector":[0.6,0.6,1]}, ]

Args: object_name: name of the mesh object to edit operation: single operation name (not needed if using steps) selection: selection dict for single operation steps: list of step dicts for chained operations offset: distance for extrude operations thickness: thickness for inset depth: depth for inset width: width for bevel segments: segments for bevel cuts: cuts for loop_cut/subdivide edge_index: edge index for loop_cut orientation factor: slide factor for loop_cut (-1 to 1) direction: [x,y,z] for extrude/translate scale_vector: [x,y,z] for scale angle: radians for rotate axis: X/Y/Z for rotate

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>"
    },
    "name": "mesh_edit_geometry"
  }
}

Input Schema

NameRequiredDescriptionDefault
axisNo
cutsNo
angleNo
depthNo
stepsNo
widthNo
centerNo
factorNo
offsetNo
segmentsNo
directionNo
operationNo
selectionNo
thicknessNo
thresholdNo
edge_indexNo
delete_typeNo
object_nameYes
scale_vectorNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4/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. It does disclose that chained steps run 'in one edit-mode session' and documents the DELETE operation's destructive nature, which is useful. However, it never says whether edits are permanent/undoable, whether the object must be active or in edit mode first, or what happens on invalid selections — significant gaps for a 15-operation 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?

Front-loaded with the single-vs-chained decision, then operations, then selection syntax, then a worked example — a sensible order. The closing Args block partially repeats parameter info already implied by the operation list (e.g. delete_type, axis, center), which is mild redundancy, but the selection examples and lamp-post walkthrough earn their space.

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?

An output schema exists, so return values need not be explained. But for a 19-parameter destructive mutation tool with zero annotations, the description should state preconditions (object in edit mode, selection state), reversibility, and error behavior; none of these appear. It is complete enough to construct a call but not to predict its side effects.

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 0%, so the description must compensate, and it largely does: the Args block explains 16 of the 19 parameters, and the operation list supplies the enum values the schema lacks for 'operation' and 'delete_type'. Gaps remain — 'threshold' is undocumented, units for offset/angle are ambiguous beyond 'radians for rotate', and the extrude offset-vs-direction distinction is not resolved.

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?

States a specific verb and resource ('edit-mode geometry operations on a mesh') and enumerates the 15 concrete operations, so the agent knows exactly what capability this tool provides. No sibling in the list performs mesh edit-mode geometry, so the boundary is clear without naming an alternative.

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?

Explicitly distinguishes the two invocation modes (single operation vs. chained steps) and tells the agent which fields to set for each. The 'Smart selection (USE THESE instead of guessing face indices!)' section is strong prescriptive guidance. It stops short of saying when not to use this tool or which sibling to prefer for related tasks (e.g. mesh_get_geometry for inspection).

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