Skip to main content
Glama

Delete rule

hdhomerun_delete_rule
Destructive

Deletes an HDHomeRun DVR recording rule by RecordingRuleID or SeriesID, including DateTimeOnly and ChannelOnly rules, to remove unwanted scheduled recordings.

Instructions

Delete a Series/Movie rule (by RecordingRuleID or SeriesID) or a DateTimeOnly-ChannelOnly rule (RecordingRuleID, or SeriesID+DateTimeOnly+ChannelOnly).

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

Input Schema

NameRequiredDescriptionDefault
confirmNoExplicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt.
series_idNo
device_authNo
channel_onlyNo
date_time_onlyNo
recording_rule_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.3.10
    • addedInput schema / properties / confirm
      Added value: +{
      +  "default": false,
      +  "description": "Explicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt.",
      +  "type": "boolean"
      +}
  2. First observedv1.3.6

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the safety profile is covered. The description contributes the identifier-mode logic needed to target the right rule, but says nothing about irreversibility, whether the delete requires the recording engine to be reachable, or how a rule that doesn't exist is handled.

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?

A single front-loaded sentence with no filler, and the two rule families are ordered clearly before the parenthetical identifier details. Slightly dense parenthetical nesting keeps it off a 5.

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 destructive six-parameter tool with no output schema and no required parameters, the definition covers the core targeting logic but omits the auth parameter entirely and never states what happens when an invalid combination (e.g. SeriesID without the DateTimeOnly/ChannelOnly pair) is supplied.

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 coverage is only 17% (only `confirm` is documented), so the description must compensate, and it does the most important part: it specifies that a rule is identified either by RecordingRuleID alone, by SeriesID, or by the SeriesID+DateTimeOnly+ChannelOnly triple. It stops short of explaining `device_auth` (entirely undocumented) or the value domain of `series_id`/`recording_rule_id`.

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?

"Delete a Series/Movie rule ... or a DateTimeOnly-ChannelOnly rule" states a specific verb (delete) and resource (recording rule) and enumerates the identifier shapes for each rule type. It is clearly distinguishable from hdhomerun_delete_recording and hdhomerun_list_recording_rules, though it never names a sibling explicitly.

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?

Usage is implied rather than stated: the phrasing tells the agent which identifier combination is acceptable for which rule type, which is real guidance for picking a call mode. However, there is no explicit guidance on when to prefer this over hdhomerun_change_rule (modify) or hdhomerun_delete_recording (remove a recording file), and no prerequisites or exclusions.

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

Deploy Server

Other Tools