Skip to main content
Glama
SeraphimSerapis

duplicacy-mcp

set_filters

Define include/exclude patterns to control which files a Duplicacy repository backs up. Use rules like +dir/* to include and -* to exclude.

Instructions

Set the include/exclude filter patterns of a repository.

Patterns are duplicacy filter rules, one per entry, first match wins: +dir/* includes, -* excludes everything else. E.g. ["+movies/", "+tv/", "-*"] backs up only movies and tv.

Args: index: Repository index (0-based). patterns: Filter rules in order.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYes
patternsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the burden. It explains the pattern rules ('first match wins') and gives an example, but it does not disclose that the operation overwrites existing filters or mention any side effects. This is a notable gap for a mutation 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?

The description is concise and well-structured: two introductory sentences, an illustrative example, then a brief args list. Every sentence contributes to understanding, and the most important purpose is front-loaded.

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?

With an output schema present, return values need no description. The description covers the pattern syntax, example, and parameters well. It lacks an explicit statement about replacing all existing filters and possible error cases, but overall it is sufficiently complete for a setter tool.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must fully compensate. It does so by explaining both parameters: 'index' is 0-based, and 'patterns' are filter rules with order semantics, plus a concrete example. This adds significant meaning beyond the bare 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 description clearly states the tool's function with a specific verb ('Set') and resource ('include/exclude filter patterns of a repository'). It distinguishes itself from the sibling get_filters by implying the opposite operation and provides a concrete example of use.

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?

The context is clear: this tool is used to set repository filter patterns, with an example showing a typical use case. It does not explicitly mention when not to use it or name alternatives, but the purpose is unambiguous.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SeraphimSerapis/duplicacy_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server