Skip to main content
Glama
Obsidian MCP Server
by Kynlos

compare_notes

Compare two notes to highlight differences in their content, helping you review edits or reconcile versions.

Instructions

Diff two notes

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": {
      "file1": "<file1>",
      "file2": "<file2>"
    },
    "name": "compare_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
file1YesFirst note
file2YesSecond note

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

C2.5/5.0
Behavior2/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 and provides essentially none. It does not confirm the operation is read-only, does not describe the shape of the returned diff, and does not mention behavior for identical, empty, or very large notes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three words is maximally concise and front-loaded, but here brevity becomes under-specification rather than efficiency. Nothing in the sentence is wasted, yet nothing is added either.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool itself is simple (two required parameters, no nesting), but with no annotations and no output schema, the description is the only place to state what a diff result looks like and how it is scoped. It leaves both unanswered, so an agent cannot predict the response before invoking.

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 required parameters are documented as "First note" and "Second note". The description adds no further meaning, but with a fully documented schema the baseline of 3 applies; it is unclear whether the parameters accept paths or note titles, which the schema does not resolve either.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Diff two notes" gives a recognizable verb (diff/compare) and resource (notes), so the core operation is inferable. However, it is terse to the point of ambiguity about whether the result is textual content diff, metadata diff, or link diff, and it does nothing to separate it from siblings like find_similar_notes or merge_notes.

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 exclusion of alternatives, and no stated preconditions (e.g., whether the two notes must exist, whether they can be in different folders). The agent must infer everything from the name.

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