Skip to main content
Glama

layer_referenceManage

Inspect, break, update, or import Moho referenced layers and mark them outdated to control external layer links in a live project.

Instructions

Inspect status, break link, sync/update (MohoLayerRefSyncOptions), mark outdated, or import external Moho Referenced Layers.

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

Input Schema

NameRequiredDescriptionDefault
modeNoFallback FileImport mode
pathNoSource .moho path for import_reference
layerIdNoNumeric depth-first layer ID (from layer_list)
layerNameNoExact layer name
layerUuidNoLayer UUID
operationYes
addNewLayersNoSync flag: add new layers from source (default: true)
removeMissingLayersNoSync flag: remove deleted layers (default: true)
replaceMismatchedBonesNoSync flag: replace mismatched bone layers (default: true)
replaceMismatchedVectorsNoSync flag: replace mismatched vector layers (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden and falls short: it never says that break_reference is destructive or irreversible, what happens to the layer's contents afterward, or whether import/update requires a save or specific permissions. The parenthetical `MohoLayerRefSyncOptions` is an unexplained type name that adds opacity rather than context.

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 listing the operations, with no filler. The trailing `MohoLayerRefSyncOptions` reference is jargon that costs a little clarity without earning its place.

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

Completeness2/5

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

A 10-parameter tool spanning five distinct operations, including destructive ones, with no annotations and no output schema needs far more than one sentence. The description never explains per-operation parameter applicability or what status/import return, leaving the agent to guess how to compose a valid call.

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 coverage is 90%, and the schema itself documents each parameter including the four sync flags and defaults, so the baseline of 3 applies. The description adds nothing beyond that — notably it does not say which parameters are relevant to which operation (e.g., `path` only for import_reference, sync flags only for update_reference).

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 enumerates concrete operations that map one-to-one onto the `operation` enum (status, break link, sync/update, mark outdated, import), which tells an agent exactly what resource family this tool acts on. It is clear but doesn't differentiate itself from adjacent layer tools such as layer_getProperties or layer_convertType.

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?

The verbs imply possible actions but give no when-to-use guidance: nothing says which operation to pick to diagnose a broken reference versus to re-point one, nor when to reach for a sibling layer tool instead. The agent must infer the mapping from the enum alone.

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