Skip to main content
Glama

dim_set

Set a named model dimension to a new value and regenerate the model so geometry reflects the updated size.

Instructions

Change a dimension value (model units) and regenerate. name like "d12" or a renamed dimension.

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>",
      "value": "<value>"
    },
    "name": "dim_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNo
nameYes
valueYes
regenerateNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one meaningful side effect: regeneration follows the change, and regenerate defaults to true. It omits whether the change is persisted to disk, whether it can be undone, what happens if regeneration fails, and whether the model must be open.

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?

Two short sentences, front-loaded with the action and units before the naming convention. No wasted wording; slightly terse given the parameter gaps.

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 explained, and the regeneration behavior is stated. However, for a mutation tool with zero annotation coverage, leaving the file parameter and failure/persistence behavior unaddressed is a real gap.

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 does explain the value is in model units and gives the name format ("d12" or a renamed dimension), and 'and regenerate' hints at the boolean, but the 'file' parameter is entirely undocumented in both schema and description.

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: 'Change a dimension value' with 'model units' and 'regenerate' qualifying the semantics. An agent can readily distinguish this from dim_list, though the description never names the sibling or states the read/write split explicitly.

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?

Usage is implied rather than stated: you change a dimension and it regenerates. There is no guidance on when to set regenerate false, no prerequisites, and no mention of alternatives such as dim_list for discovering valid dimension names.

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