Skip to main content
Glama
BiteFoundry Obsidian MCP Server

BiteFoundry Obsidian MCP Server

search_notes

Search notes across Obsidian vaults using SQLite FTS5, including Korean/CJK substring matches, to find relevant content by query.

Instructions

Search notes across a vault using SQLite FTS5. Korean/CJK queries also match inside longer words (substring scan).

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": {
      "query": "<query>"
    },
    "name": "search_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results 1..200 (default 20). Out-of-range values are clamped; the response reports the limit used and has_more.
queryYesSearch query string.
vaultNoOptional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does add genuinely non-obvious behavior — FTS5 scoring and the CJK substring scan that matches inside longer words — but says nothing about result ordering/ranking, read-only safety, or how an omitted vault affects scope.

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?

Two short sentences, zero filler, with the core purpose front-loaded and the qualifying behavior second. Nothing could be cut without losing information.

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?

For a 3-param read tool with no output schema, the description covers purpose and the notable matching quirk well. It leaves open what happens when 'vault' is omitted (search all registered vaults?) and how results are ordered, which an agent would need to interpret output.

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 100% and the schema itself documents limit clamping, has_more reporting, and vault registration checks, so the baseline applies. The description adds little per-parameter, but the CJK note does implicitly characterize what kinds of query strings behave differently.

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 notes across a vault') and pins the mechanism with 'SQLite FTS5'. It distinguishes itself implicitly from list_notes (enumeration) and read_note (single fetch), but never names a sibling to route against.

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 CJK substring hint implies a case where this search will match things a naive token search would not, which is useful usage context. However, there is no explicit when-to-use vs. list_notes/find_by_tag guidance and no statement of prerequisites or when *not* to use it.

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