Skip to main content
Glama

memory_export

Export notes, links, and sessions as JSON Lines for backup or migration, with optional date ranges and controls to include links and sessions.

Instructions

Export memory data as JSON Lines (JSONL) format. Includes notes, links, and sessions for backup or migration.

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
date_toNoExport notes until this date (ISO 8601)
date_fromNoExport notes from this date (ISO 8601)
include_linksNoInclude note links in export (default: true)
include_sessionsNoInclude sessions in export (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

B3.3/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 it delivers some real behavioral information: the serialization format (JSONL) and the entity types included (notes, links, sessions). It omits critical traits for an export operation, notably whether the JSONL is returned inline or written to a destination, whether the operation is read-only, and how large exports behave.

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 short sentences, front-loaded with the action and format, with no filler or redundancy. Both sentences contribute information an agent can use.

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?

There is no output schema and no annotations, so the description should clarify the return/delivery mechanics; it names the format but not where the data goes. Parameter coverage is complete via the schema, so the remaining gap is moderate rather than severe.

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 date_from, date_to, include_links, and include_sessions are already fully documented with types and defaults. The description only restates the included content categories without adding filtering semantics or format details beyond the schema, so baseline 3 applies.

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 (Export) and resource (memory data) plus the output format (JSONL), so an agent knows exactly what the tool produces. It does not explicitly distinguish itself from siblings like memory_import or memory_migrate, though the verb 'export' implies the direction.

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?

'for backup or migration' gives an implied context for when to reach for this tool, which is more than nothing. However, there is no explicit when-not guidance, no mention of when to use memory_import or memory_migrate instead, and no stated prerequisites.

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