Skip to main content
Glama

Delete a knowledge base article template

colliedesk_kb_template_delete

Move a template to the trash: it leaves the list, and every collection that started new articles from it starts them empty. Articles made from it keep their text. It can be undone for 30 days with colliedesk_kb_template_undelete, so it is not marked destructive (the collections do not get it back as their default); after 30 days it is deleted for good with its history.

Needs: kb_articles: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": {
      "template_id": "<template_id>",
      "updated_at": "<updated_at>"
    },
    "name": "colliedesk_kb_template_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.
template_idYesFrom colliedesk_kb_templates_list.

Output Schema

NameRequiredDescriptionDefault
nextYes
in_trashYes
template_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Adds substantial behavior beyond the annotations: collections that seeded articles from this template will start new articles empty, existing articles keep their text, the restore window is 30 days, and the required permission is kb_articles:update. It also explicitly explains why destructiveHint is false, which is genuinely useful reconciliation with the annotation. The only missing pieces are the response shape and whether the trash state is queryable.

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 consequences in the first sentence, with the permission requirement isolated at the end where it belongs. The parenthetical about collections not regaining their default is dense but earns its place by justifying the non-destructive annotation.

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?

Rich annotations, a 100%-covered two-parameter schema, and an output schema mean the description only needs to cover semantics and consequences – which it does, including permissions and recovery windows. Nothing an agent needs to call this safely is absent.

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?

With 100% schema description coverage, the schema already documents both template_id's source and the updated_at optimistic-concurrency behavior. The description adds no parameter-level meaning, so the baseline 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 ("Move a template to the trash") and immediately distinguishes the soft-delete from the permanent one, naming colliedesk_kb_template_undelete as the reversal path. An agent can separate this from colliedesk_kb_template_update or colliedesk_kb_article_delete without opening another schema.

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?

Gives clear context: this is the reversible removal, undoable for 30 days via the named sibling, after which deletion is permanent. It doesn't spell out exclusions (e.g. when to prefer archiving or deleting articles instead), but the when-to-use signal is unambiguous.

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