Skip to main content
Glama

Import content

import_items

Imports items found with list_import_items into a workspace library (the per-call cap is max_per_import from the source list, usually 20; Canva and Descript cap at 10). Sources that render first (opusclip, klap, descript, canva mp4) can take up to 2.5 minutes. Pass container_id for sources with projects, and import options in options (e.g. { format: "landscape" } for twitch, { version: "captioned" } for heygen, { format: "mp4" } for canva). Returns per item: video_upload_id (pass to create_post_drafts or create_carousel), caption and title (use the title as the YouTube title; shorten the caption for X and Bluesky), or ok: false with an error. Items that fail don't stop the others. OneDrive, Box and Frame.io items of type "document" (PDF, PowerPoint, Word) return kind: "document" and a "document" object instead of a video_upload_id: make a LinkedIn text post (create_text_post, then create_post_drafts for LinkedIn), then set platform_settings.linkedin.document to that object unchanged with update_post, within 48 hours (unused documents are deleted after that).

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": {
      "workspace_id": "<workspace_id>",
      "source": "<source>",
      "item_ids": "<item_ids>"
    },
    "name": "import_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYes
optionsNoImport options for the source.
item_idsYesItem ids from list_import_items, all from one container when the source has them.
container_idNoThe project id, for sources with projects.
workspace_idYesWorkspace to import into. Get it from list_workspaces.
idempotency_keyNoOptional client-generated key (e.g., a UUID) to make retries safe. Identical calls with the same key within 10 minutes return the original result instead of running the write twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / source / enum
      Previous value: -[
      -  "canva",
      -  "opusclip",
      -  "klap",
      -  "twitch",
      -  "heygen",
      -  "descript",
      -  "onedrive",
      -  "box"
      -]New value: +[
      +  "canva",
      +  "opusclip",
      +  "klap",
      +  "twitch",
      +  "heygen",
      +  "descript",
      +  "onedrive",
      +  "box",
      +  "frameio"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / source / enum
      Previous value: -[
      -  "canva",
      -  "opusclip",
      -  "klap",
      -  "twitch",
      -  "heygen"
      -]New value: +[
      +  "canva",
      +  "opusclip",
      +  "klap",
      +  "twitch",
      +  "heygen",
      +  "descript",
      +  "onedrive",
      +  "box"
      +]
  3. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare it is a non-read-only, open-world, non-destructive write; the description adds substantially more: a per-call cap from max_per_import (usually 20, 10 for Canva/Descript), render latency up to 2.5 minutes for some sources, per-item failure isolation, partial-success return shape, and the 48-hour document expiry with automatic deletion. These are operational facts an agent cannot get from the annotations or schema.

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 core action and cap, then progressively adds source-specific detail and the return-value contract; nearly every clause carries distinct information. It is dense and a couple of sentences run long (the document paragraph), which slightly hurts scanability.

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?

A six-parameter, nested-object, open-world write tool with no output schema, yet the description documents the return contract (video_upload_id, caption, title, ok:false), how to consume each field, and the full document fallback path with its time limit. Nothing an agent needs to call it or handle its result is missing.

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

Parameters5/5

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

Schema coverage is already 83%, yet the description still adds meaning: container_id is explained as the project id for sources with projects, options is illustrated with source-specific keys and values, and item_ids is constrained to a single container. The document-handling branch explains what to do with a returned object that never appears in the input 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?

States a specific verb and resource ("Imports items found with list_import_items into a workspace library") and explicitly ties itself to the sibling that produces its input, so an agent can distinguish the list/import pair immediately.

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?

Gives concrete when-to-use conditions: pass container_id for sources with projects, per-source options examples (twitch format, heygen version, canva mp4), and routes the returned ids onward to create_post_drafts, create_carousel, or create_text_post/update_post for documents. The precondition that item_ids come from list_import_items is explicit.

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.