Skip to main content
Glama
kde-desktop-mcp

kde-desktop-mcp

by marvin1099

kde_audio_set_default

Destructive

Set and verify the live default audio output or input device for a KDE Plasma desktop session.

Instructions

Set and verify the live default output sink or input source.

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": {
      "session": "<session>",
      "direction": "<direction>",
      "device_name": "<device_name>"
    },
    "name": "kde_audio_set_default"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionYes
directionYes
device_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already flag destructiveHint and openWorldHint, but the description adds no context about what is destroyed or replaced (the previous default assignment), whether the change survives across sessions, or what happens with an invalid device_name. For a destructive mutation with no output schema, the description should tell the agent more about effects and failure modes.

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 short sentence with the operation front-loaded and no filler. The trailing 'and verify' is the only vague element, and it costs clarity rather than length.

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

Completeness2/5

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

A destructive, open-world tool with three required unlabeled parameters and no output schema needs substantially more than one sentence. Key gaps include where device_name values come from, how failures are reported, and what 'verify' returns.

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%, so the description carries the full burden for three required parameters. It only loosely maps direction to 'output sink or input source' and says nothing about session (a fixed const) or the format and source of device_name, leaving the most error-prone parameter 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 description names a specific verb (set) and resource (the live default output sink or input source), which is enough to distinguish it from kde_audio_set_volume and kde_audio_set_mute. The added 'and verify' is not explained, so the agent cannot tell whether verification is a separate returned result or a side effect.

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 word 'live' implies this changes the running session's default rather than any persisted configuration, which is useful implied context. But nothing says when to use this instead of routing an individual stream (kde_audio_route_stream), and no prerequisite is stated, such as the device_name needing to come from kde_audio_list.

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