Skip to main content
Glama

get_num_open_border_edges

Read-onlyIdempotent

Count open boundary edges on a DynamicMeshActor's live dynamic mesh in the editor world. A result of 0 means the mesh is closed; use the loops tool to inspect them.

Instructions

Count the open boundary edges (edges with a single adjacent triangle) of a DynamicMeshActor's live dynamic mesh in the editor world; 0 means the mesh is closed. Read-only; get the loops with get_mesh_open_border_loops. Reply actor_name is the component name, not the actor label.

Returns: { actor_name, num_open_border_edges }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actor_nameYesLabel or object name (case-insensitive) of the target DynamicMeshActor in the editor world.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.0
    • changedInput schema / properties / actor_name / description
      Previous value: -"DynamicMeshActor name (required)"New value: +"Label or object name (case-insensitive) of the target DynamicMeshActor in the editor world."
  2. First observedv1.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already carry the read-only/idempotent/non-destructive profile, so the bar is lower. The description adds genuinely new context: the mesh is 'live' in the editor world, the result semantics (0 = closed), and a naming caveat about actor_name. It doesn't discuss failure modes (e.g. missing actor), which keeps it from a 5.

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?

Front-loads the core action, then the interpretive rule, then the sibling pointer, then the return shape. Every clause earns its place with no filler.

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?

No output schema exists, so the inline 'Returns: { actor_name, num_open_border_edges }' is necessary and present. Combined with the result interpretation and alternative pointer, an agent has everything needed to call and interpret this read-only tool.

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 the schema already documents actor_name fully. The description's naming note ('Reply actor_name is the component name, not the actor label') concerns the returned value rather than the input parameter, adding only marginal input semantics. Baseline 3 applies.

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 ('Count the open boundary edges') and even defines the concept inline ('edges with a single adjacent triangle'), scoping it to a DynamicMeshActor's live dynamic mesh. An agent can immediately distinguish it from siblings like get_mesh_triangle_count or get_mesh_is_closed.

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 names the alternative for adjacent needs ('get the loops with get_mesh_open_border_loops') and gives an interpretive rule for the output ('0 means the mesh is closed'). It stops short of stating when-not to use it, but the routing context is clear.

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