Skip to main content
Glama

cad_sketch_close

Close a sketch and post it as a feature, returning its feature ID and diagnostics. Optionally refuse sketches that are ungrounded or lack driving dimensions to ensure well-formedness.

Instructions

Post the sketch as one feature; returns its featureId plus diagnostics (grounded, dimensions, wellFormed). Set require_well_formed=true to refuse (without posting) a sketch that is ungrounded or has no driving dimensions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYes
require_well_formedNo
Behavior3/5

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

With no annotations, the description must carry the full transparency burden. It discloses that the sketch is posted as a feature and that require_well_formed can prevent posting. However, it does not mention side effects (e.g., document modification) or potential error conditions, which is a gap for a mutation tool.

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?

Two sentences: first covers main purpose and output, second covers optional parameter. No wasted words, efficient and clear.

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 that the tool has only two parameters and no output schema, the description adequately covers key aspects. It could mention error handling or prerequisites (e.g., an active sketch), but is largely sufficient for simple tool usage.

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%, so the description must compensate. It explains the require_well_formed parameter (well-formed check) and implicitly covers sessionId by context. This adds value beyond the raw schema.

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?

Description clearly states the action ('post the sketch as one feature') and what it returns (featureId plus diagnostics). It distinguishes itself from other sketching tools (e.g., sketch_line, sketch_constrain) by being the finalization step.

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 explicit guidance on the require_well_formed parameter ('Set require_well_formed=true to refuse...'). It implies this tool is used after a sketch is created, but does not explicitly compare to alternatives like cad_sketch_begin or cad_sketch_line, leaving some ambiguity for the agent.

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/saltyeg/cadkit-mcp'

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