Skip to main content
Glama

aft_conflicts

Scan a repository or worktree for merge conflicts and list conflicted files and regions without modifying anything.

Instructions

AFT merge-conflict scan (read-only). Lists conflicted files/regions for a repo or worktree.

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

Input Schema

NameRequiredDescriptionDefault
pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the whole burden — and it does declare '(read-only)', which is genuinely useful safety context. However, it says nothing about whether the scan touches the working tree, what happens with no conflicts, or whether it errors on a non-repo path, leaving real gaps for a no-annotation tool.

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?

Two short sentences with zero filler, and the read-only qualifier plus the resource list are front-loaded. Every clause carries information.

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 one-optional-parameter read tool with no output schema, the description covers purpose and return content well enough to call it. It still leaves the default-path behavior and edge cases (no conflicts, invalid path) unstated, which matters more here because no annotations exist to fall back on.

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

Parameters2/5

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

Schema description coverage is 0% for the single 'path' parameter, so the description must compensate. The phrase 'for a repo or worktree' hints that path points at a repository or worktree, but it never says whether path is optional, what the default is when omitted (required count is 0), or whether it accepts a subdirectory.

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?

States a specific verb and resource: an 'AFT merge-conflict scan' that 'Lists conflicted files/regions' in a repo or worktree. That is far more specific than a restated name, though it does not explicitly distinguish itself from nearby siblings such as aft_status or aft_inspect, which could plausibly also report repo state.

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?

The only situational cue is the scope phrase 'for a repo or worktree', which implies where it applies but not when to call it (e.g. before a merge, during conflict resolution) or what to use instead. No exclusions or alternatives are named.

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