Skip to main content
Glama

get_evaluator_property

Read-onlyIdempotent

Read a single property value from a StateTree evaluator node by reflection, returning its C++ type and value as JSON. Use it to inspect evaluator settings without modifying the asset.

Instructions

Read one property of a tree-scoped evaluator node of a StateTree asset by reflection, without changing it. Returns the value as JSON with its C++ type and has_value; only node struct properties are reachable, not instance data. Write it with set_evaluator_property.

Returns: { tree_path, evaluator_index, property, type, value, has_value }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
propertyYesName of a property on the evaluator node struct, e.g. "Name"; case-insensitive.
tree_pathYesAsset path of the StateTree, e.g. "/Game/AI/ST_Guard".
evaluator_indexNo0-based index into the tree Evaluators, as listed by list_evaluators; omitting it fails as out of range.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.2.0
    • changedInput schema / properties / evaluator_index / description
      Previous value: -"0-based index."New value: +"0-based index into the tree Evaluators, as listed by list_evaluators; omitting it fails as out of range."
    • changedInput schema / properties / property / description
      Previous value: -"FProperty name."New value: +"Name of a property on the evaluator node struct, e.g. \"Name\"; case-insensitive."
    • changedInput schema / properties / tree_path / description
      Previous value: -"Asset path."New value: +"Asset path of the StateTree, e.g. \"/Game/AI/ST_Guard\"."
  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 declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds genuinely new context: reflection-based access and the reachability constraint that only node struct properties (not instance data) are readable. It also names the returned shape, which is valuable given there is no output schema.

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 verb+resource, followed by scope limits, the sibling alternative, and the return shape. Three tightly packed sentences with no filler; every clause carries information.

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?

For a reflection-based read with full schema coverage and annotations covering safety, the description supplies the remaining pieces: read-only intent, reachability limits, the write counterpart, and the return fields. Nothing an agent needs to invoke it correctly is missing.

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 tree_path, property, and evaluator_index in detail. The description adds no additional parameter-level syntax or format meaning beyond that, so the 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 (Read) and a precisely scoped resource (one property of a tree-scoped evaluator node of a StateTree asset), and explicitly names a limitation (only node struct properties, not instance data). It also distinguishes itself from the sibling set_evaluator_property, so an agent can separate it from get_evaluator_info and set_evaluator_property without opening schemas.

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?

It routes the agent to the alternative for the opposite operation ('Write it with set_evaluator_property'), which is the key decision point. It doesn't explicitly contrast with get_evaluator_info for broader reads, so it stops short of full when/when-not coverage.

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