Skip to main content
Glama

import_item

Copies a composition, asset, or taste from another project or an exported .moga bundle into this project, bringing its layers' assets, media, translations, and tokens.

Instructions

Copy a composition or an asset into this project from another project (project: its id, from list_projects, with kind and name) or from an exported bundle (bundle: a .moga folder from export_item; kind and name default to what it holds): with the assets its layers use, its media files, the translations of its strings and the project tokens it names (added only where this project lacks them; ones already here win). The copy is this project's own: editing it never changes the original. It remembers where it came from (meta.from / from: project, name, version). An asset already here and the same is shared; one that differs is copied as -2 and the copy points at it. as names the copy (a free name is found otherwise). kind taste brings another project's taste (its TASTE.md: motion presets and limits, rules learned from feedback with their cases, tokens, its prose, its own style package, and the rule files in rules/*.md, added where missing): with no TASTE.md here it is taken whole, otherwise only what is missing is added and what this taste already says is kept. Read warnings: what may not read the same here.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "import_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
asNo
kindNo
nameNo
basisNoWhat you read and followed to make this change, as refs from search or lookup: rule:<lint or taste rule>, taste, feedback:<id> (earlier feedback this follows; what it answers goes in feedback), commit:<id> (an earlier change it builds on), asset:, template:, skill:… The person sees them under the change, so they know why it is this way. Name only what shaped it.
bundleNo
messageNoOne line saying why, kept with the change in the history
projectNo
feedbackNoIds of the feedback this change answers (notes and marks from list_notes, list_examples or the conversation). When the person keeps the change it joins the record of that feedback, and when they then mark the feedback resolved it is the fix; when they take it back, the feedback opens again.
confidenceNoHow sure you are this change is what the person wants. high: they asked for exactly this, or you measured it against a reference. medium: you inferred it from the taste, a rule or earlier feedback. low: you are guessing, or it changes something they did not ask about. The person's threshold decides which changes stand by themselves and which wait for them to keep; say it honestly on every change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.2
    • addedInput schema / properties / confidence
      Added value: +{
      +  "description": "How sure you are this change is what the person wants. high: they asked for exactly this, or you measured it against a reference. medium: you inferred it from the taste, a rule or earlier feedback. low: you are guessing, or it changes something they did not ask about. The person's threshold decides which changes stand by themselves and which wait for them to keep; say it honestly on every change.",
      +  "enum": [
      +    "high",
      +    "medium",
      +    "low"
      +  ]
      +}
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-destructive, non-idempotent, closed-world mutation, and the description goes well beyond that: the copy is independent ('editing it never changes the original'), it records provenance via meta.from, identical assets are shared while differing ones are copied as <name>-2, and a free name is auto-derived when `as` is omitted. It also flags a 'Read warnings' result about things that may not read the same after import, which is real behavioral context the annotations cannot express. It stops short of permissions/auth or failure modes, keeping it at 4 rather than 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The action is front-loaded in the first clause, but the body is a dense run-on with deeply nested parentheticals (e.g. the entire taste branch inside a colon-parenthetical), which makes it slow to parse. Nearly every clause carries information, but the packaging could be restructured into short sentences or a list without losing content.

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

Completeness4/5

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

For a 9-parameter tool with three import kinds and no output schema, the description covers the essentials: sources, naming, asset deduplication, translation/token handling, taste merge semantics, provenance recording, and a warning on post-import readability. It does not say what identifier or structure the call returns (the new item's id), which is the main residual gap given there is no output schema.

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?

With only 44% schema coverage, the description carries much of the load and does it well for the import-specific parameters: `project` (its id, from list_projects, with kind and name), `bundle` (a .moga folder from export_item), `name`/`kind` (defaulting to what the bundle holds), and `as` (names the copy; a free name is found otherwise). The change-record parameters (basis, message, feedback, confidence) are left to the schema, which does document them, so the description complements rather than repeats.

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 opening clause states a specific verb and resource ('Copy a composition or an asset into this project') and immediately enumerates the two source channels: another project (id from list_projects) or an exported bundle from export_item. The `kind` enum surface of composition/asset/taste is each explained, so an agent knows exactly what gets copied and from where.

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?

The description clearly routes the agent to the right source form: use `project` with an id from list_projects, or `bundle` with a .moga folder produced by export_item. It also explains the branch for `kind: taste` and its whole-vs-missing merge rule. What it lacks is any explicit exclusion (when to prefer another import path, or when the tool should not be used), so it is strong context but not full when/when-not guidance.

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