Skip to main content
Glama

save_preset

Save a synth patch directly into the user's preset library, optionally placing it in a named folder created if missing, so patches can be reused from the plugin's left list.

Instructions

Save a patch straight into the user's library (the plugin's left list). Normally the USER saves from the plugin's test bin; use this only when they ask you to save something directly. folder: optional library folder, e.g. "stranger things" or "pads/dark" (created if missing).

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": {
      "patch": "<patch>"
    },
    "name": "save_preset"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
patchYes
folderNo
overwriteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose that this is a write into the user's library and that a missing folder is created as a side effect. However, it says nothing about the effect of overwrite=true, what happens when name is null, or whether an existing preset with the same name errors or duplicates.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, purpose stated first, the usage caveat second, and the one parameter detail last. Every clause earns its place and there is no restatement of the tool name or filler.

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?

This is a mutating tool with a nested required object, four undocumented parameters, no annotations, and no output schema. Given that complexity, the description leaves too much open about overwrite behavior, naming, and what the call returns on success or collision.

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% across four parameters, so the description must compensate, and it only documents one: folder, with format examples and create-if-missing semantics. The semantics of name (null fallback?), overwrite (silent clobber vs error), and the structure of the required patch object are left entirely to inference.

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?

States a specific verb and resource ("Save a patch straight into the user's library") and anchors it to a concrete location ("the plugin's left list"), so the agent knows what is persisted and where. It does not explicitly contrast with siblings like list_presets or load_preset, which keeps it from a 5.

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?

Gives an explicit default path ("Normally the USER saves from the plugin's test bin") and a narrow trigger for the tool ("use this only when they ask you to save something directly"). The when-not condition is as clear as the when, which is exactly what prevents over-invocation of a write tool.

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