Skip to main content
Glama
tomo1230

FreeCAD MCP Server

by tomo1230

draw_rectangle_in_sketch

Draw a rectangle in a FreeCAD sketch by specifying two corner coordinates. Define the rectangle's position and size with x1, y1, x2, y2.

Instructions

FreeCAD tool: draw_rectangle_in_sketch

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sketch_nameNoBody name
x1NoCorner X1
y1NoCorner Y1
x2NoCorner X2
y2NoCorner Y2
Behavior1/5

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

No annotations are provided, and the description discloses no behavioral traits. The agent cannot infer whether this tool modifies the sketch, is destructive, or requires specific conditions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely short but under-specified. It does not earn its place as it adds no useful information beyond the tool name.

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

Completeness1/5

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

Given 5 parameters, no annotations, and no output schema, the description is completely inadequate. It does not explain tool behavior, output, or side effects.

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?

Although schema coverage is 100%, the parameter descriptions are minimal and partially misleading (e.g., sketch_name described as 'Body name'). They add limited meaning beyond parameter names, and do not explain coordinate system or units.

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

Purpose2/5

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

The description 'FreeCAD tool: draw_rectangle_in_sketch' is a tautology that merely restates the tool name. It does not explain what the tool does beyond implying it draws a rectangle in a sketch, but lacks specifics like 'creates a rectangle geometry' or 'uses two corner points.'

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

Usage Guidelines1/5

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

No guidance is provided on when to use this tool versus sibling tools like draw_circle_in_sketch or draw_line_in_sketch. There is no mention of prerequisites (e.g., active sketch) or context where it is appropriate.

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/tomo1230/freecad_mcp_server'

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