Skip to main content
Glama

start_dedup_scan

Запустить поиск дублей в облаке (фоном — статус через get_dedup_scan). Только анализ, ничего не удаляет и бесплатно. scope_path — папка ('' = весь диск); keep_rule: 'oldest' — сохранить старейшие копии, 'newest' — новейшие. Ошибки: 404 — облако не найдено; 409 — на этом облаке уже идёт скан или перенос.

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": {
      "connection_id": "<connection_id>"
    },
    "name": "start_dedup_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
keep_ruleNo
scope_pathNo
connection_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint=false, so the description's 'nothing is deleted, it is free' reinforces rather than merely repeats. It adds genuinely new behavior: the scan runs asynchronously in the background, progress must be polled via get_dedup_scan, and specific HTTP-style error codes (404, 409) signal not-found and concurrency conflicts.

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?

Front-loaded with the action and its safety/cost profile, then parameters, then error codes — each clause adds distinct information with no filler. Parenthetical and semicolon structure keeps it dense without becoming unreadable.

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

Completeness4/5

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

For a background-start tool with no output schema, it covers everything needed to invoke it correctly and explains how to retrieve results via get_dedup_scan. The only gap is that connection_id's meaning and acceptable values are never stated directly.

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 description coverage is 0%, so the description carries the parameter burden and does well: scope_path is defined with the critical '' = entire disk default, and keep_rule's enum values are explained with their retention semantics. connection_id is left unexplained, though the 404 note about 'cloud not found' implicitly identifies it as the target cloud.

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 (start a duplicate search in the cloud) and immediately scopes it: background execution, analysis only, nothing deleted. This distinguishes it from the sibling execute_dedup, which performs the actual action, without the agent needing to open any schema.

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?

Explicitly routes status polling to get_dedup_scan and makes clear this tool is analysis-only and free, implicitly steering destructive work to execute_dedup. It also names the two failure contexts (404 cloud not found, 409 scan/transfer already running) that tell the agent when a call cannot proceed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources