Skip to main content
Glama

Pack / unpack a create_preset_morph slot set to a vault JSON

morph_pack

Pack create_preset_morph container slots into verified JSON files; unpack to rebuild containers.

Instructions

Export an existing create_preset_morph container's slots ('looks') to a portable, sha256-verified JSON file in the Obsidian vault (action=pack), or re-hydrate a pack file back into a (newly built if missing) create_preset_morph container (action=unpack). Reuses the create_preset_morph engine — does not invent a new morph topology. Requires TDMCP_VAULT_PATH unless inline 'looks' are supplied on unpack.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYespack: read an existing create_preset_morph container and serialise its slots to a vault JSON. unpack: re-hydrate a pack file into a (newly built if missing) create_preset_morph container, optionally rebinding to a new target.
nameYesPack name. Used as the JSON filename (<folder>/<name>.morphpack.json) and the morph container default name on unpack.
parentNo(pack) Parent COMP holding the existing morph container (defaults to /project1, matches create_preset_morph). (unpack) Parent COMP where the container is (re)built./project1
containerNo(pack) Name of the existing morph container inside `parent` to read from. Defaults to `name`. (unpack) Name to (re)build; defaults to `name`.
target_pathNo(unpack) Override the target_path stored in the pack provenance (use when the pack came from a different show file and the target's path is different here). Omit to reuse pack provenance.target_path.
looksNo(unpack, advanced) Inline-supply the slot set instead of reading vaultPath. Mutually exclusive with vaultPath on unpack; ignored on pack.
vault_pathNoVault-relative path to the pack file. Defaults to `MorphPacks/<name>.morphpack.json`. Resolved through Vault.resolve (cannot escape the vault root).
overwriteNo(pack) Overwrite an existing pack file at vault_path.
mergeNo(unpack) replace: wipe presets and write only the pack's slots. union: keep existing slots and add/overwrite the pack's slots by id.replace
Behavior4/5

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

The description adds behavioral context beyond the annotations: sha256 verification, portable JSON format, requirement for TDMCP_VAULT_PATH unless inline looks, and reuse of the create_preset_morph engine. These details help the agent understand side effects and constraints, though some behaviors like overwrite and merge are only mentioned in the schema.

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?

The description is concise at three sentences, with the main action front-loaded. Every sentence adds value: explaining the two actions, clarifying the engine relationship, and stating the vault path prerequisite. No redundancy or wasted words.

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?

Given the tool's complexity (two modes, 9 parameters, no output schema), the description covers core functionality but lacks details on return values, error handling, or expected outcomes. It does not specify what the agent receives after a successful pack or unpack operation, leaving some ambiguity.

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?

With 100% schema description coverage, the baseline is 3. The description does not add significant meaning beyond the schema; it briefly references parameters (action, name, vault path) but does not enhance understanding of param semantics beyond what the schema already provides.

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 clearly states the tool's two actions (pack and unpack) with specific verbs and resources: 'Export an existing create_preset_morph container's slots to a vault JSON' and 're-hydrate a pack file back into a create_preset_morph container'. It distinguishes itself from sibling tools like 'create_preset_morph' by noting it reuses that engine.

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 description implies when to use the tool (for exporting/importing morph slot sets) but lacks explicit guidance on when not to use it or alternatives. There is no mention of specific contexts or comparisons to siblings, so the agent must infer usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Pantani/tdmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server