Skip to main content
Glama

Get the bin tree

get_bin_tree
Read-onlyIdempotent

Returns a nested tree of a Premiere Pro project bin, including sub-bins, clips, and sequences, with depth and item-inclusion controls for structured project browsing.

Instructions

Return the Project panel as a nested tree starting at a bin (default: the project root). Every bin node has item_id, name, path, the counts bins and items, and a contents array holding its sub-bins and items; the result also has total_bins and total_items. Set include_items=false for a bins-only outline. Bins deeper than max_depth are returned without contents and marked truncated=true. Search bins are leaves marked smart_bin=true. Use list_project_items for a flat list.

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_bin_tree"
  }
}

Input Schema

NameRequiredDescriptionDefault
bin_idNoStable id of the bin. Omit all bin_* arguments to use the project root.
bin_nameNoBin name; the first match is used.
bin_pathNoBin path, e.g. "Footage/Day 1".
max_depthNoHow many levels of sub-bins to expand below the start bin, 0-50. 0 = only its direct children (sub-bins not expanded). Default 10.
include_itemsNoInclude clips and sequences, not only bins. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, and the description adds genuinely new context: the per-node fields, the truncation rule (bins deeper than max_depth lack `contents` and carry truncated=true), and smart_bin leaves. That is real behavioral disclosure an agent needs to interpret results correctly.

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?

Leads with the core action and scope, then the node shape, then the two flags that alter behavior, then the sibling pointer. Dense but every clause carries information; nothing is redundant with 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?

There is no output schema, and the description compensates by describing the exact result shape (item_id, name, path, counts, contents, totals). For a read-only tree tool with five optional parameters, an agent has enough to call it and interpret the response.

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, but the description adds meaning the schema does not: include_items=false yields a bins-only outline and max_depth truncation produces incomplete nodes rather than errors. The bin_* selector precedence (root when omitted) is only in the schema.

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 ("Return the Project panel as a nested tree starting at a bin") plus the default scope (project root). It also distinguishes itself from list_project_items, so an agent can pick it over the flat-list sibling without opening a 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?

Names the alternative explicitly: "Use list_project_items for a flat list," which gives a clear routing condition. There is no explicit when-not guidance beyond that contrast, so it stops short of full 5-level coverage.

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