Skip to main content
Glama

List project media

list_project_media
Read-onlyIdempotent

Lists media referenced by a Kdenlive project's bin, resolves missing or unreadable files and effect assets, and optionally adds ffprobe metadata for available files.

Instructions

List the media referenced by a Kdenlive project's bin and diagnose missing or unreadable files, plus files used by effects and transitions (LUTs, luma wipes, subtitles). References are resolved exactly like Kdenlive does (project root, moved projects, proxies). Read-only; URLs are reported but never fetched. With probe=true, ffprobe metadata (streams, codecs, sizes, frame rates, rotation) is added for up to 50 available files.

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": {
      "path": "<path>"
    },
    "name": "list_project_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path of a .kdenlive project file on this machine.
probeNoRun ffprobe on available files.
max_itemsNoMaximum bin items returned.

Output Schema

NameRequiredDescriptionDefault
rootYes
itemsYes
notesYes
countsYes
probedYes
missingYesResolved paths (or references) of missing media.
projectYes
truncatedYes
asset_filesYesFiles used by effects and transitions (checked like Kdenlive does).
total_itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description is free to add the traits that matter: reference resolution follows Kdenlive's own rules including moved projects and proxies, URLs are reported but never fetched, and probing is capped at 50 available files. Those caps and resolution semantics are real behavioral disclosures not present in the 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded: the core action and its diagnostic purpose come first, then resolution semantics, then the probe behavior and its cap. Dense but no sentence is filler, though 'Read-only' partially restates the readOnlyHint annotation and the parenthetical asset list makes the middle clause long.

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?

For a read-only listing tool with an output schema, this covers what an agent needs: what is listed, how references resolve, what probing adds, and its limits. The only soft spot is the absence of any note on truncation semantics or on how this differs from the dedicated probe_media sibling when probe=true.

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; the description earns an extra point by expanding probe=true beyond the schema's bare 'Run ffprobe on available files' into the specific metadata returned (streams, codecs, sizes, frame rates, rotation) and the 50-file limit. max_items is left entirely to the schema, which is acceptable given its documented default and bounds.

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 and resource — list the media referenced by a Kdenlive project's bin — and immediately broadens it with the diagnostic purpose (missing/unreadable files) plus effect assets like LUTs, luma wipes, and subtitles. That scope is distinct enough from the sibling list of project/inspection tools that an agent can identify the right tool without opening 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?

Usage context is clear: use it to audit a project's media and diagnose broken references, and the probe=true flag is explained as opting into ffprobe metadata. It stops short of naming alternatives — notably it never says when to use the sibling probe_media instead of setting probe=true here — so there is context but no explicit routing or exclusions.

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