Skip to main content
Glama
deceptikon

Vault MCP Server

by deceptikon

search_vault

Search across all markdown files in the vault. Use keyword or regex queries to retrieve matching lines with file and line numbers.

Instructions

Search through all .md files in the vault.

Auto-detects search type:
- If query contains regex metacharacters (.*+?^${}()|[]\), uses regex search.
- Otherwise, uses case-insensitive keyword search.

Args:
    query: Search term or regex pattern.

Returns:
    Matching lines in format: filepath:linenum: content

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries full burden. It discloses the auto-detection logic (regex metacharacters trigger regex search, otherwise case-insensitive keyword search) and the return format ('filepath:linenum: content'). It does not mention permissions, performance, or edge cases, but the core behavior is well covered.

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?

The description is concisely formatted with a short top-line purpose, bullet points for search detection, and a clear args/returns structure. Every sentence earns its place with no redundancy or fluff.

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?

The description provides essential information: purpose, search type detection, parameter meaning, and return format. Minor gaps include whether search is recursive across subfolders and whether regex search is case-sensitive. These are not critical for a simple tool but keep it from a perfect score.

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

Parameters5/5

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

The schema only provides a query string with no description. The description adds semantics by defining query as 'Search term or regex pattern' and explains how it affects behavior (regex vs keyword). This fully compensates for the 0% schema coverage.

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?

The description opens with a clear verb and resource: 'Search through all .md files in the vault.' This is specific and distinguishes it from sibling tools like read_note (reading a single note) and list_notes (listing notes). The scope is explicit (all .md files).

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?

The description gives clear context: searching across all markdown files, with automatic regex vs keyword behavior. However, it does not explicitly mention when to use this tool over alternatives like read_note or list_notes, or provide exclusions. It implies usage but lacks direct comparative guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deceptikon/vault-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server