Skip to main content
Glama

import_media

Probe a video, audio, or image file and register it for timeline editing, returning a media ID to reference in later project operations.

Instructions

Probe a video/audio/image file and register it. Returns the media id.

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": {
      "path": "<path>",
      "file": "<file>"
    },
    "name": "import_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYes
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. 'Register it' implies persistent state mutation, but the description says nothing about whether re-importing duplicates media, whether the file is copied or referenced, supported formats, or error behavior. Only the return value (media id) is disclosed.

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?

Two short sentences, front-loaded with the action and ending with the return value; no filler. It is terse, but every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations, no output schema, and zero parameter documentation, the description does too little. Knowing the media id is returned helps, but the persistence semantics and the path/file distinction an agent needs to call it correctly are absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for two required parameters named 'file' and 'path', whose roles are ambiguous (filename vs directory?). The description's mention of 'a video/audio/image file' hints at accepted media types but does not clarify either parameter's expected format.

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?

States a specific compound action (probe and register) on a specific resource (video/audio/image file), and notes the return value. It is distinguishable from probe_media by the 'register it' clause, though the distinction is only implicit.

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

Usage Guidelines2/5

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

No when-to-use guidance. With a sibling named probe_media present, an agent gets no explicit statement of when to import versus merely probe, nor any prerequisites or exclusions.

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