Skip to main content
Glama

cad_change_commit

Publishes the workspace as a new non-overwriting revision after regeneration, rule, and drawing error checks pass, recording change details and author while updating the drawing title block version.

Instructions

把工作区发布为新修订版本(不可覆盖)。门禁(再生无错、规则无 error、图纸无 error)不通过会被拒绝。 description 为更改内容(写进图纸更改记录表;首版可省略),by 为更改人。图纸标题栏自动写入版本号。

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": {
      "revision": "<revision>"
    },
    "name": "cad_change_commit"
  }
}

Input Schema

NameRequiredDescriptionDefault
byNo
revisionYes
descriptionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-idempotent, non-destructive behavior, and the description adds real context beyond them: the pre-commit gate checks that can reject the call, that the revision cannot be overwritten, and that the version number is auto-written into the drawing title block. Missing only failure mode details beyond the gate rejection.

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?

Three tight sentences with the core action and its constraint front-loaded, followed by gate preconditions and parameter notes. No filler, though the parenthetical asides make it slightly dense.

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?

An output schema exists so return values need not be described. The definition covers the action, its hard preconditions, side effects, and two of three parameters; the only material gap is the required 'revision' parameter and any session-start dependency.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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 'description' (change content, written into the drawing change record table, omissible on the first version) and 'by' (the person making the change), but leaves 'revision' – the sole required parameter – with no meaning beyond its title.

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?

States a specific verb and resource: publishing the workspace as a new revision, explicitly marked non-overwritable. An agent can tell it is a commit-style operation, though it never names or contrasts the sibling lifecycle tools (cad_change_begin, cad_change_rollback, cad_change_status) it sits among.

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?

The gate conditions (regeneration/rule/drawing must be error-free or the call is rejected) hint at prerequisites, but there is no explicit when-to-use versus when-not, and no statement that a change session must first be opened with cad_change_begin.

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