Skip to main content
Glama
WebDAV Knowledge MCP

WebDAV Knowledge MCP

by EI-robot

search_index

Search local documents and PDF pages without remote requests, returning source paths, snippets, and line or page matches. Use it to find evidence in synced WebDAV content.

Instructions

Search existing local documents and PDF pages with no remote requests.

Use the same directory as sync_index. Matches include source path, bounded snippet, and either a 1-based text line or a 1-based physical PDF page. Use include_headings for the Markdown heading path. Check incomplete and last_complete_sync_at for the scope's freshness. pdf_documents_with_empty_pages counts mixed PDFs whose image-only or blank pages have no searchable text; a miss only covers extracted text.

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": {
      "keyword": "<keyword>",
      "path": "<path>"
    },
    "name": "search_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
keywordYes
max_resultsNo
max_documentsNo
include_headingsNo

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 the local-only/no-network behavior, the shape of a match (path, bounded snippet, 1-based line or physical PDF page), and the important miss-semantics caveat that only extracted text is covered. It stops short of stating read-only guarantees or result ordering, keeping it below a 5.

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?

Purpose is front-loaded in the first clause, and the remaining sentences each add distinct operational detail. The pdf_documents_with_empty_pages sentence is dense and reads awkwardly, but no sentence is filler.

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?

With no output schema and no annotations, the description does cover match structure and freshness fields, which is more than most. It still omits result ordering and how the two result limits truncate output, leaving the agent guessing about what it will actually receive.

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%, so the description must explain all five parameters. It clarifies path (same directory as sync_index) and include_headings (returns the Markdown heading path), but says nothing about max_results, max_documents, or how the two limits interact — a meaningful gap given their 20/500 defaults.

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 ("Search existing local documents and PDF pages") plus a distinguishing trait ("no remote requests"). It does not explicitly separate itself from siblings like search_content, search_file, or search_semantic, so the agent must infer that this is the local-index-only variant.

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?

Gives one concrete prerequisite ("Use the same directory as sync_index") and a freshness check via incomplete/last_complete_sync_at, which is real usage guidance. It never says when to choose this over the other search tools, so selection between siblings remains implied.

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