Skip to main content
Glama

cad_set_parameters

Modify model-driven parameter values or expressions, then automatically rebuild the model and any dependent assemblies or drawings.

Instructions

修改模型驱动参数(值或表达式),自动重建该模型及依赖它的装配/工程图。

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": {
      "name": "<name>",
      "updates": "<updates>"
    },
    "name": "cad_set_parameters"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
updatesYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

The annotations already establish that this is a non-read-only, non-destructive, non-idempotent write. The description adds genuinely new behavioral context beyond that: the call triggers an automatic rebuild of the model and of dependent assemblies and drawings. It does not say whether the rebuild is synchronous, how long it takes, or what happens on failure, which keeps it below a 5.

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?

A single sentence with no waste: the action and the key side effect are front-loaded, and nothing is repeated from the title or schema.

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

Completeness3/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. For a two-parameter mutation that cascades into rebuilds, however, the definition omits transaction/prerequisite context and leaves the parameter map structure ambiguous. It is adequate but not complete.

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 supply the meaning. It does clarify that updates accept values or expressions ('值或表达式'), which explains the number|string union. However, it does not clarify that 'name' identifies the target model, nor that 'updates' is a key-value map of parameter names to new values, leaving the nested-object shape partly unexplained.

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 ('修改模型驱动参数' — modify model-driven parameters) and adds the scope of the effect ('自动重建该模型及依赖它的装配/工程图'). It is clear what the tool does, but it never contrasts itself with plausible siblings such as cad_edit_existing or cad_change_commit, so the agent must infer the boundary.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance. The sibling set includes cad_change_begin/commit/rollback and cad_edit_existing, yet the description never says whether this tool must be run inside a change transaction or when to prefer it over a generic edit. Usage is only inferable from the tool's name.

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