Skip to main content
Glama

set_material

Apply a specific material to a SketchUp component by specifying its ID and material name to modify 3D model appearance.

Instructions

Set material for a component

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
materialYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.17

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. 'Set' implies a mutating operation, but the description does not reveal whether the material is overwritten, whether validation occurs, whether the component must exist, or what errors may arise.

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?

The description is a single concise sentence with no filler or redundancy. It is easily parsed and front-loads the core action, though it may be too terse to fully support the other dimensions.

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

Completeness3/5

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

For a simple two-required-parameter setter with an output schema, this is minimally viable: an agent can infer id and material are needed. However, it lacks information about material value semantics, existence requirements, and side effects, which leaves meaningful gaps for a mutating tool.

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 the description must compensate, but it only restates the operation without explaining what 'id' refers to or what format/values 'material' accepts. The parameter names are self-descriptive at a basic level, but no additional meaning is provided.

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 ('Set') and resource ('material for a component'), which distinguishes it from sibling tools like transform_component or delete_component. However, it doesn't specify how the material is identified (name, ID, path), leaving some ambiguity.

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 gives no guidance on when to use this tool versus alternatives, no prerequisites, and no exclusions. While the operation seems self-evident, the context in which set_material should be preferred over other component tools is not stated.

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