Skip to main content
Glama

add_package

Add packages from registry, GitHub, or disk to Unity Package Manager with optional version and branch specifications.

Instructions

Adds packages into the Unity Package Manager

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoThe path to use (folder path for disk method or subfolder for GitHub)
branchNoThe branch to use for GitHub packages (optional)
sourceYesThe source to use (registry, github, or disk) to add the package
versionNoThe version to use for registry packages (optional)
packageNameNoThe package name to add from Unity registry (e.g. com.unity.textmeshpro)
repositoryUrlNoThe GitHub repository URL (e.g. https://github.com/username/repo.git)
Behavior3/5

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

The annotations already indicate readOnlyHint=false (write operation) and openWorldHint=true (potential side effects). The description adds no further behavioral context, such as error conditions or side effects, but does not contradict annotations.

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 a single concise sentence that efficiently conveys the tool's purpose without unnecessary words. It is front-loaded and to the point.

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?

While the schema fully describes parameters, the description lacks an overview of behavior (e.g., different source types, requirements). Minimal but functional given sibling context.

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 description coverage is 100% with all parameters documented. The description does not elaborate on parameters, but baseline is 3 given high schema coverage.

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 uses a specific verb ('Adds') and resource ('packages into the Unity Package Manager'), clearly distinguishing it from sibling tools like 'add_asset_to_scene' or 'add_external_dll'.

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?

No guidance is provided on when to use this tool versus alternatives, nor are any conditions or prerequisites mentioned. The description simply states what it does without context.

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/joel-wehr/unity-mcp'

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