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, assets:[{asset_id, title, media, native_duration, width, height}], revision}. Bind one with studio_patch: {op:"bind_visual", uid, visual:{kind:"user_clip", asset:<one of these objects, untouched>}}.

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

A4.5/5.0
Behavior4/5

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

Annotations declare readOnly=false and destructive=false, so the description's added value is elsewhere: it discloses that the operation is free, that it returns a revision (implying version tracking), and that importing alone does not place the clip — binding is required. It does not describe failure behavior for invalid ids or duplicate imports, leaving a modest gap.

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?

Front-loaded with 'Free.' then purpose, then Args and Returns in a compact labeled block. Every clause carries information — the cost note, the sequencing hint, and the exact bind payload shape — with no filler.

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?

For a two-parameter import tool with no output schema, the description supplies the return shape and, crucially, the literal follow-up call payload ({op:"bind_visual", uid, visual:{kind:"user_clip", asset:...}}). Nothing essential to correct invocation is missing.

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 by naming the source tool (library_list) for ids and restating the 1-10 cardinality, which is the practical guidance an agent needs, though item id format specifics are left implicit.

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 and resource (import Library videos or images into the project's media bin) and immediately scopes it against the follow-up step: clips are inert until bound with studio_patch. An agent can distinguish this from library_list or studio_patch without opening any schema.

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 clear sequencing guidance: call library_list first for ids, then studio_patch with the returned asset object to actually use the clip. It lacks explicit when-not-to-use framing (e.g. stock vs. user media), but the workflow context is unambiguous.

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