Skip to main content
Glama

Flush the project's cache

flush_project_cache
Idempotent

Flush the active project's in-memory media cache to force Premiere Pro to read frames from disk again after external media changes.

Instructions

Ask Premiere Pro to flush the cached media data it holds in memory for the active project, so frames are read from disk again. Use it after media files were changed on disk by another program. It does not delete preview files (see delete_sequence_previews) or the media cache database. Returns flushed=true.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "flush_project_cache"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, but the description goes further by scoping the affected memory only and naming exactly what is preserved (preview files, media cache database). It also documents the return payload (flushed=true), which no schema covers. Minor gap: it doesn't say what happens to currently playing frames or whether a re-read costs performance.

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?

Three sentences, front-loaded with the action and effect before the usage trigger and the exclusions. Every sentence carries distinct information — effect, trigger, non-effects, return value — with no repetition of the title.

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?

A parameterless, non-destructive tool whose description covers the action, the trigger, the exclusions and the return value. With no output schema needed and annotations covering safety, nothing an agent needs in order to call it correctly is missing.

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?

The tool takes zero parameters, so the baseline is 4. The description correctly implies no configuration is needed and adds no misleading parameter hints.

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 (flush) and resource (cached media data held in memory for the active project), plus the observable effect that frames are read from disk again. It also explicitly distinguishes itself from delete_sequence_previews and from the media cache database, so an agent can tell it apart from siblings without opening schemas.

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

Usage Guidelines5/5

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

Gives an explicit trigger condition — use it after media files were changed on disk by another program — and an explicit exclusion pointing at the correct sibling tool for preview files. When-to-use, when-not-to-use, and an alternative are all present.

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