Skip to main content
Glama

find_duplicates

Identify pairs of Obsidian notes with highly similar content using Jaccard similarity scores. Returns note pairs above a configurable similarity threshold to help merge or clean up redundant notes.

Instructions

Identify pairs of notes with highly similar content using Jaccard similarity. Returns pairs above the similarity threshold.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_duplicates"
  }
}

Input Schema

NameRequiredDescriptionDefault
folderNoLimit search to a specific folder.
thresholdNoSimilarity threshold between 0 and 1. Defaults to 0.5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description must carry the load; it does disclose the algorithm, the threshold semantics, and that results are pairs above the threshold. It omits whether the operation only reads notes, how large result sets are bounded, and what each returned pair contains, which are meaningful gaps for an unannotated tool.

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, front-loaded with the action and method, and the second sentence only adds the filtering rule. Nothing is redundant or padded.

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?

There is no output schema and no annotations, so the description is the only place to learn what comes back; 'returns pairs above the similarity threshold' gestures at the shape but does not state the pair structure or whether scores are included. Adequate for invocation, thin for interpretation of results.

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 coverage is 100%, so both parameters are already documented with types, bounds, and default. The description restates the threshold behavior ('above the similarity threshold') but adds no interpretation of folder scoping or how threshold choice affects volume. Baseline 3 applies.

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 ('Identify pairs of notes') and adds the matching method ('Jaccard similarity'), which is more informative than the name alone. It does not, however, differentiate itself from plausible siblings like find_related_notes or compare_notes, so an agent must still infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance is given, and no alternative is named. The reader can guess this is for deduplication, but nothing says how it differs from find_related_notes or compare_notes when choosing a tool.

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