Skip to main content
Glama

share_preset

Idempotent

Share what the user made (never factory, bought or downloaded sounds) under CC BY-SA 4.0: SysEx, settings or MIDI file; or code to capture it.

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": "<name>",
      "own_sound": "<own_sound>"
    },
    "name": "share_preset"
  }
}

Input Schema

NameRequiredDescriptionDefault
hexNoSysEx in hex.
keyNo
codeNoThe relay's pairing code.
kindNo
nameYes
portNo
tagsNo
tipsNo
tempoNo
deviceYes
genresNo
secondsNoWith code: wait (default 5).
user_idNo
categoryNo
firmwareNo
settingsNo{"/filter/cutoff": [90]}
librarianNotake_sound's librarian.
own_soundYesTrue only after asking the user.
descriptionNo
midi_base64No
request_hexNoWith code: the dump request to send.
derived_fromNoId of the preset it was made from.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed22 schema fields changed
    • removedInput schema / properties / category / description
      Removed value: -"The kind of sound or part."
    • changedInput schema / properties / code / description
      Previous value: -"A relay's pairing code: capture the device data from the device instead of hex."New value: +"The relay's pairing code."
    • changedInput schema / properties / derived_from / description
      Previous value: -"Id of the shared preset it was made from."New value: +"Id of the preset it was made from."
    • removedInput schema / properties / description / description
      Removed value: -"What it sounds like (500 characters at most)."
    • removedInput schema / properties / device / description
      Removed value: -"Driver id (e.g. 'korg/minilogue') or slug."
    • removedInput schema / properties / firmware / description
      Removed value: -"Firmware version of the device it was made on."
    • removedInput schema / properties / genres / description
      Removed value: -"Musical styles: 'techno', 'ambient'… (8 at most)."
    • changedInput schema / properties / hex / description
      Previous value: -"The device data as SysEx, in hex (64 KB at most)."New value: +"SysEx in hex."
    • removedInput schema / properties / key / description
      Removed value: -"Musical key, e.g. 'A minor'."
    • removedInput schema / properties / kind / description
      Removed value: -"What it is (default sound)."
    • changedInput schema / properties / librarian / description
      Previous value: -"The synth the librarian took it from (take_sound's librarian): loading it then goes through the same exchange, fitted to the receiving synth."New value: +"take_sound's librarian."
    • removedInput schema / properties / midi_base64 / description
      Removed value: -"A standard MIDI file, base64 (64 KB at most)."
    • removedInput schema / properties / name / description
      Removed value: -"Its name (80 characters at most)."
    • changedInput schema / properties / own_sound / description
      Previous value: -"Must be true: the user made it (not a factory preset, not someone else's)."New value: +"True only after asking the user."
    • removedInput schema / properties / port / description
      Removed value: -"With code: the device's port name (or part of it), when the relay has several."
    • changedInput schema / properties / request_hex / description
      Previous value: -"With code: the device's dump-request SysEx, sent first (e.g. 'F0 42 30 00 01 2C 10 F7')."New value: +"With code: the dump request to send."
    • changedInput schema / properties / seconds / description
      Previous value: -"With code: how long to wait for the dump (default 5)."New value: +"With code: wait (default 5)."
    • changedInput schema / properties / settings / description
      Previous value: -"Settings by driver address: {'/filter/cutoff': [90], '/amp/attack': [12]} (512 at most)."New value: +"{\"/filter/cutoff\": [90]}"
    • removedInput schema / properties / tags / description
      Removed value: -"Character and free words: 'warm', 'dark', 'evolving'… (8 at most)."
    • removedInput schema / properties / tempo / description
      Removed value: -"BPM, for sequences and clips."
    • removedInput schema / properties / tips / description
      Removed value: -"How to play it: mod wheel, aftertouch, register… (500 characters at most)."
    • removedInput schema / properties / user_id / description
      Removed value: -"Your anonymous SynthHub id, if you kept it from an earlier session (see the server instructions). Optional."
  2. Changed1 schema field changed
    • addedInput schema / properties / librarian
      Added value: +{
      +  "description": "The synth the librarian took it from (take_sound's librarian): loading it then goes through the same exchange, fitted to the receiving synth.",
      +  "type": "string"
      +}
  3. Changed15 schema fields changed
    • addedInput schema / properties / category
      Added value: +{
      +  "description": "The kind of sound or part.",
      +  "enum": [
      +    "bass",
      +    "lead",
      +    "pad",
      +    "pluck",
      +    "keys",
      +    "organ",
      +    "brass",
      +    "strings",
      +    "bell",
      +    "arp",
      +    "sequence",
      +    "drums",
      +    "percussion",
      +    "fx",
      +    "texture",
      +    "vocal",
      +    "other"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / code / description
      Previous value: -"A relay's pairing code: capture the patch from the device instead of hex."New value: +"A relay's pairing code: capture the device data from the device instead of hex."
    • addedInput schema / properties / derived_from
      Added value: +{
      +  "description": "Id of the shared preset it was made from.",
      +  "type": "string"
      +}
    • changedInput schema / properties / description / description
      Previous value: -"What it sounds like, how to play it (500 characters at most)."New value: +"What it sounds like (500 characters at most)."
    • changedInput schema / properties / firmware / description
      Previous value: -"Firmware version of the device the sound was made on."New value: +"Firmware version of the device it was made on."
    • addedInput schema / properties / genres
      Added value: +{
      +  "description": "Musical styles: 'techno', 'ambient'… (8 at most).",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / hex / description
      Previous value: -"The patch as SysEx, in hex (one program, 32 KB at most)."New value: +"The device data as SysEx, in hex (64 KB at most)."
    • addedInput schema / properties / key
      Added value: +{
      +  "description": "Musical key, e.g. 'A minor'.",
      +  "type": "string"
      +}
    • addedInput schema / properties / kind
      Added value: +{
      +  "description": "What it is (default sound).",
      +  "enum": [
      +    "sound",
      +    "sequence",
      +    "kit",
      +    "project",
      +    "bank",
      +    "clip"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / midi_base64
      Added value: +{
      +  "description": "A standard MIDI file, base64 (64 KB at most).",
      +  "type": "string"
      +}
    • changedInput schema / properties / name / description
      Previous value: -"The sound's name (80 characters at most)."New value: +"Its name (80 characters at most)."
    • changedInput schema / properties / own_sound / description
      Previous value: -"Must be true: the user made this sound (not a factory preset, not someone else's)."New value: +"Must be true: the user made it (not a factory preset, not someone else's)."
    • changedInput schema / properties / tags / description
      Previous value: -"A few words: 'bass', 'pad', 'warm'… (8 at most)."New value: +"Character and free words: 'warm', 'dark', 'evolving'… (8 at most)."
    • addedInput schema / properties / tempo
      Added value: +{
      +  "description": "BPM, for sequences and clips.",
      +  "type": "number"
      +}
    • addedInput schema / properties / tips
      Added value: +{
      +  "description": "How to play it: mod wheel, aftertouch, register… (500 characters at most).",
      +  "type": "string"
      +}
  4. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare a non-destructive, idempotent, open-world write operation. The description adds the CC BY-SA 4.0 license and content eligibility plus a relay-code option, but omits permissions/auth requirements, visibility consequences, and what happens on repeat shares. With annotations covering the safety profile, this partial added context merits a 3.

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 front-loaded sentence with no filler; the colon and semicolon structure efficiently lists eligible payloads. The phrase 'or code to capture it' is slightly cryptic but still compact.

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?

For a 22-parameter write/share tool with no output schema, the description omits invocation mechanics, mode selection details, auth/prerequisites beyond own_sound, and post-share behavior. It is not complete enough for correct invocation without schema inference.

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 coverage is only 36% across 22 parameters. The description signals payload modes (SysEx, settings, MIDI file, code) and the user-made condition behind own_sound, but leaves most fields (kind, category, device, tags, tempo, seconds, etc.) without added meaning, so it does not compensate for the coverage gap.

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 ('Share') and resource ('what the user made') with content types and a license, and excludes factory/bought/downloaded sounds. It does not explicitly differentiate from update/withdraw siblings, but the purpose is clear.

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?

Provides an eligibility constraint (only user-made sounds, never factory/bought/downloaded) but no explicit when-to-use vs alternatives such as update_preset or withdraw_preset. Usage is implied rather than explicitly routed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.