Skip to main content
Glama

scan_prefabs

Triggers Unity to catalog all project prefabs, fixing a missing or outdated prefab catalog. Saves results to .bantworks-mcp/state/prefab-catalog.json.

Instructions

Trigger Unity to scan and catalog all prefabs in the project. Use this if the prefab catalog is missing or out of date. The scan runs in Unity Editor and saves results to .bantworks-mcp/state/prefab-catalog.json.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.7.7

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the load, and it does disclose real behavior: execution happens inside Unity Editor and results land in a specific state file. It omits whether the call blocks until the scan finishes, roughly how long a full-project scan takes, and what the response contains, which matter for a potentially slow editor-side operation.

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 short sentences with no redundancy: action first, then the decision rule, then the execution/side-effect detail. Each sentence adds a distinct fact and nothing is repeated from the name or schema.

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?

For a zero-param, no-output-schema tool, the definition covers what it does, when to use it, and where output goes. It still leaves the agent guessing about completion semantics (blocking vs async) and what the call returns, so it is adequate rather than complete.

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?

The tool takes no parameters, so there is nothing for the description to disambiguate beyond what the empty schema already shows. Baseline of 4 applies for a zero-parameter tool.

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 ("scan and catalog all prefabs") plus the side effect of writing to .bantworks-mcp/state/prefab-catalog.json. That verb/artifact pair cleanly separates it from the sibling get_prefab_catalog, which reads the catalog rather than rebuilding it.

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 trigger condition: "Use this if the prefab catalog is missing or out of date." That is a clear positive-use case, but it never names the alternative (presumably get_prefab_catalog) or states when not to run a rescan.

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