Skip to main content
Glama

style_manage

Create, update, list, or delete Saved Styles and configure Moho 14 brushes, Soft Edge, gradients, and Smart Line Boil settings in a live Moho document.

Instructions

Manage document Saved Styles (list, create, update, delete, delete_unused, new_from_shape), Moho 14 Brushes (list_brushes, drift/spacing/mergedAlpha), Soft Edge, Gradients, and Smart Line Boil.

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": {
      "operation": "<operation>"
    },
    "name": "style_manage"
  }
}

Input Schema

NameRequiredDescriptionDefault
holdNoFrames to hold prior value before interpolating
nameNo
val1NoInterpSetting.val1 (relative cycle delta or noisy/bounce/elastic param)
val2NoInterpSetting.val2 (absolute cycle target frame when >= 0, -1 for relative)
brushNo
frameNo
scopeNoMatch scope for new_from_shape (default: 'document')
layerIdNoNumeric depth-first layer ID (from layer_list)
newNameNo
shapeIdNo
staggerNo
styleIdNo
colorTagNoKeyframe color tag index (InterpSetting.tags)
gradientNo
hueDriftNo
intervalNoStep interval in frames (1 = ones, 2 = twos, 3 = threes)
lineCapsNo
satDriftNo
valDriftNo
brushNameNo
brushTintNo
cycleBackNoRelative frame delta for Cycle interpolation (default: frame - 2, loops back to Frame 2)
cycleModeNoCycle targeting mode: 'relative' (val1 delta, val2=-1) or 'absolute' (val2 frame)
fillColorNo
layerNameNoExact layer name
layerUuidNoLayer UUID
lineWidthNo
operationYes
overwriteNo
roundCapsNo
shapeNameNo
styleNameNo
styleSlotNoStyle slot (1 or 2) when binding shapes in new_from_shape
styleUuidNo
brushAlignNo
brushesDirNo
matchBrushNo
mergeAlphaNo
softEdgePxNo
brushJitterNo
lineWidthPxNo
strokeColorNo
brushIsColorNo
brushSpacingNo
sizeVarScaleNo
additiveCycleNoEnable additive cycle accumulation
bezierInAngleNoBezier incoming tangent angle (radians, InterpSetting:SetBezierInAngle)
interpolationNo
bezierOutAngleNoBezier outgoing tangent angle (radians, InterpSetting:SetBezierOutAngle)
brushRandomizeNo
colorToleranceNo0..255 channel tolerance for matching (default: 2)
matchFillColorNo
matchLineWidthNoDefault false so variable-width outlines share one style cleanly
bezierInPercentNoBezier incoming handle percentage (InterpSetting:SetBezierInPercentage)
brushAngleDriftNo
defineFillColorNo
defineLineColorNo
defineLineWidthNo
bezierOutPercentNoBezier outgoing handle percentage (InterpSetting:SetBezierOutPercentage)
brushMergedAlphaNo
brushRandomOrderNo
cycleTargetFrameNoTarget loop frame when using Cycle interpolation
matchStrokeColorNo
sizeVarAmplitudeNo
strokeSoftEdgePxNo
smartBoilIntervalNo
lineWidthTolerancePxNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden and discloses almost nothing: it does not state that delete and delete_unused are irreversible mutations, whether create/update overwrite existing styles, what list returns, or what permissions/side effects apply. The only behavioral hints are parenthetical traits (drift/spacing/mergedAlpha) and the implicit existence of destructive operations. For a 67-parameter tool with destructive branches, this is a serious transparency gap.

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 that puts the most useful information (the operation set) first with zero filler. It is dense but suffers from jargon-heavy compression ('drift/spacing/mergedAlpha') that reads more like a keyword dump than structure.

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

Completeness1/5

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

For a 67-parameter, nested-object, multi-operation tool with no annotations and no output schema, the description is drastically incomplete. It never maps parameters to operations, so an agent cannot tell which of the 66 optional fields apply to create versus new_from_shape versus list_brushes, and it says nothing about results or failure modes.

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 description coverage is only 30% across 67 parameters, so the description must compensate and does not — it explains no parameter's meaning, range, or which parameters belong to which operation. The only overlap is naming the operation values, which the schema's own enum already provides. Baseline 3 is not available given the low coverage, and no added semantics are present.

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?

The description uses a broad verb ('Manage') but immediately backs it up with a concrete resource domain (Saved Styles, Moho 14 Brushes, Soft Edge, Gradients, Smart Line Boil) and an enumeration of the seven operations (list/create/update/delete/delete_unused/list_brushes/new_from_shape). This is enough to tell an agent it is the styles-and-brushes entry point rather than an animation or layer tool. It falls short of 5 because the listed domains beyond Saved Styles get no operations attached, so their scope stays vague.

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

Usage Guidelines2/5

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

There is no when-to-use, when-not-to-use, or prerequisite guidance at all, and no alternative is named despite a sibling like action_manage covering a similar 'manage' namespace. The operation names hint at intent, but nothing says what distinguishes delete from delete_unused or new_from_shape, nor when an agent should reach for this versus other tools. Only implied usage from the operation list keeps this above a 1.

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