Skip to main content
Glama
SamDreamsMaker

Unity API Communicator MCP Server

gameobject_material

Set or change materials on Unity GameObjects through API calls to modify visual properties and appearances in the editor.

Instructions

Set material (POST /api/gameobject/material) [Category: gameobject]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsNoJSON parameters for this endpoint. Refer to the tool description for expected fields.
Behavior1/5

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

No annotations are provided, so the description must fully disclose behavior. It only states 'Set material' with an HTTP POST, implying a mutation but not detailing effects like whether it overwrites existing materials, requires specific permissions, or has side effects. This leaves critical behavioral traits undisclosed, failing to compensate for the lack of annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is brief and front-loaded with 'Set material', but it wastes space on redundant details like the HTTP method and endpoint, which don't aid an AI agent. While concise, it lacks efficiency as the content doesn't earn its place in clarifying tool usage.

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

Completeness1/5

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

Given the complexity implied by sibling tools and the lack of annotations and output schema, the description is severely incomplete. It doesn't address what 'material' entails, how it interacts with gameobjects, or what the tool returns, making it inadequate for effective agent use.

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?

The input schema has 1 parameter with 100% coverage, but the description adds no semantic information beyond referencing 'JSON parameters' in the schema. It doesn't explain what fields are expected (e.g., material name, properties) or their meaning, offering minimal value over the schema's generic description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Set material (POST /api/gameobject/material)' restates the tool name 'gameobject_material' and includes an HTTP method and endpoint, but doesn't specify what 'Set material' means in context. It doesn't explain what resource is being modified or distinguish it from sibling tools like material_color, material_float, material_properties, material_shader, or material_texture, leaving the purpose vague.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

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

No guidance is provided on when to use this tool versus alternatives. With multiple material-related tools (e.g., material_color, material_shader) and gameobject tools (e.g., gameobject_components, gameobject_transform), the description offers no context, prerequisites, or exclusions, making it misleadingly incomplete.

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