Skip to main content
Glama
asmith26

jupytercad-mcp

by asmith26

chamfer

Bevel a selected edge of a 3D CAD model by specifying its index and distance, then update the JupyterCAD document.

Instructions

Apply a chamfer operation on an object. If no objects are provided as input, the last created object will be used as operand.

:param name: The name that will be used for the object in the document. :param shape: The input object used for the chamfer. Can be the name of the object or its index in the objects list. :param edge: The edge index where to apply chamfer. :param dist: The distance of the chamfer. :param color: The color in hex format (e.g., "#FF5733") or RGB float list. Defaults to the base object's color if None. :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
distNo
edgeNo
nameNo
colorNo
shapeNo
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 full burden. It discloses that the tool updates the JCAD document, defaults to the last created object, and returns the document, adding behavioral context beyond the schema. It does not cover all edge cases but gives key operational details.

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 structured with a brief intro, parameter list, and warning. While longer than ideal, each section adds necessary information for a 9-parameter mutation tool, so no redundant content is apparent.

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?

The description covers the operation, default behavior, all parameters, return value, and prerequisite call, which is substantial for a complex tool with no annotations or output schema. Minor gaps remain, such as how edge indices are determined or potential side effects.

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

Parameters4/5

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

Schema description coverage is 0%, but the description documents 8 of 9 parameters with meaningful explanations (e.g., shape accepts name or index, color format). jcad_path is only mentioned in the warning, and some parameter details are generic, but overall it adds substantial value.

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 the tool applies a chamfer operation on an object, making the purpose specific. It does not explicitly differentiate from the sibling 'fillet' tool, so sibling distinction is implied by the term 'chamfer' rather than stated.

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?

It provides usage guidance by explaining the default operand (last created object) and warns that users must first call get_current_cad_design to understand document state. It does not mention alternatives or when not to use it, so it stops short of full when/when-not guidance.

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