Skip to main content
Glama

Add Library clips to a project

studio_import_media

Free. Import your Library videos or images into the project's media bin (then bind them with studio_patch).

Args: project_id: project. library_ids: 1-10 Library item ids (library_list).

Returns: {ok, ...the imported media as the editor reports it}

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>",
      "library_ids": "<library_ids>"
    },
    "name": "studio_import_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesA project id from studio_list_projects.
library_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the mutation profile is covered. The description adds genuinely new context the annotations lack: the operation is free and is only the first half of a two-step flow (import, then bind via studio_patch). It omits idempotency/duplicate handling, failure behavior, and whether the bin is additive or replaced.

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 cost and action, then compact Args/Returns blocks with no filler. The 'project_id: project.' line is elliptical to the point of near-redundancy, but overall it is tight and scannable.

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 simple two-required-parameter tool with no output schema, the definition covers source of ids, the follow-up step, cost, and an inline Returns shape. The only material omission is behavior for duplicates or partial failures across a batch of up to 10 items.

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 50% – project_id is documented in-schema but library_ids is bare. The description compensates for the gap by defining library_ids as 1-10 Library item ids sourced from library_list, which is exactly the missing meaning. It adds little for project_id beyond the schema's own description.

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 verb and resource ('Import your Library videos or images into the project's media bin') and situates it in a workflow by pointing to studio_patch for binding and library_list as the id source. It does not explicitly contrast with other library-to-project routes (e.g., stage_library_item or studio_bind_stock), so sibling differentiation is implied rather than stated.

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

Usage Guidelines4/5

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

Gives a clear usage context: pull ids from library_list, import here, then bind with studio_patch. The 'Free' prefix signals no credit cost, which helps decide whether to call it. It stops short of saying when NOT to use it or what happens if media is already in the bin.

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