Skip to main content
Glama

update_library_video

DestructiveIdempotent

Change a library entry (by id or slug). published:true (make public) and ANY change to an already public entry are parked for approval and run only when a human admin approves them: in the app (Freigaben), or on that human's explicit request via resolve_pending_tool_call {human_request} with their own API key (never as an agent). published:false (withdraw) takes effect immediately. status internal = team only: withdraws a public entry at once and blocks publishing until set back to draft. youtube_url_de/youtube_url_en store a YouTube link. Never deletes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "update_library_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoID of the library video to change
slugNoURL name of the entry (alternative to id)
sortNoOrder on the page (lower first), default 100.
notesNoInternal notes, never shown publicly (e.g. how the video was made: sources, script, voice, build command). An entry with notes cannot be published.
statusNointernal: team only, never public; archived hides the entry (not deleted)
systemNoConnected system: sap, salesforce, hubspot, pipedrive, odoo, weclapp, business-central, mail, other
industryNoIndustry, e.g. Handwerk, Industrie, Großhandel, Dienstleistung.
title_deNoGerman title of the video
title_enNoEnglish title of the video
publishedNotrue makes it public (needs admin approval); false withdraws it immediately
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
youtube_url_deNoYouTube link of the German version
youtube_url_enNoYouTube link of the English version

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 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 / id / description
      Added value: +"ID of the library video to change"
    • addedInput schema / properties / published / description
      Added value: +"true makes it public (needs admin approval); false withdraws it immediately"
    • addedInput schema / properties / slug / description
      Added value: +"URL name of the entry (alternative to id)"
    • 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"
    • addedInput schema / properties / youtube_url_de / description
      Added value: +"YouTube link of the German version"
    • addedInput schema / properties / youtube_url_en / description
      Added value: +"YouTube link of the English version"
  2. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description discloses the real behavioral mechanics: changes to public entries are parked and only execute on human approval via the app or via resolve_pending_tool_call with the human's own API key, never as an agent. It also clarifies that status internal withdraws a public entry instantly and that the tool never deletes, which meaningfully qualifies the destructiveHint.

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?

The core action and addressing scheme are front-loaded, and the dense approval paragraph carries genuinely load-bearing information rather than filler. It is still a single run-on block that would scan better split into action, approval, and status sentences.

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 16-parameter mutation tool with no output schema, the description covers the risky parts well — approval gating, immediate effects, and non-destructiveness. The notable gap is that zero parameters are required and the description never states that id or slug must be supplied, so an agent could call it with an empty body.

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 100%, so the baseline is 3, and the description does add beyond it: it spells out the asymmetric effect of published true vs false and the immediate-withdrawal consequence of status internal, neither of which the enum description fully conveys. The notes and youtube_url mentions mostly echo what the schema already states.

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?

The description opens with a specific verb and resource: 'Change a library entry (by id or slug)', which is unambiguous about what the tool does and how the target is addressed. It stops short of differentiating from sibling tools such as publish_library_video, whose purpose clearly overlaps with the published:true path described here.

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?

It gives unusually concrete conditional guidance: publishing and any change to an already-public entry are queued for human approval, withdrawal via published:false is immediate, and status internal blocks publishing until reset to draft. What is missing is routing guidance against the alternatives — it never says when to call this instead of publish_library_video or update_youtube_video.

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.