Skip to main content
Glama

Vault git status and conflict-aware sync

vault_repo_sync

Sync an Obsidian vault via git: view status, pull with fast-forward-only, push, and read history. Conflicts are returned as structured data for manual resolution.

Instructions

Read-mostly git wrapper for the configured Obsidian vault directory. Lets an artist see what's changed (status), fetch/fast-forward-only pull, push, or read recent history (log). Never auto-resolves conflicts. Never uses --force. Never invokes a shell. Conflicts are surfaced as structured data for manual resolution. Requires TDMCP_VAULT_PATH or the vault_path argument.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax commits returned by action:'log'.
actionNostatus: staged/unstaged/untracked + ahead/behind counts. pull: fetch + ff-only merge; reports conflicts but never auto-resolves. push: push current branch to its upstream; reports rejections. log: last N commits on the current branch.status
branchNoBranch for pull/push. Defaults to the currently checked-out branch.
remoteNoRemote name for pull/push.origin
timeout_msNoHard timeout for the git child process.
vault_pathNoAbsolute path to the vault git repo. Defaults to the configured TDMCP_VAULT_PATH.
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description adds non-obvious behaviors: 'Never auto-resolves conflicts', 'Never uses --force', 'Never invokes a shell', and 'Conflicts are surfaced as structured data'. It also discloses the environment requirement via TDMCP_VAULT_PATH.

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 four sentences, front-loaded with the core purpose ('Read-mostly git wrapper'), and every phrase earns its place. No redundancy or filler.

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?

With no output schema, the description conveys essential outcomes: status shows changes, pull reports conflicts without auto-resolution, push reports rejections. It does not detail return structures, but the comprehensive schema action descriptions and the description's high-level guarantees suffice for a tool of this complexity.

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

Parameters4/5

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

The schema already covers all parameters with descriptions (100% coverage), so the baseline is 3. The description adds meaningful context by emphasizing the vault_path argument and explaining that pull is fetch/fast-forward-only, which complements the schema's action details. This surpasses the baseline.

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 it is a 'Read-mostly git wrapper for the configured Obsidian vault directory' and enumerates specific actions: status, pull, push, log. This distinguishes it from sibling vault tools (e.g., merge_vaults, sync_presets_vault) which are not git wrappers.

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 defines when to use the tool (for git operations on the vault) and provides explicit constraints: never auto-resolves conflicts, never uses --force, never invokes a shell. It does not explicitly name alternatives or exclusions, but the unique scope is clear.

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/lucasmaher-hash/touch-designer-mcp'

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