Skip to main content
Glama

update_procedural_mesh_section

Destructive

Update an existing procedural mesh section in place with new vertex positions while preserving topology; errors on missing or negative sections.

Instructions

Update an existing procedural mesh section in-place (same topology, new vertex positions). A negative or missing section is an error.

Returns: { actor_label: string, section_index: int, vertex_count: int }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
verticesNoRequired [[x, y, z], ...] array with the same vertex count as the existing section
actor_labelYesEditor label of the actor carrying the PMC
section_indexNoOptional target section index (>= 0); defaults to 0
component_indexNoOptional 0-based PMC index on the actor; defaults to 0

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.2
    • changedInput schema / properties / section_index / description
      Previous value: -"Optional target section index; defaults to 0"New value: +"Optional target section index (>= 0); defaults to 0"
  2. First observedv1.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds useful behavior beyond that: the update is in-place with fixed topology, and a negative/missing section is an error. However, it doesn't say what happens to existing vertices, whether the component must already exist, or whether the call can fail mid-update.

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?

Two tight sentences plus a return-shape line, with the core semantics front-loaded. Since no output schema exists, the Returns line earns its place rather than duplicating structured data.

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?

For a 4-parameter mutation tool with full schema coverage and annotations, the description covers purpose, the topology constraint, the error condition, and the return shape. The only gap is usage context relative to the many sibling procedural-mesh tools.

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 description coverage is 100%, so all four parameters are already documented in the schema (vertices, actor_label, section_index, component_index). The description only implicitly references vertices ('new vertex positions') and section validity, adding no syntax or format detail beyond the schema. Baseline 3 applies.

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 (update) and resource (procedural mesh section), and the parenthetical 'in-place (same topology, new vertex positions)' distinguishes it from sibling creation tools like create_procedural_box_mesh or slice_procedural_mesh. It does not explicitly name or route against any sibling, 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 Guidelines2/5

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

There is no when-to-use/when-not-to-use guidance and no mention of alternatives such as create_procedural_grid_mesh or clear_procedural_mesh. The only constraint given ('a negative or missing section is an error') is a validation rule, not a routing hint.

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