Skip to main content
Glama

import_asset_to_project

DestructiveIdempotent

Unpack a locally downloaded Unity Asset Store .unitypackage into a Unity project's Assets folder, including embedded UPM packages; use only with assets tagged local=true and pass the project root.

Instructions

Unpack a locally-downloaded Unity Asset Store package (.unitypackage) directly into a Unity project's Assets/ folder. Only works for assets tagged local=true (check with search first). project_dir must be the Unity project root (the folder containing Assets/). A UPM package shipped inside it (Packages// with a package.json) is installed as an embedded package in /Packages// and listed in embedded_packages.

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": {
      "asset_id": "<asset_id>",
      "project_dir": "<project_dir>"
    },
    "name": "import_asset_to_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
asset_idYes
project_dirYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true, readOnly=false, so the safety profile is set; the description adds real value by naming the write target (Assets/ folder) and the hidden side effect that an embedded UPM package also lands in <project>/Packages/<name>/ and is reported in embedded_packages. It does not describe overwrite behavior for pre-existing files, which is the main remaining 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?

Front-loads the core action in the first sentence and layers preconditions, parameter constraints, and side effects in a logical order with no filler. The final sentence is long and packs two ideas (embedded package install location and the embedded_packages output) but both are substantive.

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 destructive two-parameter tool the description covers target directory semantics, the eligibility precondition, and the embedded-package side effect; return values are further backed by an existing output schema. Overwrite/conflict behavior and failure modes for non-local assets are the notable omissions.

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?

Schema coverage is 0%, so the description must carry the load, and it does well for project_dir by spelling out that it must be the project root containing Assets/ — a genuinely error-prone distinction. asset_id is only implicitly characterized (an asset tagged local=true, found via search), so its format is left to inference.

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?

States a specific verb and resource: unpack a locally-downloaded .unitypackage into a Unity project's Assets/ folder. It is unambiguous against siblings like search_owned_assets or get_asset_details, which only read metadata, and the local=true restriction further narrows the operation.

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?

Gives an explicit precondition ('Only works for assets tagged local=true') and routes the agent to 'search first' to verify it. It stops short of stating what to do when the asset is not local (e.g., that it must be downloaded first), so usage context is clear but not exhaustive.

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