Skip to main content
Glama

Maintainerr Rules

maintainerr_rules

Manage Maintainerr rule groups and rules: create, update, execute, stop, test, migrate, and configure exclusions via one operation-based interface.

Instructions

maintainerr rules operations on Maintainerr. Pass operation and an arguments dict matching that operation's parameters.

  • maintainerr_rule_delete_rule_group(id) - Delete Rule Group (DELETE /api/rules/{id}).

  • maintainerr_rule_execute_rule(id) - Execute Rule (POST /api/rules/{id}/execute).

  • maintainerr_rule_execute_rules() - Execute Rules (POST /api/rules/execute).

  • maintainerr_rule_get_community_rule_count() - Get Community Rule Count (GET /api/rules/community/count).

  • maintainerr_rule_get_community_rule_karma_history() - Get Community Rule Karma History (GET /api/rules/community/karma/history).

  • maintainerr_rule_get_community_rules() - Get Community Rules (GET /api/rules/community).

  • maintainerr_rule_get_exclusion(rulegroup_id=None, media_server_id=None) - Get Exclusion (GET /api/rules/exclusion).

  • maintainerr_rule_get_execution_status() - Get Execution Status (GET /api/rules/execute/status).

  • maintainerr_rule_get_rule_constants() - Get Rule Constants (GET /api/rules/constants).

  • maintainerr_rule_get_rule_group(id) - Get Rule Group (GET /api/rules/{id}).

  • maintainerr_rule_get_rule_group_by_collection_id(id) - Get Rule Group By Collection Id (GET /api/rules/collection/{id}).

  • maintainerr_rule_get_rule_group_count() - Get Rule Group Count (GET /api/rules/count).

  • maintainerr_rule_get_rule_groups(active_only=None, library_id=None, type_id=None) - Get Rule Groups (GET /api/rules).

  • maintainerr_rule_get_rule_usernames() - Get Rule Usernames (GET /api/rules/users).

  • maintainerr_rule_get_rules(id) - Get Rules (GET /api/rules/{id}/rules).

  • maintainerr_rule_migrate_rules(payload) - Migrate Rules (POST /api/rules/migrate).

  • maintainerr_rule_remove_all_exclusion(media_server_id) - Remove All Exclusion (DELETE /api/rules/exclusions/{mediaServerId}).

  • maintainerr_rule_remove_exclusion(id) - Remove Exclusion (DELETE /api/rules/exclusion/{id}).

  • maintainerr_rule_set_bulk_exclusions(payload) - Set Bulk Exclusions (POST /api/rules/exclusions/bulk).

  • maintainerr_rule_set_exclusion(payload) - Set Exclusion (POST /api/rules/exclusion).

  • maintainerr_rule_set_rules(payload) - Set Rules (POST /api/rules).

  • maintainerr_rule_stop_executing_rule(id) - Stop Executing Rule (POST /api/rules/{id}/execute/stop).

  • maintainerr_rule_stop_executing_rules() - Stop Executing Rules (POST /api/rules/execute/stop).

  • maintainerr_rule_test_rule_group(payload) - Test Rule Group (POST /api/rules/test).

  • maintainerr_rule_update_community_rule_karma(payload) - Update Community Rule Karma (POST /api/rules/community/karma).

  • maintainerr_rule_update_community_rules(payload) - Update Community Rules (POST /api/rules/community).

  • maintainerr_rule_update_rule(payload) - Update Rule (PUT /api/rules).

  • maintainerr_rule_yaml_decode(payload) - Yaml Decode (POST /api/rules/yaml/decode).

  • maintainerr_rule_yaml_encode(payload) - Yaml Encode (POST /api/rules/yaml/encode).

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": {
      "operation": "<operation>"
    },
    "name": "maintainerr_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
argumentsNo
operationYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does meaningfully disclose the HTTP verb and path per operation, which reveals which operations mutate (DELETE/POST/PUT, including delete_rule_group and stop_executing_rules) versus read. It omits anything about permissions/auth, idempotency, whether deletions are recoverable, execution duration, or error behavior — significant gaps for a surface containing destructive operations.

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?

The usage instruction is front-loaded, then a scannable one-line-per-operation list — appropriate for a 29-operation dispatcher where the list is the only enumeration available. Minor redundancy in entries that restate their name (e.g., 'Delete Rule Group (DELETE /api/rules/{id})'), but no filler prose.

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?

An output schema exists, so return values need not be described, and the operation list covers routing well. The critical missing element is the per-operation `arguments` contract: without required keys or payload shapes, an agent cannot reliably construct calls for the payload-based operations, which is the main correctness risk here.

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% and the schema only exposes a bare `operation` enum plus an `arguments` object with additionalProperties: true. The description lists parameter names for a handful of operations (e.g., get_rule_groups(active_only, library_id, type_id), get_exclusion(rulegroup_id, media_server_id), delete_rule_group(id)), which helps, but 11 operations just say '(payload)' with no field detail and others show '()' with no hint of accepted arguments. Required-vs-optional and value formats remain undocumented.

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?

The opening sentence identifies this as a dispatcher for Maintainerr rule operations, and the enumerated list of 29 operations with HTTP verb and path makes the scope concrete. An agent can tell this is the rules surface of the API rather than collections/settings/etc., though the phrase 'rules operations' alone is generic and the differentiation comes only from the endpoint list.

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

Usage Guidelines3/5

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

The description gives invocation mechanics ('Pass `operation` and an `arguments` dict matching that operation's parameters'), which is a form of how-to-use guidance. It gives no when-to-use vs siblings guidance (e.g., use maintainerr_collections for collection work) and no advice on choosing between similar operations like execute_rule vs execute_rules or get_rule_group vs get_rule_group_by_collection_id.

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