Skip to main content
Glama

Apply Modifier

apply_modifier
Destructive

Bakes a modifier into a mesh so subsequent edit operations see the result, while refusing shared meshes or edit mode to prevent invalid changes.

Instructions

Bake a modifier into the mesh; refused for a shared mesh or in edit mode. Returns: the stack, counts. WHEN TO CALL: when edit_mesh must see its result.

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": "<object>",
      "modifier": "<modifier>"
    },
    "name": "apply_modifier"
  }
}

Input Schema

NameRequiredDescriptionDefault
objectYesName
modifierYesName

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds meaningful preconditions ('refused for a shared mesh or in edit mode') that the annotations do not, which is real value, but it says nothing about reversibility, undo, or what happens to the modifier afterwards.

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?

Tight and front-loaded: action, preconditions, return, then trigger. The 'Returns: the stack, counts' fragment is terse to the point of ambiguity, which is the only real trim-vs-clarity tradeoff.

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?

With no output schema, the description carries the return-value burden and does so only vaguely ('the stack, counts'), which an agent cannot interpret confidently. Preconditions and trigger are covered, so it is adequate but has a clear gap for a destructive 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 coverage is 100%, so both parameters (object, modifier) are already documented in the schema and the baseline is 3. The description adds no meaning about accepted names, lookup semantics, or ambiguity resolution beyond the schema fields.

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?

States a specific verb and resource: 'Bake a modifier into the mesh', which is clearly distinct from add_modifier/set_modifier by the irreversible 'bake' framing. It does not explicitly name the sibling it differs from, 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?

The 'WHEN TO CALL: when edit_mesh must see its result' line gives a concrete trigger tied to a named sibling, which is strong routing guidance. It still lacks explicit when-not guidance or a named alternative for cases where a non-destructive modifier is preferable.

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