Skip to main content
Glama

Clear the history

clear_history
DestructiveIdempotent

Clears the whole history of the owner at once.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds one useful behavioral fact beyond that: the operation clears the entire history in a single call (no per-item selection, no filtering). It does not state whether the action is reversible or whether confirmation is required.

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?

A single short sentence with no filler, and the key scoping word ('whole') is front-loaded. It is efficient, though it is on the terse side for a destructive operation.

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 no parameters, no output schema, and annotations covering the destruction/idempotency profile, the description supplies the one thing annotations cannot: the breadth of the wipe ('whole history ... at once'). 'Owner' is slightly ambiguous about whose history, but the shape is adequate for a zero-argument destructive tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters (schema coverage 100%, empty object), so there is nothing for the description to document. Baseline 4 applies; the description correctly implies no scoping parameters are accepted.

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 ('Clears') and resource ('the whole history of the owner') with an explicit scope ('at once'), so the agent knows this is a bulk wipe rather than a targeted delete. It does not reference siblings like get_history or chat_history, but the destructive bulk action is distinguishable on its face.

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

Usage Guidelines2/5

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

No guidance on when to use this versus get_history/chat_history, nor any precondition or warning about the consequences of clearing. The agent must infer usage entirely from the name and the destructive annotation.

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