Skip to main content
Glama
M-T-D-N

agentmemory-codex-windows

memory_snapshot_create

Preserve project memory history by capturing current exported memory state into a local snapshot directory, writing state.json and committing it to Git.

Instructions

Capture current exported memory state in the configured local snapshot directory, write state.json and commit it in that directory's Git repository. Requires Git and writable snapshot storage. Returns snapshot ID, commit hash, timestamp, message and counts, or a successful no-op message for an overlapping/no-change snapshot. This mutates local files and Git state; use memory_export when you only need returned JSON.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageNoSnapshot description

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0-preview.14-glama.1

TDQS

A4.7/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full burden and it does so well: it discloses the mutation of local files and Git state, the prerequisites (Git, writable storage), the returned fields (snapshot ID, commit hash, timestamp, message, counts), and the no-op behavior for overlapping/no-change snapshots. This is rich behavioral context rarely seen without annotations.

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?

Three tightly packed sentences, front-loaded with the core action and effect before prerequisites, returns, and the alternative. Every sentence carries distinct, useful information with no filler.

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

Completeness5/5

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

Despite having no output schema, the description explains the return payload and the no-op case, and covers prerequisites and side effects. An agent has everything needed to decide whether to call it and what to expect.

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% for the single 'message' parameter, so the schema already documents it as the snapshot description. The description only references 'message' as part of the return payload and adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb ('Capture') and resource ('current exported memory state') plus the concrete effect (writes state.json and commits in the snapshot directory's Git repo). It explicitly distinguishes itself from the sibling memory_export by routing JSON-only needs there, so an agent can tell them apart without opening either schema.

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

Usage Guidelines5/5

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

Names the alternative (memory_export) and the exact condition that selects it ('when you only need returned JSON'). It also states prerequisites (requires Git and writable snapshot storage), giving clear context for when this tool is applicable versus its sibling.

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