Skip to main content
Glama
SamDreamsMaker

Unity API Communicator MCP Server

material_color

Set color properties on Unity materials using RGBA values. Specify material path and color components to modify shader properties like _Color.

Instructions

Set a color property on a material. Default property is '_Color' (main color). Color values are 0-1 floats.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
materialPathYesAsset path to the material (e.g. Assets/Materials/Wood.mat)
propertyNameNoShader property name (default: '_Color')_Color
rNoRed (0-1)
gNoGreen (0-1)
bNoBlue (0-1)
aNoAlpha (0-1)
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states the tool 'sets' a color property (implying mutation), but doesn't disclose whether this requires specific permissions, whether changes are reversible, what happens if the material doesn't exist, or any performance/rate limit considerations. For a mutation tool with zero annotation coverage, this is insufficient.

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 description is extremely concise - just two sentences that efficiently convey the core functionality. Every word earns its place with no redundancy. It's front-loaded with the main purpose statement followed by a clarifying detail about defaults and value ranges.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and no output schema, the description is incomplete. It doesn't explain what happens on success/failure, whether the change is immediate or requires a save, what permissions are needed, or how this interacts with other material operations. Given the complexity of material editing in a game engine context, more behavioral context would be helpful.

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 all 6 parameters thoroughly. The description adds minimal value beyond the schema: it mentions the default property is '_Color' (already in schema) and that color values are 0-1 floats (already in schema with min/max constraints). No additional semantic context is provided beyond what's in the structured schema.

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?

The description clearly states the tool's purpose: 'Set a color property on a material' specifies the verb (set) and resource (material color property). It distinguishes from sibling tools like material_float, material_shader, and material_texture by focusing specifically on color properties. However, it doesn't explicitly differentiate from gameobject_material which might also affect materials.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention when to use material_color versus material_float for other material properties, or when to use gameobject_material for material assignment. There's no discussion of prerequisites, error conditions, or typical use cases.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SamDreamsMaker/unity-api-communicator-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server