Skip to main content
Glama

Set a scratch disk location

set_scratch_disk_path
Idempotent

Sets an active project's scratch disk location (preview, capture, auto-save, libraries, MOGRT media) to an existing folder or back to the project folder, returning the new and previous paths.

Instructions

Set one of the active project's scratch disk locations (Project Settings > Scratch Disks) to a folder, or back to the project's own folder. The folder must exist (FILE_NOT_FOUND otherwise). Existing preview or auto-save files are not moved. Returns the location read back and the previous one.

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": {
      "type": "<type>"
    },
    "name": "set_scratch_disk_path"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoAbsolute path of an existing folder. Required unless same_as_project is true; ignored when it is.
typeYesWhich scratch disk: video_capture (captured video), video_preview / audio_preview (render previews), auto_save (project auto-saves), cc_libraries (CC Libraries downloads), motion_graphics_templates (Motion Graphics template media). The captured-audio location cannot be changed by script in Premiere Pro 26.
same_as_projectNotrue = use the folder of the project file (Premiere's default) instead of path. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses the failure mode (FILE_NOT_FOUND for a missing folder), a non-obvious side effect ('Existing preview or auto-save files are not moved'), and what is returned (new and previous location). These are exactly the behaviors an agent cannot infer from structured fields.

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?

Four short sentences, front-loaded with the action and target, followed by the precondition, the side-effect caveat, and the return value. Nothing is repeated from the schema or annotations and no sentence is disposable.

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?

With no output schema, the description compensates by stating what comes back; with annotations already covering safety and idempotency, it adds the precondition, side effects, and return shape. For a 3-parameter mutation tool with 100% schema coverage, nothing an agent needs to invoke it correctly is missing.

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%, and the schema already explains path, type (with enum values and the captured-audio caveat), and same_as_project. The description only restates the path-vs-project-folder choice in prose, adding no format or syntax detail beyond the schema; baseline 3 is appropriate.

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?

The description opens with a specific verb and resource: 'Set one of the active project's scratch disk locations (Project Settings > Scratch Disks) to a folder, or back to the project's own folder.' It names the two possible target states and anchors the resource to a concrete UI location, so an agent can distinguish this write operation from the read-only get_scratch_disk_paths sibling.

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?

It gives clear preconditions ('The folder must exist (FILE_NOT_FOUND otherwise)') and describes the two usage modes — supplying a path versus reverting to the project's own folder. It does not explicitly say when to prefer get_scratch_disk_paths first or when not to call this, so guidance is strong but not complete.

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