Skip to main content
Glama

get_material_param_info

Read-onlyIdempotent

Read one named scalar, vector, or texture parameter from a material instance and return its effective value plus a found flag, distinguishing a misspelled name from a zero value.

Instructions

Read ONE named parameter's effective value off a material instance (param_type scalar | vector | texture), with a found flag so a misspelled name is distinguishable from a zero value. The cheap targeted read-back after set_material_instance_param_override -- use get_material_all_parameters when you want the whole list, and get_material_instance_param_overridden to tell "inherited from the parent" from "locally overridden", which this does not.

Returns: { param_name: string, param_type: string, found: bool, value: float | {r,g,b,a} | string }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
param_nameYesName of the parameter to read.
param_typeYesOne of "scalar", "vector", "texture".
material_instance_pathYesContent path to the UMaterialInstanceConstant.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, so the safety profile is covered. The description adds real behavioral context beyond that: the found flag disambiguates a misspelled name from a zero value, and it explicitly states what it does NOT do (inherited-vs-overridden detection). Missing only return-format/pagination-style detail, which is minor here.

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?

Front-loaded with the core action, then alternatives, then the return shape. The alternatives clause is information-dense but earns its place; the Returns block is justified since no output schema exists. Slightly dense but no wasted sentences.

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?

With no output schema, the description carries the return shape ({param_name, param_type, found, value}) and the found-flag semantics. For a 3-param read-only tool, everything an agent needs to call and interpret it is present.

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 100%, so the baseline is 3. The description maps param_type (scalar|vector|texture) to concrete value types (float | {r,g,b,a} | string), which is meaningful selection guidance not present in the schema and tells the agent what to expect for each type.

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 precise verb+resource: 'Read ONE named parameter's effective value off a material instance', and explicitly scopes it against siblings get_material_all_parameters and get_material_instance_param_overridden. An agent can distinguish it from the whole-list and inheritance-check tools 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 Guidelines5/5

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

Gives explicit when-to-use ('the cheap targeted read-back after set_material_instance_param_override') and names both alternatives with the conditions that select them: whole list vs. inheritance-vs-override. Nothing is left to inference.

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