Skip to main content
Glama

conflicts_list

List unresolved sync conflicts from the local registry to see which files drifted and need resolution. Filter by status or limit results; returns details and a global unresolved count.

Instructions

List sync conflicts in the local conflict registry (Phase 5 Conflict Manager). A conflict is recorded when the storage server delivers an operation for a file that was modified locally since the last sync (base_version drift); the canonical file is preserved and the remote version is forked to a ' (from <machine_label>).' copy. Defaults to unresolved conflicts, newest first. Pass status='all' to include resolved, status='resolved' for the resolved history, and limit to cap the page. Returns {conflicts, count, unresolved}: count is the length of the returned list, unresolved is the global unresolved total (use it to decide whether there is anything to act on). Each conflict carries gid, file_path, conflict_path, origin, origin_label, base_version, server_seq, local_content, remote_content, diff, additions, deletions, status, resolution, resolved_at, created_at. Read-only; no side effects, auth, or rate limits. To inspect a single conflict use conflicts_get; to fix one use conflicts_resolve.

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

Input Schema

NameRequiredDescriptionDefault
limitNoOptional page size. Positive integer; omit for no cap.
statusNoFilter by resolution state. Defaults to 'unresolved'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv7.2.2

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it declares the tool read-only with 'no side effects, auth, or rate limits' and explains the underlying fork-on-conflict behavior so the agent understands what the listed records represent. It stops short of describing ordering guarantees beyond 'newest first' or any cap on the returned page, but the safety profile is fully covered.

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?

Front-loaded with purpose and behavior, then defaults, then parameters, then return shape and siblings — a logical progression. The 16-field enumeration is dense, but it is doing necessary work because no output schema exists; only that clause is arguably longer than needed.

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?

For a two-parameter read tool with no output schema and no annotations, the description supplies everything an agent needs: what a conflict is, default filtering, how to widen it, the pagination parameter, the response shape including the distinction between 'count' and the global 'unresolved' total, and handoffs to the sibling tools for drill-down and resolution.

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?

Schema coverage is 100%, so baseline is 3, but the description adds real meaning beyond the schema by spelling out the semantics of each status value (all = include resolved, resolved = resolved history) and clarifying that limit 'caps the page' rather than filtering results. It also explains how to interpret the returned 'unresolved' counter, which ties parameters to expected output.

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?

States a specific verb and resource ('List sync conflicts in the local conflict registry') and goes further by defining what a conflict actually is (remote operation arriving against a file modified locally since last sync, canonical file preserved, remote forked to a labeled copy). That definition makes it unmistakable versus siblings like conflicts_get or calendar_events_conflicts.

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

Usage Guidelines5/5

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

Gives the default scope ('Defaults to unresolved conflicts, newest first'), the exact switches to change it (status='all', status='resolved'), and explicit routing: 'To inspect a single conflict use conflicts_get; to fix one use conflicts_resolve.' Both the when and the when-not are covered.

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