Skip to main content
Glama
WebDAV Knowledge MCP

WebDAV Knowledge MCP

by EI-robot

sync_index

Synchronize a local SQLite index with a WebDAV directory by reading remote documents and updating the index; use rebuild to recheck text files and text-layer PDFs without clearing the prior snapshot.

Instructions

Manually synchronize a local SQLite index for a relative WebDAV directory.

Specify the narrowest directory. An explicit empty path selects the entire root. This reads remote documents and writes only the local index. Rebuild rechecks all observed text files and text-layer PDFs without clearing the previous snapshot. Use a normal sync to resume a bounded rebuild. Check incomplete and coverage_reasons.

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

Input Schema

NameRequiredDescriptionDefault
pathYes
rebuildNo
max_depthNo
max_filesNo
max_entriesNo
max_secondsNo
max_pdf_bytesNo
max_pdf_pagesNo
max_file_bytesNo
max_directoriesNo
max_pdf_secondsNo
max_total_bytesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that remote documents are read but only the local index is written, that rebuild rechecks all observed text files and PDFs without clearing the prior snapshot, and that resumption is possible. It omits cost/latency expectations and permission requirements for a network-touching 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?

Front-loaded with the core action and kept short; each sentence conveys distinct information. The line-broken, fragmentary phrasing ('Check incomplete and coverage_reasons.') is slightly clipped but not wasteful.

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?

Reasonably complete on scope and rebuild semantics, and it helpfully points at the `incomplete` and `coverage_reasons` fields despite there being no output schema. However, for a 12-parameter, annotation-free tool, the absence of any explanation of truncation limits leaves the agent guessing about how to control scan size.

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 coverage is 0% and 12 parameters exist, yet the description explains only `path` (narrowest directory, empty selects root) and `rebuild` semantics. The ten max_* limit parameters (max_depth, max_files, max_seconds, max_pdf_bytes, etc.) are left entirely undefined in both schema and description, which is a serious gap for a bounded-scan tool.

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: 'Manually synchronize a local SQLite index for a relative WebDAV directory.' It makes clear the index (not embeddings) is the target, which implicitly separates it from sync_embeddings, though it never names that sibling explicitly.

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?

Gives real operating guidance: 'Specify the narrowest directory' and 'Use a normal sync to resume a bounded rebuild' establish the rebuild-vs-normal distinction. It lacks explicit when-not-to-use conditions or a named comparison to sync_embeddings/index_status.

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