Skip to main content
Glama

find_similar_notes

Read-onlyIdempotent

Identify notes most similar by content, shared links, and tags to a chosen note, helping surface related notes and suggest links.

Instructions

Notes most similar to a note by content (TF-IDF cosine), boosted by shared links and tags. Good for "related notes" and link suggestions.

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": {
      "file": "<file>"
    },
    "name": "find_similar_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesNote path ("Folder/Note.md"), path without .md, note name, alias, or [[wikilink]]
limitNoMax results (default 10)
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
exclude_linkedNoHide notes already linked from/to it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish that this is a safe, idempotent, closed-world read. Beyond that, the description adds genuinely useful behavior: similarity is content-based TF-IDF cosine, and results are re-ranked by shared links and tags, which tells the agent why results may not be purely textual. It does not describe what a result entry looks like or whether scores are returned.

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 compact sentences, with the core operation and ranking signals front-loaded and the intended use case closing it out. Nothing is redundant and nothing needed is buried.

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 read-only search tool with full schema coverage and annotations, most of the burden is already carried. However, with no output schema, the description never indicates what a result contains (paths, snippets, scores) or how many are returned, which is an avoidable gap.

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

Parameters3/5

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

Schema description coverage is 100%, so file, limit, vault, and exclude_linked are already fully documented and the baseline is 3. The mention of shared-link boosting gives slight context for exclude_linked, but no parameter-specific detail beyond the schema.

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?

The description names the resource and the exact retrieval operation (notes most similar to a given note) and even discloses the ranking mechanism (TF-IDF cosine plus link/tag boosting). It doesn't explicitly distinguish itself from the sibling find_duplicate_notes, leaving the near-duplicate vs. related-note boundary to inference.

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?

"Good for 'related notes' and link suggestions" gives a clear use context an agent can match to a request. It stops short of explicit exclusions or named alternatives, so an agent must reason on its own that exact-duplicate hunting belongs to find_duplicate_notes.

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

Deploy Server

Other Tools