Skip to main content
Glama

find_related_notes

Find semantically related notes for a given note by vault-relative path. Use it to link stock reports to briefs or uncover overlapping knowledge notes.

Instructions

Find semantically related notes for a given note (by vault-relative path).

Uses cosine similarity on stored embeddings. Useful for:

  • Finance: from a stock report, find related morning briefs / sector notes

  • Knowledge: after writing a note, discover overlapping existing notes

Args: path: Vault-relative path, e.g. "20-areas/personal/finance/NVDA_analysis_20260601.md" limit: Max results to return (default 5) threshold: Minimum cosine similarity 0–1 (default 0.7)

Returns: Markdown list of related note paths and titles, or a message if no embeddings found.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
limitNo
thresholdNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose the mechanism (cosine similarity on stored embeddings) and an important edge case (returns a message when no embeddings exist), which is genuinely useful. But it omits prerequisites such as whether notes must be indexed/synced first, and says nothing about permission or side-effect profile.

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?

Front-loads the core purpose in one sentence, then uses compact bulleted examples and an Args/Returns block. Slightly listy, but each section carries information with little waste.

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?

Output schema exists, so the return-value description is a bonus rather than a necessity. For a 3-param read tool with moderate complexity, the description covers mechanism, parameters, defaults, and the no-embeddings fallback; only indexing prerequisites are absent.

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 description coverage is 0%, so the description must compensate, and it largely does: it explains path format with a concrete example, limit as max results with default 5, and threshold as cosine similarity 0–1 with default 0.7. It stops short of explaining interaction between limit and threshold (e.g., filtering order), so not a full 5.

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+resource ('Find semantically related notes for a given note') and pins down the input as a vault-relative path. This distinguishes it from siblings like search_notes (keyword search) and query_graph (graph traversal) by naming the similarity mechanic up front.

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?

Offers two concrete 'useful for' scenarios (finance stock reports, knowledge overlap discovery), which imply usage. However, it never states when to prefer this over search_notes or query_graph, nor any exclusions, so a routing decision still requires inference.

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