Skip to main content
Glama
axross-headless-mcp

axross-headless-mcp

List duplicate scans

list_duplicate_scans
Read-onlyIdempotent

Lists past duplicate scans newest first so you can choose a scan ID or confirm a scan finished; read-only, returns status, timestamps, and duplicate group counts.

Instructions

List past duplicate scans (scan history), newest first. Use when: choosing a scan_id, or checking that a scan finished. Instead: scan_duplicates to run one; list_duplicate_groups for the duplicates. Requires: --mcp-tools duplicates. Behavior: read-only; this backend's scans (local: inside the MCP root), the newest 1000 only. Time limit: 15 s. Returns: {scans: [{scan_id, root, backend_id, algorithm, started_at, finished_at (ISO 8601, null while running), files_indexed, files_in_index, duplicate_groups, status, error}], truncated}.

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_duplicate_scans"
  }
}

Input Schema

NameRequiredDescriptionDefault
backendNoBackend id from list_backends; omit for the default.

Output Schema

NameRequiredDescriptionDefault
scansYes
truncatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.181

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive), the description discloses a required feature flag ('--mcp-tools duplicates'), the result scope (this backend's scans, local: inside the MCP root), a hard cap ('newest 1000 only'), a 15 s time limit, and a 'truncated' flag for partial results. These are operationally decisive traits that no annotation or schema field conveys.

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?

Labeled sections (Use when / Instead / Requires / Behavior / Returns) front-load the routing decision and keep every sentence functional; nothing is padding.

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?

Prerequisites, scope, cap, timeout, and truncation are all covered, and the return-field list is a bonus since an output schema already exists. An agent has everything needed to call it and interpret partial results.

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 coverage is 100% and the single 'backend' parameter is already documented as coming from list_backends with a default when omitted. The description adds only the indirect clarification that results are scoped to 'this backend's scans', which is marginal over the schema.

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 first sentence names a specific verb and resource ('List past duplicate scans (scan history)') and adds the ordering ('newest first'), which is exactly the information needed to distinguish it from the sibling tools.

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?

It gives explicit when-to-use conditions ('choosing a scan_id, or checking that a scan finished') and names the alternatives with their roles ('scan_duplicates to run one; list_duplicate_groups for the duplicates'), so an agent can route without opening any schema.

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