Skip to main content
Glama

Write a preference

set_preference
DestructiveIdempotent

Writes a Premiere Pro application preference with optional key creation and persistence, then returns the read-back and previous value to verify the change.

Instructions

Write one Premiere Pro preference. Preferences are application-wide and many are only read at startup, so a change may need a restart to take effect; a wrong value can change how Premiere behaves, so read the current value with get_preference first. Returns the value read back after the write, the previous value, and whether the key existed and changed. Fails with NOT_FOUND if the key does not exist and create=false, UNSUPPORTED if it is read-only, FAILED if the value does not read back.

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": {
      "key": "<key>",
      "value": "<value>"
    },
    "name": "set_preference"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesPreference key exactly as Premiere Pro stores it, e.g. "BE.Prefs.AutoSave.Interval" or "BE.Prefs.StillImages.DurationInSeconds". Keys are case-sensitive.
valueYesNew value. Numbers and booleans are stored as text (true becomes "true").
createNoCreate the key if it does not exist yet. Default true; false makes a missing key an error.
persistentNotrue = keep the value across restarts; false = for this session only. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint=true, idempotentHint=true) by disclosing that preferences are application-wide, that many are read only at startup so a restart may be required, and that a wrong value alters Premiere's behavior. It also enumerates the exact failure modes (NOT_FOUND, UNSUPPORTED, FAILED) and what the response contains, which the annotations cannot convey.

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?

The core operation and the read-first precondition are front-loaded, and the trailing error-code sentence is dense but useful. The sentence is long and chains several clauses (restart caveat, warning, return values, errors), slightly reducing scannability.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Though there is no output schema, the description explains the return payload (value read back, previous value, whether the key existed and changed) as well as error behaviors and the restart caveat. For a four-parameter mutation tool with destructive semantics, this covers everything an agent needs before invoking it.

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 100%, so all four parameters (including create and persistent) are already documented in structured form. The description only restates the create=false → NOT_FOUND condition, which the schema already implies, and adds no new syntax or format guidance, so the baseline 3 applies.

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?

Opens with a specific verb+resource ("Write one Premiere Pro preference") and scopes the write to a single key, which cleanly separates it from get_preference, clear_preference, and has_preference among the siblings. An agent can identify the operation without reading the schema.

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?

Explicitly directs the agent to call get_preference first to read the current value, giving a concrete precondition and rationale. It does not name alternatives for removal or bulk writes (e.g., clear_preference), so it falls just short of full when/when-not guidance.

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