Skip to main content
Glama

Search notes

search_notes

Find notes in a personal knowledge vault using full-text and optional semantic search, then filter results by type, tag, folder, or status.

Instructions

Search the vault: full-text (titles boosted, fuzzy + prefix matching), fused with local semantic search when the vault has embeddings enabled. Filter by type (note/project/daily/person/reference/area), tag, folder prefix, or frontmatter status.

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
tagNoRestrict to notes with this tag (no #)
typeNoRestrict to a note type, e.g. 'project'
limitNoMax results (default 20)
queryYesSearch terms
folderNoRestrict to a folder prefix, e.g. 'reference'
statusNoRestrict by frontmatter status, e.g. 'active'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

A4.1/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 reasonably well: it discloses the ranking strategy (titles boosted), matching modes (fuzzy, prefix), and the environment-dependent semantic fusion. It does not state that the operation is read-only/non-mutating, nor how many results come back or in what order beyond the boost hint, so it stops short of full transparency.

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?

Two sentences, front-loaded with the core action and then the filter surface; dense but every clause carries information. The nested parenthetical of matching modes is slightly packed, but nothing is redundant.

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?

For a 6-parameter search tool with no output schema, this covers the essential calling knowledge: what is searched, how ranking works, the semantic-fusion condition, and each filter dimension. A brief note on result ordering or empty-result behavior would close the remaining gap.

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%, so baseline is 3, but the description adds real meaning: it enumerates the accepted type values (note/project/daily/person/reference/area) even though the schema exposes no enum, and clarifies that tag and folder are prefix/restriction filters. Only status and limit semantics are left entirely to the schema.

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 ('Search the vault') and immediately characterizes the retrieval mechanism: full-text with title boosting and fuzzy/prefix matching, fused with local semantic search when embeddings are enabled. That wording cleanly separates it from the listing siblings (list_notes, list_tags) which do not rank by relevance.

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 description implies usage (find notes by query plus optional filters) and notes the conditional semantic layer, but gives no explicit when-to-use/when-not guidance and never names alternatives such as list_notes or related_notes. An agent must infer the routing decision from the verb alone.

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