Skip to main content
Glama

KIROK_retain

Store new information in agent memory with automatic entity extraction and smart deduplication to prevent redundant entries.

Instructions

Store new information in agent memory.

Automatically extracts entities and keywords, generates a semantic embedding, and indexes for later retrieval.

Smart Deduplication (inspired by Mem0): If the new content is highly similar to existing memories (cosine > 0.85), the system will decide whether to ADD (new info), UPDATE (enrich existing), or NOOP (skip).

Args: bank_id: Memory bank identifier (e.g. 'antigravity', 'user-prefs'). content: The information to remember. context: Optional context about the source (e.g. 'project meeting'). timestamp: Optional ISO 8601 timestamp. Defaults to now.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bank_idYes
contentYes
contextNo
timestampNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses deduplication logic with cosine similarity threshold, the decision to ADD/UPDATE/NOOP, auto-extraction of entities, and indexing. However, it does not mention authorization needs, rate limits, or performance implications.

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?

The description is well-structured with a concise summary, followed by detailed behavioral explanations and an Args section. While slightly lengthy, every sentence adds value; minor redundancy (e.g., repeating 'automatically') does not detract significantly.

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?

Given the presence of an output schema (which covers return values), the description adequately covers input parameters, deduplication behavior, and auto-extraction. It does not mention output format but the schema handles that. Overall complete for a memory storage tool.

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

Parameters5/5

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

Schema coverage is 0%, yet the description adds significant meaning by providing examples (e.g., bank_id: 'antigravity'), clarifying content as 'The information to remember', and specifying defaults (timestamp defaults to now). This fully compensates for the lack of schema descriptions.

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?

The description clearly states 'Store new information in agent memory' and details the automatic extraction, embedding, and indexing processes. This effectively distinguishes it from sibling tools like KIROK_forget (removal) and KIROK_recall (retrieval).

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 description implicitly indicates use for storing new information, but lacks explicit guidance on when to use this tool versus alternatives such as KIROK_smart_retain or KIROK_update_memory. There is no mention of when not to use the tool.

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/TadFuji/kirok-mcp'

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