Skip to main content
Glama

Find Similar Notes

find_similar_notes
Read-onlyIdempotent

Retrieve the most semantically similar notes from the vault given a source note path. Uses precomputed embeddings for fast, offline comparisons.

Instructions

Given a note path, return the K most semantically similar notes from the index (excluding the source note). Uses the source note's existing chunk embeddings — no live API call to the embedding provider, so this is fast and free. Run index_vault first to populate embeddings for both the source and the candidates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesVault-relative path to the source note, e.g. 'projects/atlas.md'.
limitNoMaximum number of similar notes to return (1-100, default: 10).
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, indicating safe and deterministic behavior. The description adds valuable context: uses existing chunk embeddings (no live API call), making it fast and free. No contradictions with annotations.

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 sentences, no wasted words. First sentence delivers the core functionality, second sentence adds key insight about performance and prerequisites. Front-loaded and efficient.

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?

No output schema, so description should hint at return format or behavior. It does not describe what the returned data looks like (e.g., list of paths or objects). Also doesn't mention error cases (e.g., missing source note). The prerequisite is stated, which is good, but completeness could be improved.

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?

Input schema provides full descriptions (100% coverage). The description restates the general purpose of path and limit without adding new nuances. Baseline of 3 is appropriate as the schema already does the heavy lifting.

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?

Clearly states the verb 'return' and the resource 'most semantically similar notes from the index', including the exclusion of the source note. Distinguishes itself by describing underlying mechanism (existing embeddings) and speed/cost benefits, which helps differentiate from siblings like search_semantic.

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?

Explicitly states when to use (find similar notes) and a key prerequisite ('Run index_vault first'). Implies when not to use (embeddings not populated) but does not name alternative tools explicitly. Provides clear context for usage.

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/rps321321/obsidian-mcp-pro'

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