Skip to main content
Glama

Cancel a knowledge base video upload

colliedesk_kb_video_upload_cancel
Idempotent

Cancel an upload in progress and throw its parts away. Only the person who started it can, or someone with kb_media:purge.

Needs: kb_media:create.

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": {
      "upload_id": "<upload_id>"
    },
    "name": "colliedesk_kb_video_upload_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
upload_idYesFrom colliedesk_kb_video_upload_start.

Output Schema

NameRequiredDescriptionDefault
cancelledYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations it discloses two things the agent would otherwise have to guess: the discard of uploaded parts, and the authorization model (owner only, or kb_media:purge, on top of kb_media:create). It does not restate idempotency (which the annotations already assert) and doesn't say what happens when cancelling an already-finished upload, so it stops short of full transparency.

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?

Two short sentences plus a compact requirements line, with the action and its side effect front-loaded. The permission story is slightly split across two sentences (purge in the first, create in the second), which costs a little clarity but no real waste.

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 single-parameter cancel call with annotations and an output schema, purpose, effect, and permissions are covered. Remaining gaps (post-completion behavior, idempotent re-cancel) are modest but real for a tool that discards data.

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% and the schema already explains upload_id comes from colliedesk_kb_video_upload_start, so the description adds no format, sourcing, or reuse detail beyond it. Baseline 3 applies.

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?

"Cancel an upload in progress and throw its parts away" gives a specific verb (cancel) plus the resource and scope (an in-progress video upload), and the consequence clause distinguishes it from siblings like upload_complete or upload_status without needing their schemas.

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?

The phrase "an upload in progress" implicitly bounds when this applies, and it states the permission conditions, but it never says what to do in adjacent cases (upload already completed, failed, or unknown id) or points at upload_status/upload_list to check state first.

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