Skip to main content
Glama

create_slot

Draw a straight slot on an active sketch for adjustable bolt slots in stamped brackets. Define endpoints and width; slot geometry is non-parametric.

Instructions

Draw a straight slot on the active sketch.

The slot is a rounded-rectangle: a rectangle of (length × width_mm) with semicircular end-caps. The center line runs from (x1, y1) to (x2, y2); width_mm is the slot's narrow dimension.

Args: x1_mm, y1_mm: One endpoint of the center line. x2_mm, y2_mm: The other endpoint. width_mm: Slot width (diameter of the round end-caps).

Common autoparts use: adjustable bolt slots in stamped brackets, typically 1× thru 2× the bolt clearance diameter for ±tolerance.

Caveat: requires an active sketch.

Caveat (paramétrico): el croquis NO es paramétrico. modify_dimension NO puede redimensionar el ancho ni mover los endpoints post-hoc — solo la profundidad de extrusión es paramétrica. Para cambiar la ranura, reconstruye desde una pieza nueva. [en: Sketch geometry has NO driving dimension — modify_dimension cannot resize the slot width or move endpoints post-hoc; only extrude depth is parametric. To resize, rebuild from a fresh part.]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
x1_mmYes
x2_mmYes
y1_mmYes
y2_mmYes
width_mmYes
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses the slot geometry, the parametric constraint (non-driving dimensions), and the active sketch requirement. It does not mention return value or side effects like sketch closure, but the major behavioral trait (non-parametric) is well covered.

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 verbose, including bilingual text (Spanish and English) which adds redundancy. While the content is valuable, it could be more concise. The key information is front-loaded, but the Spanish repetition detracts from conciseness.

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 5 required parameters, no output schema, and no annotations, the description covers geometry, parameter semantics, usage context, and a critical behavioral caveat (non-parametric dimensions). It lacks error conditions or return value, but these are partially expected without output schema. Overall adequate.

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 coverage is 0%, so description must explain parameters. It does so with a docstring-like list: x1_mm, y1_mm, x2_mm, y2_mm as center-line endpoints and width_mm as slot width. This adds meaning beyond the bare schema titles and compensates for lack of parameter 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 clearly states 'Draw a straight slot on the active sketch' and explains the geometry (rounded-rectangle with semicircular end-caps). It distinguishes this tool from sibling sketch tools like create_rectangle or create_circle by specifying the slot shape and common autoparts use.

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 concrete usage example (adjustable bolt slots) and explicit caveats: requires active sketch and the parametric limitation that modify_dimension cannot resize width/endpoints. It doesn't explicitly contrast with alternatives but implies specialized slot creation.

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/danielproxd2/MCP_CAD'

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