Skip to main content
Glama

Check project media files on disk

check_project_media
Read-onlyIdempotent

Verifies that every Premiere Pro project item's media file exists on disk and reports missing or offline files, sizes, and total counts.

Instructions

Check, on the server's file system, that the media file of every project item exists: returns per item the media path, whether it exists, its size in bytes and Premiere's offline flag, plus the list of missing files, total bytes and counts. Items without a media file (bins, sequences, synthetic media) are skipped. Read-only; relink with replace_clip_media or Premiere's Link Media.

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": "check_project_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_itemsNoReturn at most this many item entries (counts include all). Default 1000.
only_problemsNoReturn only items whose file is missing or that Premiere reports offline. Default false.

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?

Annotations already declare readOnly/idempotent/non-destructive, and the description goes further by describing the exact payload (per-item path, existence, size, offline flag) and aggregate results (missing list, total bytes, counts) in the absence of an output schema. It also discloses the skip rule for non-file items and points to the remediation tool, which is behaviorally useful context beyond the annotations.

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?

Three sentences, front-loaded with the core action and followed by skip rules and the relink alternative; no filler. The opening sentence is long and packs several clauses, which slightly reduces scannability but every clause carries information.

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 correctly assumes responsibility for explaining return values, and it does so field by field. Parameters are fully covered by the schema, the skip behavior is stated, and the remediation route is named — nothing an agent needs to invoke and interpret this tool 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%, so both max_items and only_problems are already fully documented, establishing a baseline of 3. The description hints at the problem-filtering concept ("list of missing files", "offline flag") but does not explain truncation semantics for max_items or how only_problems interacts with the counts.

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 states a specific verb and resource ("check, on the server's file system, that the media file of every project item exists") and enumerates exactly what is produced: per-item path, existence, byte size, Premiere offline flag, plus missing-file list, total bytes and counts. This distinguishes it from siblings like get_item_media_info (metadata) and probe_media_file (single-file probing) without needing their schemas.

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 clarifies scope boundaries by stating that items without a media file (bins, sequences, synthetic media) are skipped, and it names the follow-up path for failures: relink with replace_clip_media or Premiere's Link Media. It does not explicitly say when to prefer this over probe_media_file or find_items_by_media_path, so exclusion guidance against siblings is only partial.

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