Skip to main content
Glama

sync_repositories

Index your GitHub repositories into a local SQLite FTS5 vault; use incremental pushed_at checks to skip unchanged repos, or force a full re-index when needed.

Instructions

Synchronize the user's GitHub repositories into the local SQLite FTS5 vault.

Uses incremental pushed_at comparison so unchanged repositories are skipped unless force=True is passed.

Args: force: When True, re-indexes all repositories even if pushed_at matches the local database.

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": "sync_repositories"
  }
}

Input Schema

NameRequiredDescriptionDefault
forceNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations at all, the description carries the full load, and it does disclose the meaningful behavior: incremental `pushed_at` comparison, skipping unchanged repos, and full re-indexing under `force`. It leaves out whether GitHub authentication or a token is required, rate-limit/network failure behavior, and whether existing local index entries are ever removed — significant gaps for an unannotated sync operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The lead sentence front-loads purpose and target, and the behavior sentence follows with the one condition that matters; the Args block is a clean, standard structural choice for a single parameter. Slight redundancy between the body sentence and the Args entry for `force`, but nothing is wasted.

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?

An output schema exists, so return values need not be described, and the description covers the core mechanism, destination, and the only parameter's semantics. What's missing is operational context — auth/token requirements and failure behavior — for a tool that reaches out to GitHub and writes a local database.

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?

Schema description coverage is 0% and the single `force` property has no description in the schema, but the description fully compensates by defining exactly what True does (re-index all repos even when `pushed_at` matches) and what the default behavior is. The only gap is that it doesn't restate the boolean type/default, which the schema already covers.

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 and resource ("Synchronize the user's GitHub repositories") plus the destination ("local SQLite FTS5 vault"), so the agent knows exactly what the tool does and where data lands. It does not explicitly differentiate itself from the read-only siblings (search_my_repositories, read_repository_file), which keeps it short of a 5.

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 explains the default incremental behavior and the condition that overrides it (`force=True`), which is genuine usage guidance for this single parameter. However, it never states when to reach for this tool versus the sibling search/read tools, or that repositories must be synced before they are searchable — the prerequisite relationship is only implied.

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