Skip to main content
Glama

Delete a knowledge base collection

colliedesk_kb_collection_delete

Move an empty collection to the trash (move or delete its articles and collections first). It can be undone for 30 days with colliedesk_kb_collection_undelete, so it is not marked destructive; after 30 days it is deleted for good.

Needs: kb_articles:delete.

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": {
      "collection_id": "<collection_id>",
      "updated_at": "<updated_at>"
    },
    "name": "colliedesk_kb_collection_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
updated_atYesThe updated_at as you last read it. If someone saved it since, nothing changes and you are told to read it again.
collection_idYesFrom colliedesk_kb_collections_list.

Output Schema

NameRequiredDescriptionDefault
nextYes
in_trashYes
collection_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Adds real context beyond the annotations: it explains why destructiveHint is false (30-day recoverable trash, then permanent), states the required permission 'kb_articles:delete', and notes the 30-day permanence boundary. It doesn't discuss the non-idempotent retry behavior (idempotentHint=false) or what happens on a second delete, which is the one behavioral gap.

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 and its precondition, then the recovery window, then the permission requirement; almost every clause earns its place. The 'Needs:' fragment is terse and slightly abrupt but conveys required scope efficiently.

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 tool with full schema coverage, an output schema, and annotations, the description covers precondition, recoverability window, permanent-deletion boundary, and required permission. Nothing needed 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.

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 documents both collection_id (from colliedesk_kb_collections_list) and the updated_at optimistic-concurrency check. The description adds no parameter-level detail, so 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?

States a specific verb and resource (delete a knowledge base collection) plus the crucial scope qualifier 'empty collection' in the first clause. An agent can immediately tell this apart from colliedesk_kb_collection_undelete and from article/translation delete siblings.

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 the precondition (must be empty), the preparatory alternative ('move or delete its articles and collections first'), and the explicit recovery path (colliedesk_kb_collection_undelete within 30 days). It effectively tells the agent when this tool applies and which sibling handles the undo case.

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