Skip to main content
Glama

find_duplicate_notes

Read-onlyIdempotent

Detects notes with identical content and matching file names in different folders to flag ambiguous [[links]] and support duplicate cleanup.

Instructions

Notes with identical content, and notes sharing the same file name in different folders (which makes [[links]] ambiguous).

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_duplicate_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
folderNoLimit to this folder (vault-relative)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds substantive behavioral semantics beyond the annotations by defining what counts as a duplicate and why it matters, namely that same-name links across folders make wikilinks ambiguous. It stops short of describing result grouping or ordering.

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?

A single sentence with no wasted words, and the core criteria come first. It loses a point for being a sentence fragment that lacks an explicit action verb to anchor it.

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 simple two-parameter read-only finder with no output schema, the definition is mostly adequate but leaves the return shape unexplained: whether results are grouped into content-duplicate and name-duplicate sets, or flat. It also omits any note about scale or truncation on large vaults.

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% and both parameters (vault, folder) are documented there, including the vault default resolution. The description adds nothing about scoping to vault or folder, so the 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?

The description defines the two exact duplicate criteria clearly: identical content, and the same file name in different folders. However, it is a noun-phrase fragment with no verb, and it never distinguishes itself from the sibling find_similar_notes, which an agent could reasonably confuse it with.

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?

There is no when-to-use guidance, no prerequisite (such as whether the vault must be indexed first), and no alternatives named. The parenthetical about ambiguous [[links]] hints at motivation but not at invocation conditions.

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