Skip to main content
Glama

memory_git_sync

Idempotent

Sync existing commits and pull requests from a connected GitHub repository into persistent memory for semantic search and organization.

Instructions

Sync existing commits and PRs from a connected GitHub repository into memory

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoNoRepository name in owner/repo format (optional if repository_id is provided)
limitNoMaximum number of items to sync (1-100, default: 30)
sync_typeNoWhat to sync: commits, prs, or all (default: all)
repository_idNoRepository UUID (optional if repo is provided)
Behavior3/5

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

Annotations already provide idempotentHint=true and destructiveHint=false, indicating safe repeated calls. The description adds that it syncs from a 'connected' repository, hinting at a prerequisite, but does not elaborate on behavior if disconnected or other edge cases.

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 a single, concise sentence that front-loads the key verb and object. Every word is meaningful; no unnecessary details.

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 covers the main action but lacks details on defaults, behavior when both repo identifiers are omitted, or return format. Given the tool has 4 optional parameters and no output schema, more context would be beneficial.

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 already described. The tool description does not add additional meaning beyond what the schema provides, so baseline 3 is appropriate.

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?

Description clearly states the tool syncs commits and PRs from a GitHub repository into memory, using specific verbs and resources. It distinguishes from sibling tools like memory_git_commits and memory_git_prs which likely handle individual types.

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?

The description implies when to use this tool (syncing both commits and PRs) but does not explicitly compare with siblings or provide conditions for use. No usage guidelines beyond the basic action.

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/alfredoizdev/contextforge-mcp'

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