Skip to main content
Glama

mesh_set_smooth_shading

Apply flat or interpolated shading to mesh objects and set an angle threshold for automatic normals.

Instructions

Set smooth or flat shading on a mesh object.

Args: object_name: name of the mesh object smooth: True for smooth shading, False for flat shading auto_smooth_angle: angle threshold in degrees for auto smooth normals

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_set_smooth_shading"
  }
}

Input Schema

NameRequiredDescriptionDefault
smoothNo
object_nameYes
auto_smooth_angleNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It discloses the two shading modes and that auto_smooth_angle is a degree threshold, but says nothing about whether selection/active-object state is required, whether the change is persistent or undoable, or whether auto_smooth_angle has any effect when smooth is False.

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?

A single front-loaded purpose sentence followed by a tight per-argument list; nothing is padded. The Args block is functional rather than prose, which suits a simple setter.

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?

For a three-parameter setter with an output schema, most of what an agent needs is present, and return values need not be explained. However, the relationship between smooth and auto_smooth_angle and any operation-mode or selection requirements are left unstated.

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 description coverage is 0%, so the description must document the parameters, and it does cover all three: object_name, smooth (True/False meaning), and auto_smooth_angle (degree threshold). The auto-smooth explanation is slightly vague about how the threshold is applied, but the semantics are broadly supplied.

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 first sentence names a specific verb and resource ('Set smooth or flat shading on a mesh object'), which is clearly distinguishable from geometry-editing or modifier siblings. It does not explicitly contrast with mesh_edit_geometry or modifier_add, but the operation itself is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no guidance on when to use this versus mesh_edit_geometry or modifier_add with a smooth-by-angle modifier, and no stated prerequisites such as needing the object selected or active. The Args list documents inputs but not usage conditions.

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