Skip to main content
Glama

Import Article From Video

kb_article_from_video

Publish a video's help article into the knowledge base, linked back to the video. Pass videoId, or studioProjectId for a Studio project. The video must already have an article — generate one with generate_article first, or this returns 409. A Studio project must be exported first, and exported again if it changed since (409 studio_export_outdated); its first import makes one video that plays the export and returns 409 with that videoId, so run generate_article on it and import again. Later exports of the Studio project update that video. A locked video produces a locked article. Set sourceLocale to the video's language when it is not the knowledge base's main one, so the article is filed as written in that language.

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": {
      "sectionId": "<sectionId>"
    },
    "name": "kb_article_from_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateNo
videoIdNoA video. Send this or studioProjectId.
sectionIdYes
sourceLocaleNoThe language the article is written in. Defaults to the knowledge base's main language.
studioProjectIdNoA Studio project (from list_studio_projects), exported. Send this or videoId.

Output Schema

NameRequiredDescriptionDefault
idNo
slugNo
stateNo
titleNo
lockedNo
tagIdsNo
positionNo
sectionIdNo
visibilityNo
versionNoteNo
sourceLocaleNo
linkedVideoIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / studioProjectId
      Added value: +{
      +  "description": "A Studio project (from list_studio_projects), exported. Send this or videoId.",
      +  "type": "string"
      +}
    • addedInput schema / properties / videoId / description
      Added value: +"A video. Send this or studioProjectId."
    • changedInput schema / required
      Previous value: -[
      -  "videoId",
      -  "sectionId"
      -]New value: +[
      +  "sectionId"
      +]
  2. Changed1 schema field changed
    • addedOutput schema / properties / versionNote
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare the generic profile (not read-only, not destructive, not idempotent, open-world), so the description carries real weight and delivers it: concrete failure modes (409, 409 studio_export_outdated), the first-import-creates-a-linked-video behavior and the required follow-up generate_article + re-import loop, and that lock state propagates from video to article. Nothing here is restated from the annotations.

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 action, then prerequisites, then edge cases — logical ordering with no filler sentences. It is dense and some sentences chain three or four clauses (the Studio first-import sentence especially), which slightly hurts scannability.

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 multi-step, state-dependent import workflow this covers prerequisites, error codes, lock propagation, and locale filing, and an output schema exists so return shapes need not be described. The remaining hole is where the article lands (sectionId) and what state the article is created in.

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?

The description adds genuine meaning for sourceLocale ('filed as written in that language') beyond the schema, and clarifies the videoId/studioProjectId exclusivity. However, the required sectionId and the state enum get no explanation in either the description or the schema, so a meaningful portion of the 60%-covered parameter set remains opaque.

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 ('Publish a video's help article into the knowledge base, linked back to the video') and implicitly separates itself from generate_article, which is named as the prerequisite producer of the article. An agent can tell this is the import step, not the generation step, without opening either 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?

Gives explicit entry conditions and alternatives: pass videoId or studioProjectId, the video must already have an article (otherwise generate_article first), a Studio project must be exported, and re-exported if changed. It also states when to set sourceLocale. This is a full when/when-not guide with the dependency tool named.

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