Skip to main content
Glama

Import Memories

memory_import

Import memories into AI Memory MCP from raw JSON arrays or Markdown bullet lists to bulk-load, migrate, or restore existing notes and context.

Instructions

Imports memories from a JSON array or Markdown bullet list.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "format": "<format>",
      "data": "<data>"
    },
    "name": "memory_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesRaw JSON array text or Markdown text
formatYes
user_idNo
namespaceNoUsed for markdown import

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral disclosure burden. Beyond indicating an import operation and accepted text forms, it says nothing about merge versus replacement, duplicate handling, validation or partial failures, permissions, or the resulting memories.

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?

The single sentence is front-loaded, grammatical, and free of filler. It efficiently communicates the operation and both accepted source formats; missing behavioral detail is a completeness issue rather than wordiness.

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 a four-parameter import mutation with no annotations or output schema, one format sentence is not enough. An agent still lacks the expected per-memory JSON structure, Markdown parsing conventions, user and namespace scoping, duplicate and error behavior, and any indication of the import result.

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 50%, with data and namespace described while format relies on its enum and user_id remains undocumented. The description adds a useful Markdown bullet-list constraint, but it does not define the expected memory object fields, clarify parser selection, or compensate for the undocumented user_id parameter.

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?

The description gives a clear verb and resource—"Imports memories"—and identifies two supported source forms. It does not explicitly distinguish this operation from siblings such as memory_add or memory_export, so it stops short of top-tier differentiation.

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 formats imply when to use it: when memory data already exists as a JSON array or Markdown bullet list. It does not say whether this is intended for bulk import, migration, or restoration, nor how to choose between it and memory_add or another sibling.

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