Skip to main content
Glama

set_material

Assigns a Maya Blinn shader to an object with specified RGB color and roughness values, enabling controlled material setup in Maya scenes.

Instructions

Assign a Maya Blinn shader. RGB and roughness are in the range 0 to 1.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "material": "<material>",
      "color": "<color>"
    },
    "name": "set_material"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
colorYes
materialYes
roughnessNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full disclosure burden and largely fails it: it never says whether assignment replaces or adds to an existing material, whether it is destructive/reversible, or whether 'material' names an existing shader or creates a new one. The only behavioral detail given is the 0–1 value range for RGB and roughness.

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?

Two short, front-loaded sentences with no filler; the action comes first and the numeric convention second. The brevity reflects under-specification rather than padding, but the structure itself is clean.

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 four parameters, zero schema coverage, and no annotations, the description should explain the target object, the material string's meaning, and the effect on existing shaders. An output schema exists so return values need not be described, but the input-side gaps leave the definition inadequate for safe invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so all four parameters depend on the description. It clarifies the color triple and roughness range, but says nothing about 'name' (presumably the target object) or what string 'material' expects, leaving half the parameters semantically opaque.

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 uses a specific verb ("Assign") and resource ("Maya Blinn shader"), so the agent knows this applies a shader to something. It stops short of saying what the assignment target is (the required 'name' parameter) or how 'material' relates to the Blinn shader, so the purpose is clear but not fully disambiguated.

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?

There is no when-to-use guidance, no prerequisites (must the object exist? must the shader exist?), and no mention of alternatives or follow-up steps. The agent must infer the entire usage context from the name alone.

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