Skip to main content
Glama

list_conflicted_copies

Lists conflicted-copy notes left by sync tools like Nextcloud or Dropbox after the same note was edited on two computers, showing each copy's original file and conflict kind to guide resolution.

Instructions

List the "(conflicted copy …)" notes a sync tool (Nextcloud, Dropbox) left in the vault: the same note was edited on two computers. Read-only. Returns {copies: [...]}, one entry per copy with copy (file name), original (the note it came from) and kind: merged the edits touch different lines; resolving merges them with no question conflict both computers changed the same lines; clashes lists each one with the two versions (a = the kept file, b = the copy) restore the original was deleted on the other computer; the edit is kept keep-both two different notes took one file name; both are kept error the copy could not be read; detail says why Every entry carries a token for resolve_conflicted_copy. lint_vault also reports each copy, as conflicted-copy.

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": "list_conflicted_copies"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does so well: it declares 'Read-only' outright, documents the exact return shape ({copies: [...]}) with per-entry fields, and enumerates the `kind` taxonomy with the resolution semantics of each (merged/conflict/restore/keep-both/error). The error case is covered via `detail`, and `clashes` is explained for the conflict kind. It does not address cost or scale across a large vault, which keeps it from a 5.

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?

The opening sentence is front-loaded with verb, resource, and cause, followed by a one-word safety statement, then the return shape. The `kind` enumeration is lengthy but each line carries decision-relevant meaning (especially 'merged' vs 'conflict', which determines whether resolution is safe), so nothing is padding. The closing pointer to resolve_conflicted_copy and lint_vault is placed last, where a follow-up note belongs.

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

Completeness5/5

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

Complexity is low (no parameters, no output schema), yet the description still documents the full return contract and the meaning of every kind, exceeding what the absence of an output schema requires. An agent has everything needed to call the tool and interpret its results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the schema baseline of 4 applies and there is no parameter semantics for the description to compensate for. The description's added value is on the return side (token, kind, clashes, detail), not on inputs.

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?

The description pairs a specific verb (list) with a precise resource (sync-tool '(conflicted copy …)' notes in the vault) and explains the cause (the same note edited on two computers). It also distinguishes itself from lint_vault, which reports the same items as `conflicted-copy`, so an agent can tell the two apart without opening either schema.

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?

It establishes the workflow context: every entry carries a `token` for resolve_conflicted_copy, which tells the agent what to call next. It also notes the overlap with lint_vault. What's missing is an explicit 'use this rather than list_vault when you specifically need conflicted copies', but the guidance is clearly implied.

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