Skip to main content
Glama
asmith26

jupytercad-mcp

by asmith26

set_color

Change an object's color in a JupyterCAD document by specifying its name and a hex color value, updating the 3D model.

Instructions

Set the color of an object.

:param name: The name of the object. :param value: The color in hex format (e.g., "#FF5733").

        Warning: This tool will update the JCAD document at the given jcad_path.
        To understand the current state of the document, you MUST first use the 'get_current_cad_design' tool.
        

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
valueYes
jcad_pathYes
Behavior3/5

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

With no annotations, the description carries the burden of disclosing side effects. It explicitly states 'This tool will update the JCAD document at the given jcad_path,' which signals mutation. However, it does not disclose permissions, failure behavior, or whether changes are reversible. The 'MUST first use' warning adds context, but the disclosure is not exhaustive.

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 concise, with a clear first sentence, parameter docs, and a warning. It is front-loaded with the core purpose. The warning is somewhat verbose but necessary. No redundant or extraneous content.

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?

This is a simple mutation tool with no output schema, so return values need not be explained. The description covers purpose, a prerequisite, and mutation side effect. However, the lack of jcad_path documentation, combined with no mention of error handling or object-not-found behavior, leaves moderate gaps. The tool is usable but not fully self-sufficient.

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 schema has 3 parameters with no descriptions (coverage 0%). The description documents 'name' and 'value' (including hex format for value), which adds meaning. However, 'jcad_path' is only implicitly referenced in the warning ('at the given jcad_path') and lacks explicit definition or format. Given the low schema coverage, the description only partially compensates, leaving a critical parameter underspecified.

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 'Set the color of an object,' which identifies the specific action and resource. While it doesn't explicitly differentiate from sibling tools like 'set_visible' or 'rename', the action is unambiguous and the tool name reinforces it. The scope ('an object') is slightly vague but acceptable for a generic setter.

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

Usage Guidelines4/5

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

The description provides a clear prerequisite: 'To understand the current state of the document, you MUST first use the get_current_cad_design tool.' This tells the agent when to use the tool relative to reading state. It does not mention alternatives or exclusions, but the warning establishes a necessary condition for safe usage.

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/asmith26/jupytercad-mcp'

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