Skip to main content
Glama
luckynee

Unity Prefab Parser MCP Server

by luckynee

list_unity_assets

Scan a directory for Unity asset files (.prefab, .unity, .asset) and return a grouped list of absolute paths with optional filtering by file type, name, and recursion.

Instructions

Scan a directory for Unity asset files (.prefab, .unity, .asset) and return a grouped list with absolute paths ready to use with parse_unity_file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoFilter by file type. Default: all
exactNoWhen true, only match files whose name (without extension) exactly equals the search term. E.g. search:"bat" exact:true returns Bat.prefab, BatPF.prefab but NOT CombatText.prefab. Default: false.
limitNoMaximum number of results to return. Default: 50.
searchNoFilter assets by name (case-insensitive substring). E.g. "enemy" returns EnemyBat.prefab, EnemyWolf.prefab etc.
directoryNoDirectory to scan. Can be a Unity project root, an Assets folder, or any subfolder. If omitted, uses current working directory.
recursiveNoSearch recursively. Default: true
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool scans and returns a list, implying a read-only operation, but does not explicitly confirm non-destructiveness, error handling, or the nature of 'grouping'. This is adequate but leaves gaps.

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 sentence that efficiently conveys the action, target, and output. No filler or redundancy, and it even includes a workflow hint about parse_unity_file.

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 tool with six parameters, no output schema, and no annotations, the description covers the core purpose and output type. It could clarify what 'grouped' means and mention default/error behavior, but combined with the rich schema it is nearly sufficient for typical use.

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 coverage is 100% and all six parameters have rich descriptions (e.g., exact matching, default values). The tool description adds nothing about parameters beyond what the schema already provides, so a baseline score of 3 is appropriate.

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 ('Scan'), names the exact resource (directory for Unity asset files with .prefab, .unity, .asset), and clarifies the output (grouped list with absolute paths). This clearly distinguishes it from sibling tools like parse_unity_file and browse_unity_project.

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 implies the tool is used to discover files for subsequent parsing ('ready to use with parse_unity_file'), offering clear context. However, it does not explicitly mention alternatives or when not to use this tool, so it falls short of the highest bar.

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/luckynee/unity-prefab-parser-mcp'

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