Skip to main content
Glama

memory_sync

Sync AI agent memory files with a Git repository to maintain shared project context across multiple agents. Supports initializing, pushing changes, pulling updates, and checking sync status.

Instructions

Sync agent memory files with a remote Git repository for multi-agent Swarm Memory. Supports init (setup), push (upload changes), pull (download changes), and status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesinit: initialize memory repo & connect remote; push: commit & push local changes; pull: fetch & merge remote changes; status: show sync status
repo_urlNoRemote Git repo URL (required for init, e.g. git@github.com:user/agent-memory.git)
memory_dirNoPath to memory directory (default: ./memory)
agent_nameNoAgent name for commit messages (default: 'agent')
messageNoCustom commit message (for push)
Behavior3/5

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

Annotations indicate readOnlyHint=false, aligning with the description's 'sync' actions that involve writes (e.g., push, init). The description adds context by explaining what each action does (e.g., 'push: commit & push local changes'), which goes beyond annotations. However, it lacks details on error handling, rate limits, or authentication needs for the Git repo, leaving behavioral gaps.

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?

The description is front-loaded with the core purpose in the first sentence, followed by a concise list of actions. Every sentence earns its place by clarifying functionality without redundancy, making it efficient and easy to parse for an agent.

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?

Given the tool's moderate complexity (5 parameters, 4 actions) and rich schema coverage (100%), the description is mostly complete. It explains the tool's role and actions but lacks output details (no output schema) and does not cover edge cases like merge conflicts or network failures. With annotations providing some safety context, it's adequate but not exhaustive.

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%, with each parameter well-documented in the schema (e.g., action enum descriptions). The description adds minimal value beyond the schema by listing the actions but does not provide additional semantics like format examples or constraints. Baseline 3 is appropriate given the comprehensive schema.

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 tool's purpose: 'Sync agent memory files with a remote Git repository for multi-agent Swarm Memory.' It specifies the verb ('sync'), resource ('agent memory files'), and context ('multi-agent Swarm Memory'), distinguishing it from sibling tools like memory_search or memory_status that likely query rather than synchronize.

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 provides clear context for usage by listing the four actions (init, push, pull, status) and their purposes, helping an agent understand when to use each. However, it does not explicitly state when to choose this tool over alternatives (e.g., vs. manual Git commands or other sync tools) or mention any prerequisites, such as needing Git installed.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/clawsouls/clawsouls-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server