Skip to main content
Glama

clear_thinking_history

Clears captured thoughts to reset reasoning context for a new task, with optional sessionId or taskId to remove only that session or task.

Instructions

Clear captured thoughts (e.g. for new task). Pass sessionId/taskId to clear only that session.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "clear_thinking_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdNo
sessionIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden for a destructive operation. It never states that clearing is irreversible, what the default scope is when no IDs are passed (presumably everything), what happens to a nonexistent sessionId/taskId, or what the result looks like.

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, front-loaded with the action and immediately followed by the scoping rule. The parenthetical use case is slightly loose but earns its place as a usage hint.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an unannotated destructive tool with 0% parameter coverage and no output schema, the description leaves key gaps: irreversibility, default scope, and precedence between taskId and sessionId. It is enough to guess an invocation but not enough to call it safely.

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% with two untyped parameters, so the description must compensate. It does explain that sessionId/taskId act as scope filters ('clear only that session'), which is real added meaning, but it gives no type, format, or precedence rules when both are supplied.

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?

States a specific verb and resource: 'Clear captured thoughts', with a parenthetical use case ('e.g. for new task'). It is clear what the tool does, but nothing distinguishes it from siblings like steps_clear or memory_delete, which plausibly also remove stored content.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'e.g. for new task' weakly implies a reset workflow, and the second sentence explains the scoped variant. There is no explicit guidance on when to use this versus steps_clear/memory_delete, nor on the default (unscoped) behavior being the right choice.

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