Skip to main content
Glama

Save a custom preset

save_custom_preset
DestructiveIdempotent

Adds or replaces a workspace option in one of genres, tropes, visual_styles, moods, lighting, camera_moves, music_moods, story_structures, voices: e.g. a visual style "Neo-noir Jakarta" with its prompt fragment, or a house genre. Its key is custom: and can be used anywhere the official keys are (update_drama visual_style, genre, scene mood…). Saving an existing key overwrites that preset.

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": {
      "catalog": "<catalog>",
      "label": "<label>"
    },
    "name": "save_custom_preset"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoReuse a key to replace that preset; omitted = derived from the label
dataNoOptional extra fields for the catalog (for example a voice's settings).
labelYesDisplay name of the preset, e.g. "Neo-noir Jakarta".
catalogYesWhich customizable catalog the preset belongs to.
descriptionNoFor visual styles, moods and similar: the prompt fragment the preset adds to generation.
prompt_fragmentNoVisual styles: lighting, lens, palette, texture added to every prompt
negative_fragmentNoOptional words to keep out of generated pictures.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

“Saving an existing key overwrites that preset” explains exactly what the destructive annotation can destroy, while “adds or replaces a workspace option” clarifies the operation’s scope and replacement behavior. This adds meaningful context beyond readOnlyHint, idempotentHint, and destructiveHint, though it provides little additional operational detail such as validation or failure behavior.

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 operation is front-loaded, followed by interoperability and then the overwrite warning, so the information is well ordered and every sentence has a purpose. The opening sentence is somewhat dense and repeats the full catalog enum, making it slightly less streamlined than it could be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Together with the fully documented input schema and existing output schema, the description supplies the essential workflow: choose a catalog, create or reuse a custom key, use it like an official key, and expect replacement on an existing key. The remaining field-level details are appropriately handled by the schema rather than needing repetition here.

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 already 100%, but the description adds the custom:<slug> key convention, a concrete label/prompt-fragment example, and an explanation of how the resulting key is consumed downstream. It does not further clarify the catalog-specific choice between description, prompt_fragment, and data, leaving those distinctions to the schema.

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?

The description uses the specific verbs “Adds or replaces” and identifies the resource as a workspace option across nine named preset catalogs. Concrete examples such as “Neo-noir Jakarta,” plus the explanation that presets feed tools like update_drama rather than updating a drama directly, make its role clear among the siblings.

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?

It gives clear usage context: create a reusable custom key, use that key wherever official keys are accepted, and reuse an existing key when replacement is intended. It does not explicitly state when not to use the tool or point to alternatives such as delete_custom_preset, so it falls short of fully explicit routing guidance.

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.