Skip to main content
Glama

Delete a local Gemini chat

forget_chat
Destructive

Permanently deletes one local conversation and its saved media; use archiving instead when history must be kept.

Instructions

Permanently delete one local conversation and its saved media. To keep the history, use update_chat with status archived.

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": {
      "conversationId": "<conversationId>"
    },
    "name": "forget_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
conversationIdYesID returned by create_chat, list_chats, or gemini_chat.

Output Schema

NameRequiredDescriptionDefault
deletedYes
conversationIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the description earns credit for adding scope beyond that: deletion is permanent, scoped to a single local conversation, and also removes saved media. It does not discuss irreversibility confirmations or auth, but the output schema and annotations cover the rest.

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?

Two sentences, zero filler, with the destructive scope stated first and the alternative offered second. Every clause earns its place.

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?

With annotations covering the safety profile and an output schema present, the description supplies what remains: permanence, media collateral, and the alternative. Only marginally thin on prerequisites for a destructive operation.

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 there is a single required conversationId fully documented in-schema, so the baseline of 3 applies. The description adds no format or sourcing detail beyond what the schema already provides.

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 (delete), a precisely scoped resource (one local conversation plus its saved media), and distinguishes itself from the archival path by naming update_chat. An agent can tell what this does without opening the 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?

Explicitly routes the 'keep the history' case to update_chat with status archived, which is real when-not guidance. It does not cover other cases (e.g., bulk deletion or deleting a chat referenced by other data), so it stops short of full alternative coverage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.