Skip to main content
Glama

Delete an Assist pipeline

voice_delete_pipeline
DestructiveIdempotent

Permanently removes a Home Assistant Assist pipeline by its pipeline ID; switch the preferred pipeline first if the target is currently preferred.

Instructions

Delete an Assist pipeline via WS assist_pipeline/pipeline/delete.

HA rejects deleting the pipeline currently marked preferred — call voice_set_preferred_pipeline with a different id first in that case.

Use when: permanently removing a pipeline that is no longer needed. Not for: the preferred pipeline without switching preference first, and not for temporarily disabling a pipeline (HA has no such state). Returns: {"deleted": true, "pipeline_id"} (Home Assistant itself answers with no payload).

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": {
      "pipeline_id": "<pipeline_id>"
    },
    "name": "voice_delete_pipeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
pipeline_idYesID of the pipeline to delete, from `voice_list_pipelines`.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.25.1
    • addedInput schema / properties / pipeline_id / description
      Added value: +"ID of the pipeline to delete, from `voice_list_pipelines`."
  2. Addedv0.4.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description adds real value beyond them: Home Assistant rejects deleting the preferred pipeline, and the description supplies the recovery path plus the wrapper return shape versus HA's empty payload. It does not discuss cascade effects on the pipeline's STT/TTS/wake-word config, so it stops just short of a 5.

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?

Front-loaded verb+resource, then constraint, then labeled Use/Not-for/Returns blocks that scan quickly. The Returns line partially duplicates the existing output schema, which is the only waste.

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

Completeness5/5

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

For a destructive one-parameter tool with annotations and an output schema, everything an agent needs is present: the precondition that HA rejects deleting the preferred pipeline, the exact tool to call instead, and the response envelope.

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

Parameters3/5

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

One required parameter with 100% schema description coverage, which already says the id comes from `voice_list_pipelines`. The description adds no format, validation, or error-shape detail beyond that, so the schema carries the weight and a baseline 3 applies.

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 ('Delete an Assist pipeline') and even names the underlying WS command 'assist_pipeline/pipeline/delete', which disambiguates it from the update/create/list siblings in the voice_* family.

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?

Explicit 'Use when' (permanently removing an unneeded pipeline) and 'Not for' clauses name two exclusions, one of which routes the agent to a concrete alternative: call `voice_set_preferred_pipeline` with a different id first when the target is preferred.

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