Skip to main content
Glama

Set one XMP property of a clip

set_item_xmp_property
DestructiveIdempotent

Set one text XMP property on a Premiere Pro project item’s media by namespace and property name without altering other XMP, then return the value read back.

Instructions

Set one simple (text) XMP property of a project item's media by namespace URI and property name, leaving the rest of the XMP untouched. For a namespace that is not a standard one, pass prefix so it can be registered. Premiere writes XMP back into the media file on disk for formats that support it, so this modifies the original media file. Returns the value read back.

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": {
      "namespace": "<namespace>",
      "name": "<name>",
      "value": "<value>"
    },
    "name": "set_item_xmp_property"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesProperty name inside the namespace, without prefix (e.g. scene).
valueYesNew value as text.
prefixNoPreferred prefix when the namespace is not registered yet (e.g. myco).
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".
namespaceYesNamespace URI, e.g. http://ns.adobe.com/xmp/1.0/DynamicMedia/.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior5/5

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

Annotations flag destructiveHint=true, but only the description explains what is actually destroyed: 'Premiere writes XMP back into the media file on disk for formats that support it, so this modifies the original media file.' It also discloses the namespace-registration prerequisite and the read-back return behavior, all of which go beyond the structured fields.

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?

Four short sentences, front-loaded with the operation and its scope, then the side effect. Every sentence adds a distinct fact (scope, namespace prerequisite, disk write, return value) with no repetition of the title or schema.

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?

With no output schema the description discloses the return ('the value read back'), and for a 7-parameter destructive mutation it covers the critical unknowns: side effect on the original media file, write-support caveat, and namespace registration. Item-identification details are fully handled by the schema.

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 earns extra credit by explaining why `prefix` matters ('so it can be registered' for non-standard namespaces) and by clarifying that `value` is text-only. It adds no guidance on choosing among item_id/item_name/item_path, which the schema already explains.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Set one simple (text) XMP property of a project item's media by namespace URI and property name') and scopes the blast radius with 'leaving the rest of the XMP untouched'. The 'one simple (text) property' framing implicitly distinguishes it from a bulk set_item_xmp, but no sibling is named explicitly.

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 context is implied rather than stated: 'one simple (text) property' suggests single-property writes, but there is no explicit 'use X instead when you need multiple properties' or a pointer to get_item_xmp_property for reading. The prefix sentence is parameter guidance, not when-to-use guidance.

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