Skip to main content
Glama

memory_import

Restore memories from a backup snapshot, preserving original IDs and content exactly as exported.

Instructions

Import memories from a snapshot previously produced by memory_export. Restores each memory as-is, including its original ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
memoriesYesMemories to import, as produced by memory_export

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description carries the transparency burden. It discloses that memories are restored as-is including original IDs, which is useful, but does not mention behavior on ID conflicts, overwrites, or failure modes.

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 sentences, no fluff, and the core purpose is front-loaded. Every word earns its place.

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?

For a simple single-parameter tool with no output schema, the description covers the essential behavior. Minor gaps like conflict handling or error semantics are not covered but are not critical for basic usage.

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?

Schema coverage is 100%, so the parameter is well-documented. The description adds value beyond the schema by specifying that restoration preserves original IDs and is 'as-is', which the schema does not convey.

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 action (import) and the resource (memories from a snapshot produced by memory_export). It distinguishes itself from siblings like memory_store or memory_store_batch by specifying the source format and the 'as-is' restoration with original IDs.

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

Usage Guidelines4/5

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

The description implies the tool is used after memory_export to restore a snapshot. It provides clear context but does not explicitly mention when not to use it or alternative tools for individual memory operations.

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