Skip to main content
Glama

publish_library_video

Destructive

Put a video into the DelegAIze video library AS A DRAFT and get signed upload URLs to Cloudflare R2 (video_de/video_en = MP4 with sound, poster = JPEG, captions_de/captions_en = WebVTT). Nothing becomes public: publishing needs update_library_video {published:true}, which a human admin must approve in the app. Calling again with the same slug on a draft returns fresh upload URLs and updates the given fields. internal:true stores it as INTERNAL instead (team only, can never be published) - the only way to keep customer or partner videos here; without it: no customer or partner videos, no real customer data.

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": {
      "slug": "<slug>",
      "files": "<files>"
    },
    "name": "publish_library_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesURL name, lower case a-z0-9 and '-' (page /videos/<slug>)
sortNoOrder on the page (lower first), default 100.
filesYesWhich upload URLs you need, e.g. ["video_de","video_en","poster","captions_de"]
notesNoInternal notes, never shown publicly (e.g. how the video was made: sources, script, voice, build command). An entry with notes cannot be published.
systemNoConnected system: sap, salesforce, hubspot, pipedrive, odoo, weclapp, business-central, mail, other
industryNoIndustry, e.g. Handwerk, Industrie, Großhandel, Dienstleistung.
internalNotrue: status internal (team only, never public). false on an internal entry makes it a normal draft again.
title_deNoGerman title of the video
title_enNoEnglish title of the video
source_deNoOriginal file name of the German version (traceability)
source_enNoOriginal file name of the English version (traceability)
summary_deNoOne or two sentences, German.
summary_enNoOne or two sentences, English.
duration_de_sNoLength of the German version in seconds
duration_en_sNoLength of the English version in seconds

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / duration_de_s / description
      Added value: +"Length of the German version in seconds"
    • addedInput schema / properties / duration_en_s / description
      Added value: +"Length of the English version in seconds"
    • addedInput schema / properties / source_en / description
      Added value: +"Original file name of the English version (traceability)"
    • addedInput schema / properties / title_de / description
      Added value: +"German title of the video"
    • addedInput schema / properties / title_en / description
      Added value: +"English title of the video"
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare the mutation/destructive profile, and the description adds behavior the agent could not otherwise know: results are never public, fresh signed URLs are reissued on re-call with the same slug, and internal:true is a permanent non-publishable state. The one gap is that it never says what destructiveHint actually affects on re-call (e.g. whether previously uploaded files are replaced or orphaned); it only says fields are updated.

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 purpose and the draft-only guarantee, and each sentence carries operational information. The closing 'without it: no customer or partner videos, no real customer data' partially restates the preceding clause, and the file-format enumeration in the first sentence makes it dense, but nothing is truly wasted.

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?

With 15 parameters and no output schema, the description still tells the agent what comes back (signed upload URLs per file key) and describes the full lifecycle from draft to human-approved publish. Minor incompleteness around what happens to an existing draft's already-uploaded assets on a repeat call keeps it from a 5.

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?

Schema coverage is 100%, so baseline is 3, and the description does add real meaning beyond the schema for 'files' (MP4 with sound, JPEG poster, WebVTT captions) and for 'internal' (team-only, never publishable, policy constraint). It adds nothing, however, about the other 13 parameters such as slug reuse rules or how notes interacts with publishability beyond what the schema already states.

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?

Opens with a specific verb+resource ('Put a video into the DelegAIze video library AS A DRAFT') and immediately names the return payload (signed upload URLs to Cloudflare R2) plus the exact file-type mapping. It also disambiguates from the sibling mutator update_library_video, so an agent can pick between them 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?

Explicitly states when this tool is not sufficient ('publishing needs update_library_video {published:true}') and names the alternative plus the human-approval gate. It also gives hard exclusions: customer or partner videos and real customer data must use internal:true or not be uploaded at all.

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.