Skip to main content
Glama

create_decoration_preset

Create or version a decoration preset on a branch so textures, logos, or text embossing reproduce identically each time the preset is applied. Requires Kiln Pro.

Instructions

Create or version a decoration preset on a branch.

Needs Kiln Pro.

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": {
      "name": "<name>",
      "pattern_family": "<pattern_family>"
    },
    "name": "create_decoration_preset"
  }
}

Input Schema

NameRequiredDescriptionDefault
fontNoFont for a text decoration: ``"sans"`` (default), ``"mono"``, ``"fredoka"`` (rounded), ``"zilla-slab"`` (slab), ``"oswald"`` (tall and narrow) or ``"saira-stencil"`` (stencil). The preset records it, so the word is carved in the same font every time it is applied. A font not on the list is refused naming the list. Refused for a family that is not text. Default: "".
nameYesDisplay name for the preset. Must not be empty.
textNoThe words of a text decoration, one line of at most 80 characters. Required for a text family and refused for any other. The reply's ``preset`` repeats it as ``text``. Default: "".
notesNoFree-form editorial note stored on the version. Omit it for none. Default: "".
depth_mmNoEmboss or deboss depth in millimetres. Defaults to ``1.2``; a value outside 0.05 to 5.00 mm is refused. Default: 1.2.
design_idNoId of the design the preset belongs to. Omit it for a portfolio-wide preset usable on any design.
preset_idNoId of an existing preset to add a new version to. Omit it to create a new preset at version 1; an id that does not exist is refused.
created_byNoAuthor label stored on the version as given. Omit it to record the computer's user name.
pattern_idNoWhich pattern within the family, e.g. ``"wave"`` or ``"hex_grid"``, or for an image family a content hash or asset file name. Must not be empty, except for a text family, where it is left out and ``text`` is passed instead. Default: "".
branch_nameNoBranch the new version lands on, created if absent. Defaults to ``main``. Default: "main".
pattern_familyYesThe kind of decoration: ``"procedural_texture"``, ``"photo_emboss"``, ``"photo_deboss"``, ``"logo_emboss"``, ``"logo_deboss"``, ``"brand_asset"``, ``"custom_image"``, ``"text_deboss"`` (a word cut into the surface) or ``"text_emboss"`` (a word raised from it). Any other value is refused.
image_asset_pathNoPath to the source image for an image family. The file is copied into Kiln's own asset store so the preset does not depend on it staying where it is. Omit it to save the preset before the image is attached.
selected_face_idsNoThe face ids to decorate. Required (and non-empty) when ``surface_selection`` is ``"selected_faces"``; dropped for any other selection.
surface_selectionNoWhich faces of a host mesh receive the decoration: ``"all_faces"``, ``"outer_faces"`` (default), ``"vertical_walls"``, ``"horizontal_caps"`` or ``"selected_faces"``. Default: "outer_faces".
image_asset_sha256NoSHA-256 of the image, its identity across renames. Omit it to have it computed from ``image_asset_path``.
posterization_tierNoOptional posterize tier, an integer from 1 to 8; outside that range is refused. Omit it for none.
parent_preset_version_idNoThe preset version this one was forked from, recorded for ancestry. Omit it for a root version.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv1.6.0
    • addedInput schema / properties / font
      Added value: +{
      +  "description": "Font for a text decoration: ``\"sans\"`` (default), ``\"mono\"``, ``\"fredoka\"`` (rounded), ``\"zilla-slab\"`` (slab), ``\"oswald\"`` (tall and narrow) or ``\"saira-stencil\"`` (stencil).  The preset records it, so the word is carved in the same font every time it is applied.  A font not on the list is refused naming the list.  Refused for a family that is not text. Default: \"\".",
      +  "title": "Font",
      +  "type": "string"
      +}
    • changedInput schema / properties / pattern_family / description
      Previous value: -"The kind of decoration: ``\"procedural_texture\"``, ``\"photo_emboss\"``, ``\"photo_deboss\"``, ``\"logo_emboss\"``, ``\"logo_deboss\"``, ``\"brand_asset\"`` or ``\"custom_image\"``.  Any other value is refused."New value: +"The kind of decoration: ``\"procedural_texture\"``, ``\"photo_emboss\"``, ``\"photo_deboss\"``, ``\"logo_emboss\"``, ``\"logo_deboss\"``, ``\"brand_asset\"``, ``\"custom_image\"``, ``\"text_deboss\"`` (a word cut into the surface) or ``\"text_emboss\"`` (a word raised from it).  Any other value is refused."
    • changedInput schema / properties / pattern_id / description
      Previous value: -"Which pattern within the family, e.g. ``\"wave\"`` or ``\"hex_grid\"``, or for an image family a content hash or asset file name.  Must not be empty."New value: +"Which pattern within the family, e.g. ``\"wave\"`` or ``\"hex_grid\"``, or for an image family a content hash or asset file name.  Must not be empty, except for a text family, where it is left out and ``text`` is passed instead. Default: \"\"."
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "The words of a text decoration, one line of at most 80 characters.  Required for a text family and refused for any other.  The reply's ``preset`` repeats it as ``text``. Default: \"\".",
      +  "title": "Text",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "name",
      -  "pattern_family",
      -  "pattern_id"
      -]New value: +[
      +  "name",
      +  "pattern_family"
      +]
  2. Changed15 schema fields changedv1.5.1
    • changedInput schema / properties / branch_name / description
      Previous value: -"Default: \"main\"."New value: +"Branch the new version lands on, created if absent.  Defaults to ``main``. Default: \"main\"."
    • addedInput schema / properties / created_by / description
      Added value: +"Author label stored on the version as given.  Omit it to record the computer's user name."
    • changedInput schema / properties / depth_mm / description
      Previous value: -"Default: 1.2."New value: +"Emboss or deboss depth in millimetres.  Defaults to ``1.2``; a value outside 0.05 to 5.00 mm is refused. Default: 1.2."
    • addedInput schema / properties / design_id / description
      Added value: +"Id of the design the preset belongs to.  Omit it for a portfolio-wide preset usable on any design."
    • addedInput schema / properties / image_asset_path / description
      Added value: +"Path to the source image for an image family.  The file is copied into Kiln's own asset store so the preset does not depend on it staying where it is.  Omit it to save the preset before the image is attached."
    • addedInput schema / properties / image_asset_sha256 / description
      Added value: +"SHA-256 of the image, its identity across renames.  Omit it to have it computed from ``image_asset_path``."
    • addedInput schema / properties / name / description
      Added value: +"Display name for the preset.  Must not be empty."
    • changedInput schema / properties / notes / description
      Previous value: -"Default: \"\"."New value: +"Free-form editorial note stored on the version.  Omit it for none. Default: \"\"."
    • addedInput schema / properties / parent_preset_version_id / description
      Added value: +"The preset version this one was forked from, recorded for ancestry.  Omit it for a root version."
    • addedInput schema / properties / pattern_family / description
      Added value: +"The kind of decoration: ``\"procedural_texture\"``, ``\"photo_emboss\"``, ``\"photo_deboss\"``, ``\"logo_emboss\"``, ``\"logo_deboss\"``, ``\"brand_asset\"`` or ``\"custom_image\"``.  Any other value is refused."
    • addedInput schema / properties / pattern_id / description
      Added value: +"Which pattern within the family, e.g. ``\"wave\"`` or ``\"hex_grid\"``, or for an image family a content hash or asset file name.  Must not be empty."
    • addedInput schema / properties / posterization_tier / description
      Added value: +"Optional posterize tier, an integer from 1 to 8; outside that range is refused.  Omit it for none."
    • addedInput schema / properties / preset_id / description
      Added value: +"Id of an existing preset to add a new version to. Omit it to create a new preset at version 1; an id that does not exist is refused."
    • addedInput schema / properties / selected_face_ids / description
      Added value: +"The face ids to decorate.  Required (and non-empty) when ``surface_selection`` is ``\"selected_faces\"``; dropped for any other selection."
    • changedInput schema / properties / surface_selection / description
      Previous value: -"Default: \"outer_faces\"."New value: +"Which faces of a host mesh receive the decoration: ``\"all_faces\"``, ``\"outer_faces\"`` (default), ``\"vertical_walls\"``, ``\"horizontal_caps\"`` or ``\"selected_faces\"``. Default: \"outer_faces\"."
  3. Addedv1.5.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered structurally. The description adds the Kiln Pro entitlement requirement, which the annotations do not express, but says nothing about persistence, whether the branch is created on the fly, or what happens on versioning collisions.

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?

Two short sentences, action and prerequisite front-loaded, with no filler. The fragment 'Needs Kiln Pro.' is terse but earns its place as a hard gate; the definition is under-specified rather than padded.

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?

For a 17-parameter write tool with no output schema, the description is thin: it does not explain the create-vs-version distinction's consequences, branch creation behavior, or refusal handling. The exceptionally detailed input schema compensates for most parameter-level gaps, keeping this at minimum-viable rather than inadequate.

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% and the parameter descriptions are unusually rich (enumerated families, font list, depth range, text-vs-image family rules), so the schema carries all parameter meaning. The description adds nothing about parameters, which is acceptable at full coverage but earns only the baseline.

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 pair and resource — 'Create or version a decoration preset' — plus the scoping detail 'on a branch', which distinguishes it from read-side siblings like get_decoration_preset and list_decoration_preset_versions. It does not explicitly separate itself from branch-management siblings such as create_decoration_preset_branch, leaving that to the name.

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?

The only guidance is the entitlement prerequisite 'Needs Kiln Pro', which is genuinely useful gating information. There is no statement of when to use this versus the branch/apply/archive siblings, and no exclusions or preconditions beyond the Pro requirement.

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

Deploy Server

Other Tools