Skip to main content
Glama
biogin
by biogin

write_patch

Write a new Serum 1 preset from specified settings and constraints, returning the written settings and its path in Serum's preset browser.

Instructions

Write a new Serum 1 preset from settings you designed.

    Returns a Patch Summary (the exact settings written) and the path of the
    Preset written into Serum's preset browser (User → AI).

    Args:
        patch: The settings to write.
        constraints: Hard requirements to check before writing (e.g. the producer
            said "keep the sub clean" or "no reverb").
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
patchYes
constraintsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does usefully disclose side effects — a preset is written into Serum's browser at 'User → AI' and a Patch Summary plus path are returned, and constraints are validated before writing. However, it says nothing about overwrite behavior when a name already exists, permissions, or reversibility, which matter for a filesystem-writing tool.

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?

The core purpose is front-loaded in one sentence, followed by behavior and a compact Args block. The return-value sentence partially duplicates the existing output schema, which is minor waste, but overall the text is tight and easy to scan.

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 mutating, file-writing tool with no annotations, the description covers the essential create-and-return flow and where output lands. Given a rich nested input schema and an output schema, the main remaining gaps are overwrite/collision behavior and how 'constraints' failures are surfaced.

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?

Top-level schema description coverage is 0%, so the description must compensate. It adds meaning for both parameters: patch is 'the settings to write' and constraints are 'hard requirements to check before writing', with concrete examples that explain the otherwise bare enum. It still does not explain the patch sub-fields (name, params, routings, wavetables) at the top level.

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 concrete verb and resource: 'Write a new Serum 1 preset from settings you designed.' The word 'new' implicitly separates it from the sibling edit_patch, though edit_patch is never named. An agent can identify what the tool does, but the sibling differentiation is left to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit guidance on when to use this versus edit_patch for existing presets, nor any stated prerequisites. The constraint examples ('keep the sub clean', 'no reverb') hint at production context but do not tell the agent when this tool is the right choice.

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