Skip to main content
Glama

audit_project

Read-only

Detect a game project's engine, version, and render pipeline before importing assets to prevent pipeline mismatches such as URP shaders in HDRP projects.

Instructions

Detect the engine, version and render pipeline of a game project (Unity: from ProjectVersion.txt / manifest.json; Unreal: .uproject / DefaultEngine.ini). Call this BEFORE recommending or importing assets so pipeline mismatches (e.g. URP-only shader into an HDRP project) are caught.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_dir": "<project_dir>"
    },
    "name": "audit_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_dirYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds value by disclosing its inspection method (which engine-specific manifest files it reads) and the failure mode it exists to prevent. It doesn't say what happens for an unrecognized or empty project directory, which is the main remaining behavioral gap.

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?

Two sentences, zero waste, with the core action front-loaded and the imperative pre-condition second. Every clause (detected fields, source files, mismatch example) adds actionable 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?

An output schema exists, so return values needn't be explained, and the description covers purpose, method, and call ordering well enough for an agent to invoke it correctly on a known game project. The only missing pieces are handling of unrecognized projects and the exact path convention for the single input.

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?

There is one required parameter with 0% schema description coverage, so the description carries the burden. Referencing files 'in' the project implies project_dir is a project root path, but it never states expected format (absolute vs relative), whether it must exist, or whether it points at the .uproject file vs its containing folder.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (detect) and precise resources (engine, version, render pipeline) plus the files it inspects (ProjectVersion.txt, manifest.json, .uproject, DefaultEngine.ini), which tells an agent exactly what this returns. It doesn't explicitly contrast with the similar-sounding sibling validate_stack, so the differentiation is only partial.

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 explicit ordering guidance: 'Call this BEFORE recommending or importing assets', which implicitly routes the agent away from get_stack_recommendations and import_asset_to_project until the audit runs. The motivation (pipeline mismatch, e.g. URP shader into HDRP) makes the when concrete, though no explicit when-not-to-use case or relationship to validate_stack is stated.

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