Skip to main content
Glama

Fit to a device

fit_device
Destructive

Conforms audio files to a device profile—format, rate, depth, channels, and fade-cut length—and writes copies into a device-named folder beside the sources without altering originals.

Instructions

Fit files to a device, as the person's f in the Library: each file conformed to the device's profile (its format, rate, depth and channels; cut with a fade to its longest sample) into a folder named for the device beside them, the sources never touched. It waits for the person's Return in the Library only if they asked SoundEdit to wait; the reply names what was written.

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": {
      "device": "<device>"
    },
    "name": "fit_device"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsNothe files to fit (default: every measured file the Library shows)
deviceYesthe device's profile by name or id, as the Library's f offers them (OP-XY, MPC, M8 …)
wait_secondsNohow long to wait for the person's Return (default 120)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The description adds real behavioral context beyond the annotations: sources are never modified, output lands in a new sibling folder, the call blocks for a human Return only when the app is configured to wait, and the reply enumerates what was written. However, it never reconciles this 'sources never touched' framing with destructiveHint=true, and says nothing about failure, overwrite, or partial-completion behavior for a non-idempotent mutation.

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?

Content is front-loaded with the core action and every clause carries information. The prose is dense and mildly awkward ('as the person's f in the Library') and packs four ideas into one long sentence, which slightly hurts scanability.

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 three-parameter mutation with no output schema, the description covers the key unknowns: what is produced, where, that sources are preserved, that the call may block on a human, and what the reply contains. It could be stronger on error and overwrite cases but is otherwise sufficient to call correctly.

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?

Schema coverage is 100%, so the schema already documents all three parameters including examples. The description adds only marginal meaning, chiefly that waiting is conditional on the app's setting and that the default row set is everything the Library shows — both largely redundant with the schema text.

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 gives a precise verb+resource ('Fit files to a device') and spells out the transformation in concrete terms: format, rate, depth, channels, trim-to-longest-sample with a fade, output into a device-named folder. It does not explicitly say how this differs from siblings such as deliver_kit or process, so it stops short of full sibling differentiation.

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 by the surrounding context ('as the person's f in the Library', default = every measured file the Library shows), but there is no explicit when-to-use statement or exclusion against alternatives like deliver_kit or make_multisample. An agent must infer the selection conditions.

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