Skip to main content
Glama

delete_chat_history

Clears a NotebookLM notebook's entire chat history (or a specific conversation) so the next question starts a fresh conversation.

Instructions

Clear a notebook’s chat history. RPC-backed (no browser). NotebookLM has no per-turn delete: the whole conversation goes. The next question then starts a fresh conversation.

Input Schema

NameRequiredDescriptionDefault
notebook_idNoNotebook UUID (alternative to notebook_url).
notebook_urlNoNotebookLM notebook URL.
conversation_idNoA specific conversation. Defaults to the most recent one.

Output Schema

NameRequiredDescriptionDefault
dataNoThe tool payload on success. The exact shape depends on the tool.
errorNoHuman-readable error message, present only when success is false.
successYesWhether the tool call succeeded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.4.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does well: it discloses that the action is destructive and all-or-nothing ("the whole chat history... goes"), states the post-condition (next question starts a fresh conversation), and notes it is RPC-backed rather than browser-driven. It stops short of stating irreversibility/recoverability or whether a confirmation step exists, which is the main remaining gap for a destructive tool.

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 and immediately followed by the constraint that matters most (no per-turn delete). Every sentence carries new information with no repetition.

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 and annotations are absent, so the description reasonably focuses on destruction semantics and post-conditions, which it covers well. The one unaddressed question is what happens when no notebook_id/notebook_url is supplied, since all three parameters are optional — a small but real ambiguity.

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 description coverage is 100%, including the notable default that conversation_id falls back to the most recent conversation, so the schema already does the parameter work. The description adds no syntax or format detail beyond it, making the baseline 3 appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Clear a notebook's chat history" gives a specific verb and resource, and the scope (whole conversation, not per-turn) is stated immediately. It's clearly distinguishable from the sibling get_chat_history, but it never names an alternative tool explicitly, so it falls short of the sibling-routing standard for a 5.

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?

It gives a clear usage context: there is no per-turn delete, so invoking this wipes the entire conversation and the next question starts fresh. That tells the agent when this is the right call and what the consequence is, but it offers no explicit "use X instead" routing or prerequisite conditions.

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