Skip to main content
Glama

Draw a cabinet or create a Cabinet-X design

cabinetx_cloud_generate
Idempotent

Create and save a Cabinet-X cloud design without an open browser or desktop app. For “draw a cabinet” or “我要画一个柜子”, call with mode:"singleCabinet" and a fresh requestId; no measurements or customer information are needed. Put everything the user already said into cabinet (type, width in inches, doors), e.g. “30 inch double-door base cabinet” → cabinet:{type:"base",width:30,doors:2}, so the cabinet is right in one call. When the user names the type and width, create it directly without asking. When they only say “draw a cabinet” with no type or width, ask ONE short question first (type: base/drawer/sink/upper/tall, and width — common 24, 30, 36 inches) and accept “any/default” as an answer to use the defaults; never run a multi-question interview. For an empty design canvas use mode:"blank". Both manual modes use the connected project's existing walls or one 120-inch straight wall when none exist, and skip automatic room layout. For a complete kitchen layout use mode:"layout" and provide the measurements in inches or use the connected project's actual walls. Pass projectId and its opaque designId together for an already-connected project; omit both to start a new draft. Return openUrl to the user and keep projectId and the opaque designId in tool calls for follow-up cabinetx_mobile_design edits. Never display the opaque designId in prose.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "requestId": "<requestId>"
    },
    "name": "cabinetx_cloud_generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNosingleCabinet draws one cabinet (see cabinet). blank opens a canvas with no cabinets. layout runs automatic kitchen design. With mode omitted, a wall survey requests layout, otherwise the default is blank.
prefsNoOptional solver layout preferences.
actionNoGenerate by default. To recover a possibly committed result after timeout, call status with only the same requestId. If no result is found, resend identical generation arguments and requestId.
surveyNoSupply known wall measurements in inches when needed (shape and non-empty walls are required together; empty walls may only pair with shape). I uses wall A; L uses A,B; U uses A,B,C; O uses A,B,C,D. Omit if unknown or when using an existing survey.
cabinetNoOnly for mode:"singleCabinet". Omitted fields use defaults (ordinary base cabinet, narrowest stock width, automatic door count). The response cabinet field lists the saved cabinet and the widths/swaps it can change to.
customerNoCustomer and project metadata. Required only when starting a new complete layout project.
deliveryNoDefault owner-only link. Use share only if the user asks for an expiring read-only link. Use handoff only if the user asks to let another person save a copy of a new blank or single-cabinet draft with no customer metadata.
designIdNoOpaque design handle bound to this chat when projectId is supplied.
projectIdNoOnly for a project already connected in this chat.
requestIdYesFresh UUID for idempotent creation/generation. Reuse the same requestId only when retrying an uncertain timeout with identical arguments.
initialEditsNoOptional core finish/style edits applied to the new design before saving (e.g. {op:"front",all:true,color:[0.18,0.27,0.38]}).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, it discloses that the tool creates and saves a cloud design without a local app, returns an openUrl, and keeps projectId/designId for follow-up edits while never exposing the opaque designId in prose. It also explains idempotent requestId behavior and that manual modes use existing or fallback walls rather than automatic room layout.

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 front-loaded with the core action and then organized by mode and invocation context. It is longer than many definitions but the length is largely justified by the tool's multiple modes and nuanced question-asking policy, though a few sections could be tighter.

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?

For a complex multi-mode generator with no output schema, the description covers the essential selection and invocation behavior, including mode choice, user-intent handling, project binding, and follow-up IDs. Some secondary parameters such as action status retries, prefs, delivery, and initialEdits rely on the schema rather than the description, but that is reasonable given the schema's full coverage.

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 already 100%, so the baseline is 3; the description adds practical meaning for mode selection, requestId freshness, projectId/designId pairing, and a concrete cabinet example. It does not fully explain every parameter such as action, delivery, or initialEdits, but the schema carries those details.

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 states a specific verb and resource: create and save a Cabinet-X cloud design without a browser or desktop app. It distinguishes the three modes (singleCabinet, blank, layout) and notes that follow-up edits go through cabinetx_mobile_design, so an agent can separate it from related tools.

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

Usage Guidelines5/5

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

It gives explicit routing rules: use singleCabinet for drawing one cabinet, blank for an empty canvas, and layout for a complete kitchen. It also states when to create directly from user-provided type and width, when to ask exactly one short question, and when to reuse versus omit projectId/designId.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.