Skip to main content
Glama

compare_notes

Compare two Obsidian notes side by side to identify shared concepts, unique content, tag overlap, and link overlap.

Instructions

Compare two notes side by side: shared concepts, unique content, tag overlap, and link overlap.

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": {
      "path_a": "<path_a>",
      "path_b": "<path_b>"
    },
    "name": "compare_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
path_aYesVault-relative path to the first note.
path_bYesVault-relative path to the second note.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does tell the agent what the comparison covers, which implies a read-only analytical operation, but it never states that no note is modified, whether the comparison is expensive or has limits, or how results are returned for a note pair.

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?

A single sentence with the action front-loaded and the four comparison dimensions listed compactly. There is no filler, and every clause conveys what the agent will get back.

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?

For a simple two-path read tool with no output schema and no annotations, the description covers purpose and the shape of the result well. The remaining gap is the absence of any read-only or side-effect assurance, which an agent might reasonably want before invoking it.

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 the schema already defines both required parameters as vault-relative note paths. The description adds only the notion that the two inputs are notes being compared against each other, which is marginal beyond the schema, 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 opens with a specific verb and resource ("Compare two notes side by side") and enumerates the dimensions of comparison: shared concepts, unique content, tag overlap, and link overlap. That is enough for an agent to distinguish it from siblings like find_duplicates or merge_notes, though those alternatives are never named explicitly.

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?

Usage is only implied by the phrase "side by side," which suggests a pairwise analytical comparison rather than a vault-wide search. There is no explicit when-to-use statement and no mention of when a different tool (e.g. merge_notes for combining, find_duplicates for detecting redundancy) would be the better choice.

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