Skip to main content
Glama
U-C4N
by U-C4N

Set Preference

system_preferences_set

Set a writable AutoCAD system preference by key and value. Returns old, new, and changed status, rejecting invalid keys, types, or out-of-range values.

Instructions

Write one preference and report old, new and changed.

Refusals, all before any write: a read-only key (Files.*), an unknown key, a value of the wrong type, an int outside the authored range (AutoSaveInterval 0–600 min, CursorSize 1–100, PickBoxSize 0–50, …), an unknown SaveAsType name; headless, capability: "preferences". Pack: settings · lean: no.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesA writable key from system_preferences_get
valueYesNew value: bool, int within the key's range, string, or an enum name

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.6.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description goes further by stating refusals occur "before any write" (atomicity/no partial mutation), enumerating validated ranges, and disclosing the headless capability requirement. It adds genuine behavioral context beyond the annotations, though it does not discuss auth beyond the capability gate.

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?

Front-loaded with purpose, then a tightly grouped refusal clause; nearly every phrase carries information. The trailing "Pack: settings · lean: no." metadata is terse and unexplained, a small amount of noise, keeping it from a 5.

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?

The tool has an output schema, so the description need not explain return values, and it still notes the old/new/changed report and all pre-write validation gates. For a 2-parameter mutation with full schema coverage and annotations, this is essentially complete, with only the get-then-set workflow left implicit.

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 coverage is 100%, so the baseline is 3, but the description supplies concrete range semantics the schema omits (AutoSaveInterval 0–600 min, CursorSize 1–100, PickBoxSize 0–50, enum SaveAsType names). That meaningfully enriches what is otherwise a generic bool/int/string/enum parameter.

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?

States a specific verb+resource ("Write one preference") and its report contract, and the singular scoping ("one preference") distinguishes it from a bulk settings writer. The existence of sibling system_preferences_get makes the read/write split legible immediately.

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

Usage Guidelines4/5

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

The refusal list is excellent when-not guidance: read-only keys, unknown keys, wrong type, out-of-range ints, unknown SaveAsType, and headless/capability conditions are all enumerated. It does not, however, name an alternative or explicitly instruct the agent to source keys from system_preferences_get (only the schema hints at that), so it stops short of a 5.

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

Deploy Server

Other Tools