Skip to main content
Glama

load_patch

Loads a Surge XT patch by library name or absolute .fxp path, optionally resolving the name or path inside the user patch folder for quick sound switching.

Instructions

Load a patch in Surge XT by name (searched in the library) or absolute .fxp path. With user=True, the name/path is resolved inside the user patch folder. Requires Surge XT running with OSC In enabled.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "load_patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
pathNo
userNo

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

With no annotations, the description does useful work by disclosing the external prerequisite ('Requires Surge XT running with OSC In enabled') and the scoping effect of user=True. It omits what happens on lookup failure, whether loading replaces/discards the current patch state, and any output/confirmation behavior, which matters for a state-changing operation with zero annotation coverage.

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?

Three short sentences, front-loaded with the action and input modes, then the modifier flag, then the prerequisite. Minor waste: the line break inside '.fxp path' and the redundant restatement of name/path in the user=True sentence.

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?

An output schema exists, so return values need not be explained, and the parameters plus runtime prerequisite are covered. For a state-mutating tool with no annotations, the definition should also settle name-vs-path precedence and not-found behavior to be fully self-sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description bears full responsibility, and it explains all three parameters in substance: name is searched in the library, path is an absolute .fxp, and user redirects resolution to the user patch folder. It does not state the precedence when both name and path are supplied, which is the main remaining ambiguity for a tool where both default to empty.

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?

Specific verb and resource ('Load a patch in Surge XT') with two distinct resolution mechanisms (library name lookup or absolute .fxp path). It does not explicitly contrast itself with siblings such as next_patch, random_patch, or list_patches, so an agent must infer that this is the deterministic by-identifier loader.

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 input modes: supply a name for a library search or a path for a direct file load. There is no explicit when-to-use versus alternatives (e.g., next_patch for sequential browsing, random_patch for exploration) and no when-not guidance.

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