Skip to main content
Glama

memory_migrate

Migrate stored memory data between storage backends, such as SQLite and Turso, by creating the target adapter and copying all tenants, sessions, notes, and links.

Instructions

Migrate memory data from one storage backend to another (e.g., SQLite to Turso). Creates the target adapter, copies all tenants, sessions, notes, and links.

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": {
      "target_type": "<target_type>"
    },
    "name": "memory_migrate"
  }
}

Input Schema

NameRequiredDescriptionDefault
target_typeYesTarget storage type to migrate to
target_db_pathNoTarget SQLite database path (for sqlite target)
target_turso_urlNoTarget Turso database URL (for turso target)
target_turso_tokenNoTarget Turso auth token (for turso target)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses that the tool creates the target adapter and copies all tenants, sessions, notes, and links, but it omits critical migration semantics such as whether target data is overwritten, whether source data is retained, and what permissions or preconditions are required.

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?

Two concise sentences with the core action front-loaded. The second sentence adds useful scope detail without unnecessary wording, though the description could be better structured with explicit migration caveats.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description identifies the operation and the data categories being copied, which is adequate for a basic migration tool. But with no annotations and no output schema, it should do more to cover overwrite behavior, source retention, and failure handling for a mutation that copies all tenants and sessions.

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 the parameter descriptions already document target_type and its conditional companion fields. The description adds only the SQLite-to-Turso example, which illustrates the enum values but does not add meaning beyond the schema.

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?

States a specific verb and resource: 'Migrate memory data from one storage backend to another', with an example of SQLite to Turso. The scope is clear enough to distinguish it from search/save siblings, though it does not explicitly differentiate from memory_export or memory_import.

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?

Usage is implied by the phrase 'from one storage backend to another', which suggests backend changes rather than ordinary data saving. However, no explicit when-to-use guidance, prerequisites, or alternatives such as memory_export/memory_import are mentioned.

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