Skip to main content
Glama

Delete an AI chat

colliedesk_ai_chat_session_delete
Destructive

Delete one chat with the help center's AI and its transcript, for good: it cannot be undone. A conversation it handed off keeps its own copy.

Needs: ai_settings: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": {
      "chat_id": "<chat_id>"
    },
    "name": "colliedesk_ai_chat_session_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
chat_idYesA chat's id, from colliedesk_ai_chat_sessions_list.

Output Schema

NameRequiredDescriptionDefault
deletedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and non-idempotent, but the description adds real value beyond them: transcript is deleted too, deletion is permanent and irreversible, the permission required, and the important nuance that a handed-off conversation keeps its own copy. That last sentence is terse and slightly ambiguous in phrasing, which keeps it from a 5.

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, with the destructive nature front-loaded and the permission requirement set off cleanly. The handoff sentence is compact but reads awkwardly ('A conversation it handed off'), costing a bit of clarity for the space it saves.

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 one-parameter destructive tool with an output schema and rich annotations, the description covers permanence, scope of deletion, and permissions. The only residual gap is the slightly opaque handoff behavior, which an agent may need to interpret.

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 single chat_id parameter is already documented with a UUID pattern and a pointer to colliedesk_ai_chat_sessions_list. The description adds no additional meaning about the parameter, so the 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 one chat with the help center's AI and its transcript.' It also scopes the action ('one chat') and names the collateral deletion (transcript), which separates it from read-oriented siblings like ai_chat_session_get and from conversation_chat_get, which operate on a different resource.

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 for when this applies (removing a single AI chat) plus a prerequisite, 'Needs: ai_settings:update,' and the caveat that a handed-off conversation retains its own copy. It does not explicitly name an alternative tool or a when-not-to-use case beyond that handoff note, so it stops short of full routing guidance.

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