Skip to main content
Glama
WebDAV Knowledge MCP

WebDAV Knowledge MCP

by EI-robot

sync_embeddings

Build or refresh local CPU embeddings for a directory already processed by sync_index. Reuses vectors for unchanged content and keeps all embedding work on your machine.

Instructions

Build or refresh local CPU embeddings for a directory already processed by sync_index.

Reuses vectors for unchanged content. A changed model or chunking version replaces this scope's vector index. Run a normal sync to continue pending work. No remote documents are downloaded or sent to an embedding service.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "sync_embeddings"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
rebuildNo
max_chunksNo
max_documentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the load and does well: it discloses that work is local CPU only, that no documents are downloaded or sent to an embedding service, that unchanged vectors are reused, and that a changed model or chunking version destroys and replaces the scope's vector index. That replacement warning is exactly the kind of consequence an agent needs before invoking. It stops short of describing cost, time, or failure behavior.

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?

Four short sentences with the core action front-loaded and the safety/privacy note last where it reads as a reassurance. Nothing is redundant, though the 'changed model or chunking version' sentence is slightly dense and could be split for scanability.

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 behavioral picture is solid for a mutation-style tool with no annotations, but with four undocumented parameters, no output schema, and no explanation of what a call returns or how partial/pending work is reported, the definition is adequate rather than complete.

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

Parameters2/5

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

Schema description coverage is 0% across four parameters, so the description must compensate and largely does not: only 'path' is implicitly explained ('for a directory'). 'rebuild', 'max_chunks', and 'max_documents' are never mentioned, leaving the agent to guess at batch sizing and full-rebuild semantics.

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 — 'Build or refresh local CPU embeddings for a directory already processed by sync_index' — which immediately tells an agent what it produces and ties it to a prerequisite sibling. It does not, however, contrast itself against the search/retrieval siblings, so the differentiation is partial.

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 precondition 'a directory already processed by sync_index' implies ordering, and 'Run a normal sync to continue pending work' hints at incremental continuation, but 'normal sync' is ambiguous (sync_index vs. re-running this tool) and there is no statement of when not to use this tool.

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