Skip to main content
Glama

Set the poster of a knowledge base video

colliedesk_kb_video_poster_set
Idempotent

Give a video its poster, the still picture shown before it plays: a PNG, JPEG, GIF or WebP image of at most 5 MiB, given as base64. It replaces the poster the video had, counts toward storage with the video and becomes its thumbnail in the library.

Needs: kb_media:update.

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": {
      "media_id": "<media_id>",
      "data_base64": "<data_base64>"
    },
    "name": "colliedesk_kb_video_poster_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
media_idYesFrom colliedesk_kb_media_list, or the id in an article's /api/v1/kb/images/<id> link.
data_base64YesThe image bytes, standard base64.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / description
      Previous value: -"Same shape as colliedesk_kb_media_update's output."New value: +"Same shape as colliedesk_kb_file_upload's output."
  2. Changed3 schema fields changed
    • addedOutput schema / description
      Added value: +"Same shape as colliedesk_kb_media_update's output."
    • removedOutput schema / properties
      Removed value: -{
      -  "media": {
      -    "properties": {
      -      "codecs": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "content_type": {
      -        "type": "string"
      -      },
      -      "created_at": {
      -        "type": "string"
      -      },
      -      "duration_ms": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "has_poster": {
      -        "type": "boolean"
      -      },
      -      "has_thumbnail": {
      -        "type": "boolean"
      -      },
      -      "height": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "id": {
      -        "type": "string"
      -      },
      -      "in_trash": {
      -        "type": "boolean"
      -      },
      -      "kept": {
      -        "description": "Never deleted by the purge of unused items.",
      -        "type": "boolean"
      -      },
      -      "kind": {
      -        "enum": [
      -          "image",
      -          "video"
      -        ],
      -        "type": "string"
      -      },
      -      "purge_at": {
      -        "description": "When the daily purge deletes it, for an item nobody kept and no article ever saved.",
      -        "type": "string"
      -      },
      -      "size": {
      -        "description": "Bytes.",
      -        "type": "integer"
      -      },
      -      "team_text": {
      -        "properties": {
      -          "alt": {
      -            "description": "An image's alt text or a video's title.",
      -            "type": "string"
      -          },
      -          "name": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "name",
      -          "alt"
      -        ],
      -        "type": "object"
      -      },
      -      "updated_at": {
      -        "type": "string"
      -      },
      -      "url": {
      -        "description": "The path to put in an article: ![alt](url) for an image.",
      -        "type": "string"
      -      },
      -      "usage": {
      -        "properties": {
      -          "articles": {
      -            "description": "Live articles whose current text names it; above 0 means in use.",
      -            "type": "integer"
      -          },
      -          "help_center": {
      -            "description": "What the help center shows it as; empty when it does not. Such an item is in use: never unused, never purged, even in the trash.",
      -            "items": {
      -              "enum": [
      -                "logo",
      -                "favicon"
      -              ],
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "older_versions": {
      -            "description": "Articles where only an older version names it.",
      -            "type": "integer"
      -          },
      -          "trashed_articles": {
      -            "description": "Articles in the trash that name it.",
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "articles",
      -          "trashed_articles",
      -          "older_versions",
      -          "help_center"
      -        ],
      -        "type": "object"
      -      },
      -      "width": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "kind",
      -      "content_type",
      -      "size",
      -      "url",
      -      "width",
      -      "height",
      -      "kept",
      -      "in_trash",
      -      "created_at",
      -      "updated_at",
      -      "team_text"
      -    ],
      -    "type": "object"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "media"
      -]
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that the existing poster is replaced, that the image counts toward storage alongside the video, that it becomes the library thumbnail, and that kb_media:update is required. These are real behavioral consequences not encoded in the structured fields, though it does not describe the response or any failure modes.

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?

Two tight sentences plus a short requirements line, with the core action front-loaded and no redundant restatement of the title or schema. Every clause carries information about format, effect, or permission.

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 mutation with full schema coverage and an output schema, the description covers the operation, replacement semantics, storage/thumbnail side effects, accepted formats, size limit, and required permission. Nothing an agent needs in order to call it correctly 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 100%, so the baseline is 3, but the description adds meaning the schema lacks: the accepted formats (PNG, JPEG, GIF, WebP) and the 5 MiB size cap, which the schema only expresses indirectly as a maxLength of 7000000 characters. This meaningfully helps the agent construct a valid data_base64 value.

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?

The description states a precise verb and resource ('Give a video its poster') and immediately defines what a poster is, so there is no ambiguity about the operation. It is clearly distinct from the upload-related siblings, which deal with video transfer rather than a still-image poster.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the phrase 'It replaces the poster the video had' tells the agent this targets an already-existing video, and the 'Needs: kb_media:update' line signals a permission prerequisite. There is no explicit when-to-use vs when-not guidance or named alternative tool for related tasks.

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