Skip to main content
Glama

cad_build_frame

Builds aluminum-profile or welded square-tube machine frames from dimensions and levels, returning cut lists, total profile length, and BOMs with brackets, nuts, and screws.

Instructions

铝型材机架:给 name/part_no/title、width/depth/height(外形 mm)、profile(默认 PRF-4040)、 levels(横梁层中心高度,默认底层+顶层)、bracket(角码,默认 BRK-4040),生成立柱+横梁装配并建模。 返回下料清单 cut_list、型材总长、BOM(含角码/T 螺母/螺钉)。之后可用 asm: 把机架装进总装, 或在其上加安装板(坐标原点在机架底面中心)。 construction="welded" 生成方管焊接机架(section 默认 SHS40x3,feet 地脚板),作为一个焊接件零件, 返回切割清单;之后可 cad_build_drawing 出焊接件图(焊缝符号、切割清单、焊接技术要求)。

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": {
      "spec": "<spec>"
    },
    "name": "cad_build_frame"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag it as a non-readOnly, non-idempotent, non-destructive build. Beyond that, the description adds genuinely useful behavior: it discloses the coordinate origin (frame bottom center), the returned artifacts (cut list, total profile length, BOM with brackets/T-nuts/screws), and that welded mode produces a part rather than an assembly. It does not say what happens to any existing model or whether the operation is reversible.

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?

The opening clause front-loads the core action, then parameters with defaults, then outputs, then follow-on workflow, then the welded alternative. Dense but every sentence carries distinct information with no repetition.

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 geometry-generating tool with a nested, undocumented spec object, the description covers inputs, outputs, defaults, origin, and downstream integration well. Since an output schema exists, the return-value explanation is extra rather than required, and the remaining gap is only fine-grained nested field formats.

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?

The schema is a bare `spec` object with additionalProperties and 0% description coverage, so the description must compensate — and it does, enumerating name/part_no/title, width/depth/height in mm, profile (default PRF-4040), levels, bracket (BRK-4040), plus welded-mode section (SHS40x3) and feet. Only the detailed shape of nested fields like `levels` is left underspecified.

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 states a specific verb and resource: builds an aluminum-profile frame (posts + beams) and models it, with an alternative welded square-tube mode. This is clearly distinct from generic cad_build_part/cad_build_assembly work, though it never explicitly names those siblings to route the agent away from them.

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

Usage Guidelines3/5

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

It gives downstream context (use asm:<name> to place the frame in an assembly, add a mounting plate on top, or run cad_build_drawing for the welded variant), which implies a workflow. However, it never states when to choose this tool over cad_build_part or cad_build_assembly, nor any exclusions or prerequisites.

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