Skip to main content
Glama

get_attrib_values

Read a paginated slice of a geometry attribute's values as a flat array, supporting point, prim, vertex, or detail classes and element-major ordering.

Instructions

Read attribute values as a flat array with pagination.

For spot-checking a few values prefer sample_geometry — it returns a representative spread of points with all their attributes in one call. Use get_attrib_values when you need a specific slice of one attribute.

Values are element-major: for a float3 attribute every 3 consecutive values belong to one element. Check has_more and increment start to read subsequent pages.

Args: node_path: Node path. attrib_name: Attribute name. attrib_class: "point", "prim", "vertex", or "detail". start: First element index to return. count: Max elements per page (default 200).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNo
startNo
node_pathYes
attrib_nameYes
attrib_classNopoint

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.24.1
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and largely succeeds: it discloses the flat-array element-major layout of float3 data, the has_more/start pagination protocol, and the default page size of 200. It does not cover error behavior or performance characteristics, but the mutation/safety profile gap is moot for a read tool and the pagination contract is unusually well documented.

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-loaded with the core action, followed by sibling routing, the data-layout caveat, and a compact args list. Every sentence adds distinct information with no repetition of the schema.

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?

There is no output schema and no annotations, so the description has to explain the return shape itself; it does so via the flat-array and element-major notes plus the pagination contract. The remaining gap is the absence of any error or edge-case behavior, which is minor for a read-only getter.

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 coverage is 0%, so the description must compensate and it does: all five parameters are documented with meaning ('First element index to return', 'Max elements per page'), and the attrib_class enum values (point/prim/vertex/detail) are supplied here but absent from the schema. It leaves out finer details such as the value ordering for tuple types beyond the element-major note.

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 (read) and resource (attribute values) plus the return shape (flat array with pagination). It also distinguishes itself from the sibling sample_geometry, so an agent can route between them without opening either schema.

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

Usage Guidelines5/5

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

Explicit routing guidance: use sample_geometry for spot-checking a few values, use get_attrib_values for a specific slice of one attribute. That is a clear when-to-use/when-to-prefer-an-alternative statement.

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