Skip to main content
Glama

Get an item's Project-panel path

get_item_path
Read-onlyIdempotent

Return a project item's Project panel path, depth, parent bin, and ancestor chain to map bin hierarchy and nesting in Premiere Pro.

Instructions

Return where a project item sits in the Project panel: its path such as "Footage/Day 1/clip.mp4", depth (0 = in the root), in_root, the parent bin and the chain of ancestor bins from the root down. Use get_project_item for the item's other details.

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

Input Schema

NameRequiredDescriptionDefault
item_idNoStable project item id (from list_project_items). Preferred.
item_nameNoItem name; the first match in the project is used.
item_pathNoPath in the Project panel, e.g. "Footage/Day 1/clip.mp4".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so the safety profile is covered. The description adds value by defining the return shape in the absence of an output schema, notably that depth 0 means root and that the ancestor chain runs root-down. It is silent on what happens if no item matches or which identifier wins when several are supplied.

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?

Two sentences: the first front-loads the purpose and the full return surface, the second routes to the sibling. No filler and no restatement of the title.

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?

With no output schema, the description carries the return-value explanation and does so clearly, which is the main completeness requirement here. Remaining gaps are edge behavior (no-match case, precedence among the three optional identifiers) rather than core capability.

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 three selectors (item_id, item_name, item_path) are already documented with their own semantics, including that item_name takes the first match. The description adds no precedence rules or guidance on choosing between the three, so it does not exceed the schema baseline.

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?

Uses a specific verb-and-resource ("Return where a project item sits in the Project panel") and enumerates exactly what is produced: path, depth, in_root, parent bin, and the ancestor chain. It explicitly differentiates itself from get_project_item, which covers the item's other details.

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?

Names the sibling to use for anything other than panel location, giving clear routing between the two. It does not state when you would need path/depth specifically (e.g. for building bin-relative references), so context is good but not exhaustive.

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