Skip to main content
Glama

save_project

Saves the current LMMS project to its existing file or to a new path for Save As without opening a dialog.

Instructions

Save the project, like File > Save, or like Save As when you give path. It never opens a dialog.

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": "save_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoOptional absolute path ending in .mmp or .mmpz, for Save As. Omit to save to the current file.
overwriteNotrue replaces an existing file that is not the current project file.

Output Schema

NameRequiredDescriptionDefault
fileYes
modifiedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare it is a non-read-only, non-destructive, closed-world write, so the safety profile is covered. The description adds a genuinely non-obvious behavioral fact — 'It never opens a dialog' — which tells an automated agent the call will not block on UI interaction. It could still say more about failure modes (e.g., existing file without `overwrite`), but the added context is meaningful.

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?

Two short sentences, front-loaded with the core action, then the mode distinction, then the no-dialog guarantee. No filler or redundant restatement of the schema.

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 two-optional-parameter tool with an output schema and full annotation coverage, this is nearly complete: the agent knows what both modes do and that no dialog appears. Minor gap: no mention of what the return indicates or what happens on overwrite conflicts.

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 description coverage is 100%: `path` is documented as an absolute .mmp/.mmpz path for Save As and `overwrite` as replacing a non-project file. The description only reinforces the `path` semantics already in the schema and adds nothing about format constraints or overwrite edge cases, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Save the project') and immediately disambiguates the two modes of the tool: plain save versus Save As when `path` is supplied. The File > Save analogy is instantly intelligible to any agent, and no sibling tool competes for this purpose.

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

Usage Guidelines4/5

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

Explicitly ties each mode to a condition: omit `path` to save in place, supply `path` for Save As. It does not name any alternatives or exclusions (e.g., when to prefer undo/redo or what to do if the project has no current file), but for a single-purpose save tool the guidance is clear enough to act on.

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