Skip to main content
Glama

get_unity_packages

Read a Unity project's direct and resolved package inventory without the Editor running, including requested/resolved versions, package source, revision hash, and dependency depth.

Instructions

Read the Unity project's direct and resolved package inventory. Returns requested and resolved versions, package source, revision hash, dependency depth, and the project Unity version. This tool is read-only and does not require the Editor to be running.

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

Input Schema

NameRequiredDescriptionDefault
searchNoOptional package name or version filter
directOnlyNoReturn only packages declared directly in Packages/manifest.json

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.7.7

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it explicitly declares the tool read-only and states it does not require a running Editor, which is a non-obvious operational trait that affects when it can be called. It also enumerates the data returned (versions, source, revision hash, dependency depth, Unity version), though it does not cover failure modes such as an unselected or invalid project.

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?

Three tight sentences with zero redundancy: purpose first, then the return payload, then the operational constraint. Each sentence contributes information an agent would otherwise have to guess.

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 two-optional-parameter read tool with no output schema, the description substitutes well by enumerating the returned fields and the read-only/no-Editor condition. The one gap is project targeting — it does not say how the target project is chosen, which matters given sibling tools like list_unity_projects and select_unity_project.

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%, so the baseline is 3: `search` and `directOnly` are fully documented in the schema itself. The description's phrase "direct and resolved" loosely maps to `directOnly`, but it adds no syntax, matching behavior, or default semantics beyond what the schema already says.

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 opens with a precise verb+resource: "Read the Unity project's direct and resolved package inventory," and immediately scopes it to both requested and resolved packages. No sibling tool (scenes, logs, test runs, assets) overlaps with package inventory, so an agent can route to this one on domain alone.

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?

Usage is implied rather than stated: the agent infers it is the tool for inspecting packages, and the note that the Editor need not be running gives a useful precondition. But there is no explicit when-to-use vs. when-not guidance and no mention of alternatives (e.g., asset search or project listing) for adjacent questions.

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