Skip to main content
Glama
asmith26

jupytercad-mcp

by asmith26

add_cone

Add a cone to a JupyterCAD document with customizable radii, height, angle, color, position, and rotation for precise 3D modeling.

Instructions

Add a cone to the document.

:param name: The name that will be used for the object in the document. :param radius1: The bottom radius of the cone. :param radius2: The top radius of the cone. :param height: The height of the cone. :param angle: The revolution angle of the cone (0: no cone, 180: half cone, 360: full cone). :param color: The color of the cone in hex format (e.g., "#FF5733") or RGB float list. :param position: The shape 3D position. :param rotation_axis: The 3D axis used for the rotation. :param rotation_angle: The shape rotation angle, in degrees. :return: The document itself.

        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
nameNo
angleNo
colorNo#808080
heightNo
radius1No
radius2No
positionNo
jcad_pathYes
rotation_axisNo
rotation_angleNo
Behavior4/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 warns 'This tool will update the JCAD document at the given jcad_path' and also states the return value ('The document itself'). This goes beyond a bare 'Add a cone' and is transparent about mutation.

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 a compact docstring with one line per parameter, a clear opening sentence, and a brief warning. No superfluous text; every sentence contributes necessary information. The structure is scannable and front-loaded with the purpose.

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

Completeness4/5

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

Given 10 parameters, no annotations, and no output schema, the description covers purpose, all parameter semantics, a mutation warning, and a return value. It lacks only minor details like coordinate system conventions, but the mandatory call to get_current_cad_design provides essential context for correct invocation.

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

Parameters5/5

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

Schema description coverage is 0%, but the description explains every parameter in detail, including meaning and examples (e.g., angle: '0: no cone, 180: half cone, 360: full cone'). It also clarifies color formats and position/rotation semantics, fully compensating for the schema's lack of descriptions.

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

Purpose5/5

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

The description opens with 'Add a cone to the document,' which is a specific verb+resource that clearly distinguishes this tool from siblings like add_box, add_cylinder, and add_sphere. It unambiguously states the tool's function without ambiguity.

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 includes a mandatory prerequisite: 'you MUST first use the get_current_cad_design tool' to understand the document state. This provides clear timing/context for safe usage. It does not explicitly mention alternatives, but the tool name and sibling list make the choice obvious.

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