Skip to main content
Glama
WebDAV Knowledge MCP

WebDAV Knowledge MCP

by EI-robot

search_file

Find files by case-insensitive filename substring in WebDAV document libraries; use path and depth limits to narrow the search and return relative paths.

Instructions

Find files by case-insensitive filename substring, not body text.

Prefer a specific relative directory over the root to save WebDAV requests. max_depth is relative to the starting directory (depth 0). Hard limits: depth 10, results 200, directories 500, entries 20000. Check truncated and limit_reasons before concluding no file exists. Matches are relative paths that can be passed to read_file if the file format is supported.

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>"
    },
    "name": "search_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNo
keywordYes
max_depthNo
recursiveNo
max_entriesNo
max_resultsNo
max_directoriesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.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 full burden and does well: it discloses hard caps (depth 10, results 200, directories 500, entries 20000), the existence of truncation signals, and the request-cost tradeoff of scanning root. It stops short of stating read-only/non-destructive status, authentication needs, or error behavior, which for a zero-annotation tool is a remaining gap but a modest one.

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?

Dense and front-loaded — the matching rule comes first, then the cost-saving advice, then limits, then how to interpret results. Every sentence carries information, though the hard-limit list is written in a compressed run-on form that takes a second pass to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter search tool with no output schema, the description supplies what the agent actually needs: match semantics, scope control, caps, truncation caveats, and the fact that results are relative paths usable with read_file. Only the recursive flag's effect is left unaddressed.

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 does for most parameters: path (relative directory vs root), keyword (case-insensitive substring), max_depth (relative to start directory, depth 0, capped at 10), and the results/directories/entries caps that map to max_results, max_directories and max_entries. The recursive flag is never explained, and no format or default values are given, so coverage is strong but incomplete.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (find files) plus the exact matching rule (case-insensitive filename substring) and explicitly excludes body-text matching, which is what distinguishes it from a content-search sibling. An agent can tell what this returns without opening the schema.

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 actionable usage advice: prefer a specific relative directory over root to reduce WebDAV requests, and check truncated/limit_reasons before concluding a file is absent. It does not explicitly name the alternative tool to use when the target is file contents, leaving that routing to the 'not body text' clause rather than an explicit when-to-use statement.

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