Skip to main content
Glama

get_material_instance_params

Read-onlyIdempotent

List the overridden scalar, vector, and texture parameter values for a material instance; inherited defaults and static switches are excluded.

Instructions

List the parameter values a material instance has actually OVERRIDDEN (scalars, vectors, textures) -- it walks the instance's own override arrays, so it answers "what has been calibrated here", NOT "what can I tune". Two omissions to keep in mind: it never returns STATIC SWITCH parameters, which are the flags that switch whole shader branches on or off (an instance can read perfectly green and still render without a layer because a switch is false in the parent), and it hides every parameter the parent exposes but this instance has not touched -- those are not hard-wired, they keep the parent's value. For the full tunable contract use get_material_all_parameters, and for the switches get_material_static_switch_parameters / get_material_instance_static_switch.

Returns: { material_instance_path: string, parent_material: string, scalar_params: [{name, value}], scalar_count: int, vector_params: [{name, r, g, b, a}], vector_count: int, texture_params: [{name, texture_path}], texture_count: int }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
material_instance_pathYesContent path to the UMaterialInstanceConstant.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower, yet the description adds high-value behavioral context: it never returns static switches and hides un-overridden parent parameters, explaining that such parameters still inherit the parent value. It also explains the practical consequence – an instance can look green while a parent switch disables a layer.

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?

The definition is front-loaded: the first sentence delivers the core distinction before any caveats. The subsequent sections ('Two omissions to keep in mind' and the sibling routing sentence) each address a genuine semantic trap rather than padding, and the return shape is appended compactly.

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 supplies the return structure explicitly, including counts and field shapes. Combined with the safety annotations and full parameter schema, an agent has everything needed to select and invoke this tool correctly.

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% and the single material_instance_path parameter is fully documented in the schema as a content path to a UMaterialInstanceConstant. The description implies the same input but adds no syntax, format, or edge-case detail beyond the schema, so the baseline of 3 is appropriate.

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?

The first sentence states a specific verb (List), resource (material instance parameter values), and scope (actually OVERRIDDEN scalars, vectors, textures). It explicitly distinguishes this from the broader sibling get_material_all_parameters and from the static-switch tools, so an agent can route correctly 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?

It gives explicit when-to-use (what has been calibrated here) and when-not (what can I tune), plus named alternatives for both gaps: get_material_all_parameters for the full tunable contract and get_material_static_switch_parameters / get_material_instance_static_switch for switches. Nothing relevant 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