Skip to main content
Glama

Get clip pan

get_clip_pan
Read-onlyIdempotent

Read an audio clip's pan balance (-100 full left to +100 full right), raw panner value, and pan keyframe count for Premiere Pro timeline inspection.

Instructions

Read an audio clip's Panner > Balance as -100 (full left) .. 0 (centre) .. +100 (full right), plus the raw value and the number of pan keyframes. Clips without a panner give NOT_FOUND. The clip must be on an audio track; a video clip is rejected with BAD_ARGS (pass its linked audio clip instead; the error names it).

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

Input Schema

NameRequiredDescriptionDefault
clip_idNoStable clip id (from get_sequence_structure / list_clips). Preferred.
clip_indexNo0-based index of the clip in its track's clip list, as reported by list_clips / get_sequence_structure. Usually time order, but a moved clip can keep its old index, and indices shift after edits: prefer clip_id.
track_typeNoUsed with track_index + clip_index when clip_id is not given. Default "audio" in this toolset; "video" is rejected.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
track_indexNo0-based track index (0 = V1 or A1).
sequence_nameNoSequence name; used only when sequence_id is not given.

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 readOnly, idempotent, non-destructive, closed-world, so the safety bar is covered; the description adds genuine value with the two error codes and the recovery hint that the BAD_ARGS error names the linked audio clip. It stops short of describing the shape of the returned pan value or how keyframed pans are represented, which matters since there is no output schema.

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 sentences, front-loaded with the resource and value range, then failure modes in escalating specificity. No filler and nothing repeated from 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?

For a six-parameter read tool with full schema coverage and annotations covering safety, the description supplies the missing behavioral context (error codes, audio-track requirement, remapping advice). The only gap is the return payload's structure, since no output schema exists to carry it.

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 six parameters, including the audio/video enum and the clip_id-vs-track_index+clip_index precedence, are already documented in the schema. The description's note that video is rejected restates what the track_type parameter description already says, adding no new syntax or format detail beyond 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 ('Read') and resource ('audio clip's Panner > Balance'), gives the value range (-100..+100 with semantic anchors at each end), and names the extra returned fields (raw value, pan keyframe count). This is clearly distinguishable from the sibling set_clip_pan.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly constrains usage: the clip must be on an audio track, and video clips are rejected with BAD_ARGS with the instruction to pass the linked audio clip instead. It also covers the negative case where a clip has no panner (NOT_FOUND), so the agent knows the two failure modes before calling.

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