Skip to main content
Glama

Kai delete conversation

kai_delete_conversation
DestructiveIdempotent

Delete a saved Kai chat thread. Changes data: runs only with confirm=true; without it, returns a preview and changes nothing. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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": {
      "conversation_id": "<conversation_id>"
    },
    "name": "kai_delete_conversation"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
confirmNo
user_idNo
client_idNo
user_emailNo
conversation_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructive=true and idempotent=true, but the description adds the non-obvious two-phase safety behavior (dry-run preview when confirm is absent) and the client_id defaulting rule, which the annotations cannot express. It does not say whether deletion is reversible or what happens to messages within the thread, but the core behavioral contract is clear.

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?

Three short sentences, front-loaded with the action, then the safety gate, then parameter hints. No filler, no repetition of the title, and the most consequential fact (confirm=true required) appears before the parameter details.

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?

An output schema exists, so return values need not be described, and the destructive/mutation profile is covered jointly by annotations and the preview sentence. The remaining gap is the unaddressed user_id/user_email parameters, which matter for a delete scoped to a user.

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 0%, so the description must compensate and it only partly does: it explains confirm (gate flag), client_id (brand scope, defaults to active), and extra (passthrough for any field the app accepts). It says nothing about user_id or user_email, whose targeting or override semantics remain ambiguous, leaving half the parameters undocumented anywhere.

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 saved Kai chat thread'), which unambiguously separates it from the read siblings kai_get_conversation and kai_list_conversations. The scope ('saved chat thread') is precise enough that an agent knows what object is affected.

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?

The description gives a concrete usage rule: run only with confirm=true, otherwise a preview is returned and nothing changes. That is explicit operational guidance for a destructive tool, though it does not name any alternative tool or say when a preview is preferable to committing the delete.

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.