Skip to main content
Glama

Export Memories

memory_export

Exports all stored memories for a specified user as JSON or Markdown, enabling backup, portability, and offline review of AI memory data.

Instructions

Exports all memories for a user as JSON or Markdown.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "memory_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNojson
user_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/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 burden and offers only the 'all memories' scope and the two output formats. It is silent on whether pinned/deleted memories are included, whether the result is a file or inline payload, size limits, or permissions needed — key facts for an export operation.

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?

A single front-loaded sentence with no filler or redundancy. It is tight, though the brevity crosses into under-specification rather than excess wording.

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?

There is no output schema, no annotations, and no parameter documentation, so the description is the only source of truth — yet it omits return shape, scope of the export, and user_id behavior. Inadequate for a tool whose entire contract must be inferred.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate and does not. Naming JSON/Markdown merely restates the enum, and the behavior of the optional user_id (what happens when omitted — current user? all users?) is never explained.

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 ('Exports all memories') plus scope ('for a user') and output formats, which separates it from memory_import and memory_list. It does not explicitly name an alternative, but the purpose is unmistakable.

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

Usage Guidelines2/5

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

No when-to-use guidance, no prerequisites, and no mention of alternatives such as memory_list (paginated listing) or memory_search (filtered retrieval). The agent must infer when an export is appropriate versus a plain list.

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