Skip to main content
Glama

Inspect clip media file

get_asset_metadata
Read-onlyIdempotent

[read] Inspect a clip's underlying media file: pixel width/height, aspect, fps, real duration, and whether it has an audio track. Use before placing or scaling B-roll so you know its shape. Not for a compound clip (use get_compound_children). Returns width, height, aspect, fps, hasAudio, fileDurationMs and clipDurationMs. Related: get_timeline, set_clip_transform, get_compound_children. Full docs: load_skill with tools: [name].

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": {
      "project_id": "<project_id>"
    },
    "name": "get_asset_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoClip id from get_timeline.
itemsNoMany assets at once, max 20, each with this tool's fields; fields beside it are defaults.
project_idYesThe AskEditor project this acts on (from list_projects).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered; the description adds real value by enumerating the response fields (width, height, aspect, fps, hasAudio, fileDurationMs, clipDurationMs) in the absence of an output schema. It stops short of describing edge cases such as clips with missing/offline media or how errors surface.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the tool's identity and purpose, followed by usage, return shape, and siblings — a sensible ordering with no filler sentences. The trailing pointer to load_skill is slightly boilerplate but legitimately actionable.

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 read-only inspector with no output schema, the description covers purpose, when to use, exclusion, and the exact return fields — enough to call it correctly. The only gap is the unexplained batched `items` path, which the schema carries alone.

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 of 3 applies. The description adds nothing about parameters — notably it never mentions the `items` batch form (max 20) or how `id` and `items` interact, leaving that entirely to 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?

A specific verb ('Inspect') plus resource ('a clip's underlying media file') and an explicit enumeration of the attributes returned (width/height, aspect, fps, duration, audio presence). It also names the sibling it is not (get_compound_children), so an agent can distinguish it without opening the schema.

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?

'Use before placing or scaling B-roll so you know its shape' gives the triggering context, and 'Not for a compound clip (use get_compound_children)' supplies an explicit exclusion with the alternative named. Related tools (get_timeline, set_clip_transform) further route the agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources