Skip to main content
Glama

Get the Project panel selection

get_selected_project_items
Read-onlyIdempotent

Returns the items currently selected in the Project panel, including selection count and item details, so you can inspect or act on them. Empty when nothing is selected.

Instructions

Return the items currently selected in the Project panel: selected (count) and items shaped like list_project_items entries. Empty when nothing is selected. Use get_selected_clips for the timeline selection.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/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 genuinely useful behavior beyond that: the return consists of a selection count plus items shaped like list_project_items entries, and the empty-selection case is stated explicitly. Missing only pagination/ordering details, which are irrelevant for a selection read.

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 compact sentences, each earning its place: return shape first, empty-case second, alternative-tool routing last. Fully front-loaded with zero filler.

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?

No output schema exists, so the description must carry the return-value burden, and it does by naming the count field and describing items by analogy to list_project_items. A slightly more explicit field description would close the remaining gap, but an agent has enough to call and interpret it.

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 there is nothing for the description to disambiguate; baseline 4 applies. No parameter guidance is needed or expected.

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 items currently selected in the Project panel") with explicit scope — the Project panel, not the timeline — which cleanly separates it from get_selected_clips and the various list_* project tools.

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?

Explicitly routes the agent to get_selected_clips when the timeline selection is wanted, and the note that the result is empty when nothing is selected clarifies the calling context. It does not contrast with list_project_items or select_project_items, but the panel-vs-timeline split is the critical disambiguation.

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