Skip to main content
Glama

import_memories

Import memories from Mem0 API or a JSON file into the recall cache, with support for batch processing, priority levels, and duplicate skipping.

Instructions

Bulk import memories from mem0 API or JSON file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesSource of memories to import
api_keyNoMem0 API key (required for mem0_api source)
user_idNoUser ID for mem0 APIoliver
priorityNoCache priority for imported memorieshigh
file_pathNoPath to JSON file (required for json_file source)
batch_sizeNoNumber of memories to import per batch
skip_duplicatesNoSkip duplicate memories during import
Behavior2/5

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

No annotations exist, so description carries full burden. It fails to disclose behavioral traits like error handling, overwrite behavior, import process, or results beyond a vague 'import'. Minimal information.

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 a single concise sentence with no wasted words, but for a 7-parameter tool with no output schema, it may be too brief to be fully informative.

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 complexity (7 params, no output schema, no annotations), the description lacks critical details about behavior, return values, and prerequisites, making it incomplete.

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%, so baseline is 3. The description adds no additional parameter semantics beyond what the schema already provides.

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 the verb (import) and resource (memories), specifies the two sources (mem0 API or JSON file), and distinguishes from siblings like add_memory which likely handles single imports.

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 implies use for bulk imports, but provides no explicit guidance on when to use this tool over siblings (e.g., vs add_memory) or when not to use it.

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/n3wth/r3'

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