Skip to main content
Glama

get_mesh_vertex_count

Read-onlyIdempotent

Count vertices in a static mesh, optionally per LOD, and retrieve vertex count, vertex ID count, and detect ID gaps.

Instructions

Count the vertices in a static mesh via UGeometryScriptLibrary_MeshQueryFunctions::GetVertexCount.

Returns: { static_mesh_path, lod_index, vertex_count, vertex_id_count, has_vertex_id_gaps }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lod_indexNoOptional LOD index to query (default 0)
static_mesh_pathYesContent path to the UStaticMesh asset

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, not open world), so the bar is lower. The description adds genuine value by enumerating the return fields (vertex_count, vertex_id_count, has_vertex_id_gaps), which is important because no output schema exists.

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?

Two compact sentences, front-loaded with the action, plus an explicit Returns line. The internal API reference (UGeometryScriptLibrary_MeshQueryFunctions::GetVertexCount) is minor overhead but does not derail the structure.

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 read-only query tool with a fully described two-parameter schema and no output schema, the description supplies the missing return-value detail. Nothing essential to calling it correctly is absent.

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 are already documented, and the description adds no syntax or format detail beyond restating lod_index and static_mesh_path. Baseline 3 applies when the schema does the heavy lifting.

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 ("Count the vertices") and resource ("a static mesh"), making the operation unambiguous. It does not, however, distinguish itself from near siblings such as get_mesh_triangle_count or get_dynamic_mesh_info, though the name itself disambiguates.

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 or when-not-to-use guidance and no named alternative. The only context is that it queries a static mesh, which is already implied by the name and schema.

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