Skip to main content
Glama

Delete recording

hdhomerun_delete_recording
Destructive

Deletes an HDHomeRun DVR recording by sending a POST request to its CmdURL, with an option to mark the episode for future re-recording.

Instructions

POST cmd=delete[&rerecord=1].

Must be POST (HTTP GET is rejected with 400). Set rerecord=True to tell the DVR to record the episode again on a future airing.

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": {
      "cmd_url": "<cmd_url>"
    },
    "name": "hdhomerun_delete_recording"
  }
}

Input Schema

NameRequiredDescriptionDefault
cmd_urlYes
confirmNoExplicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt.
rerecordNo

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

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known; the description adds real context beyond that: the endpoint must be POST and GET is rejected with 400, and rerecord changes downstream DVR behavior. It stops short of stating that the recording file is permanently removed and cannot be recovered.

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?

Two short paragraphs, front-loaded with the concrete HTTP invocation and the POST constraint, then the optional rerecord flag. The '<CmdURL from recorded_files.json> cmd=delete' phrasing is slightly raw protocol syntax but is efficient and directly actionable.

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 destructive, single-target tool with no output schema, the definition covers invocation method, input source, and the key flag. The remaining gap is irreversibility/permanence of the deletion, which the destructive annotation partially signals but the description does not state.

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 only 33%, so the description must compensate — and it does: cmd_url's provenance (recorded_files.json) and rerecord's effect (record the episode again on a future airing) are both explained. Only the confirm parameter's semantics are left to the schema, which already documents it adequately.

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 the exact operation (cmd=delete on the DVR record engine) and, crucially, where the required cmd_url comes from ('CmdURL from recorded_files.json'), so an agent knows to call hdhomerun_get_recorded_files first. This distinguishes it from rule-level tools such as hdhomerun_delete_rule.

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?

Clear context for use — deleting a specific recorded file — plus guidance that setting rerecord=True re-schedules the episode on a future airing. It does not explicitly rule out related alternatives (e.g., deleting a recording rule instead of a recording), but the required cmd_url makes the trigger condition unambiguous.

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