Skip to main content
Glama

clear_learnings

Clears stored learnings for a namespace to reset context when refactoring codebases.

Instructions

Clear all stored learnings for a namespace. Useful when starting fresh on a refactored codebase.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namespaceNoNamespace to clear learnings for (defaults to current namespace)
Behavior2/5

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

Describes the tool as destructive ('Clear all...') but lacks details on consequences, reversibility, or permissions. With no annotations, the description should provide more transparency about side effects.

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 concise sentences, no redundant information, front-loads the core action.

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?

Given the tool is destructive, lacks context about post-state, confirmation, or constraints. The use case hint is helpful but insufficient for full understanding without annotations or output schema.

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 covers 100% with description for the only parameter. Tool description does not add additional meaning beyond what the schema already provides.

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?

Clearly states the action (clear) and resource (all stored learnings for a namespace). Differentiates from sibling 'get_learnings' by being the inverse operation, though not explicitly contrasted.

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?

Mentions a specific use case ('starting fresh on a refactored codebase'), implying when to use it. No explicit when-not-to-use or alternatives, but the sibling list provides context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Gonzih/cc-agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server