Skip to main content
Glama

Get a preset's file extension

get_export_file_extension
Read-onlyIdempotent

Determine the output file extension, such as mp4, mov, or wav, that an Adobe Premiere Pro export preset produces for a sequence before you run the export.

Instructions

Return the file extension (without dot, e.g. "mp4", "mov", "wav") that an export preset produces for a sequence.

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": {
      "preset_path": "<preset_path>"
    },
    "name": "get_export_file_extension"
  }
}

Input Schema

NameRequiredDescriptionDefault
preset_pathYesAbsolute path of an .epr preset (from find_export_presets).
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
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

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds genuine value by specifying the return format (extension only, no leading dot), but says nothing about failure behavior for an invalid preset_path or an unresolvable sequence.

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?

A single front-loaded sentence with zero filler; the clarifying examples are embedded rather than appended as noise.

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 usefully supplies the return shape (dotless extension string), which is the key thing an agent needs. It stops short of covering edge cases like an unrecognized preset or an ambiguous sequence selection.

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 the baseline is 3; each parameter already documents its source (find_export_presets, list_sequences) and the id-over-name fallback. The description adds no meaning beyond the schema, though it does implicitly confirm that the sequence context affects the result.

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 (Return) and a precisely scoped resource (the file extension an export preset produces for a sequence), with concrete example values ("mp4", "mov", "wav"). It is clearly a metadata-query tool, not an export action, so an agent can separate it from export_sequence or find_export_presets 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 Guidelines3/5

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

Usage is implied: call this to learn what container format a preset yields, presumably before or alongside an export. The description names no alternative and gives no when-not condition (e.g., 'use export_sequence to actually produce the file', or 'use find_export_presets to obtain a valid preset_path').

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