Skip to main content
Glama

sync_skb

Scans a project's .skb/ folder to ingest new files and update or remove changed entries, keeping the local semantic index current at session start or after file additions.

Instructions

Scan the .skb/ folder in the project directory and ingest/update all files.

Call this at the start of a session or after adding new files to .skb/. Input: project_dir (str, optional — defaults to current working directory). Output: {project, files_added, files_updated, files_removed, total_chunks}

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_skb"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_dirNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden. It does disclose that files are added, updated, and removed and gives the return shape, which implies stale entries are pruned — useful behavioral context. However, it never states whether removal means disk deletion or index-only pruning, whether the operation is idempotent, or what permissions/scope the project directory requires.

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 compact sentences with a clear Input/Output structure, front-loaded with the action and followed by the trigger and the contract. Nothing is redundant and the output-key list earns its place since no output schema exists.

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?

For a single-parameter tool with no annotations and no output schema, the definition covers purpose, trigger, parameter default, and return keys — enough to invoke it correctly. It stops short of explaining side effects on removed files or interaction with sibling index tools, which matters for a mutating sync operation.

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 coverage is 0%, so the description must compensate, and it largely does: it gives the parameter name, type, optionality, and clarifies that the empty default resolves to the current working directory. That resolves the one genuinely ambiguous point in the schema. It does not describe path format expectations (absolute vs relative), hence not a 5.

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?

Names a concrete verb set (scan, ingest/update) and a concrete resource (.skb/ folder in the project directory), so the agent knows exactly what operation this performs. It does not explicitly distinguish itself from lookalike siblings such as import_skb or provision_skb, 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 Guidelines4/5

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

'Call this at the start of a session or after adding new files to .skb/' gives explicit triggering conditions, which is more than most definitions offer. There is no when-not guidance and no named alternative for related tasks like reindex_project or import_skb, so the agent must infer the boundary.

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