Skip to main content
Glama

list_prefabs_with_component

Find all prefabs in the project that include a specified Unity component type, such as Animator or Rigidbody.

Instructions

List prefabs that contain a given component type (e.g. Animator, Rigidbody).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
component_typeYese.g. Animator, Rigidbody
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It only restates the purpose without disclosing any behavioral traits like pagination, ordering, performance implications, or result format. This is insufficient for a list tool.

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 communicates the tool's purpose. No unnecessary words or tangential information.

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 simple filtering tool with one parameter, the description is mostly complete. However, it does not describe the output format (e.g., list of prefab paths or IDs), which would be helpful for an agent to interpret results. Minor gap.

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?

The schema has 100% coverage for the single parameter 'component_type' with an example description. The description adds no additional meaning beyond the example values, so it meets the baseline but does not exceed it.

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 clearly states the action (List) and the resource (prefabs) with a specific filter (by component type). It distinguishes from sibling tools like 'list_prefabs' (all prefabs) and 'get_all_components_by_type' (component types).

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?

The description implies usage for finding prefabs with a specific component, but it provides no explicit guidance on when to use versus alternatives, such as 'list_prefabs' or other sibling tools. No context for exclusions or prerequisites.

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/rachitkumarrastogi/unity-mcp-server'

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