Skip to main content
Glama

Analyze a game project

gamealia_analyze_project
Read-only

Analyze a local game folder to identify engine, build output, entry HTML, existing SDK usage, policy problems, storage keys, size, and microphone/camera permissions before publishing.

Instructions

Inspects a local game folder (read-only, runs nothing, no login): engine (HTML5 + framework, Unity WebGL, Godot web, GameMaker, Construct), build command, output dir and entry html; existing CrazyGames/Poki SDK usage; policy problems (external ads, trackers, purchase UI, own login) with exact files and lines; localStorage keys; size; and the microphone/camera permissions to declare in the listing when the build calls getUserMedia. Call it first on an existing game (gamealia_create_project when there is none); the result names the next step, usually gamealia_integrate_sdk.

Input Schema

NameRequiredDescriptionDefault
dirYesProject folder (absolute, or relative to the server's working directory)

Output Schema

NameRequiredDescriptionDefault
dirYes
nextYes
sdksYes
engineYes
policyYes
warningsYes
entryHtmlYes
outputDirYes
sizeBytesYes
permissionsYes
buildCommandYes
outputExistsYes
localStorageKeysYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.17

TDQS

A4.4/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 the bar is lower; the description still adds meaningful context by stating 'runs nothing, no login' and that the result names the next step. It doesn't detail output structure, but that is covered by the output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action before the enumerated detection list, and every item conveys a distinct capability. It is dense and long for a single sentence, but no clause is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given a single fully-documented parameter and an existing output schema, the description covers everything an agent needs: what it inspects, that it is safe, when to call it, and what comes next.

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?

Only one parameter and schema description coverage is 100%, so the schema already fully documents 'dir'. The description adds no further meaning about path resolution or edge cases, so baseline 3 applies.

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 ('Inspects') and resource ('a local game folder') and then enumerates exactly what it detects: engine, build command, output dir, entry html, SDK usage, policy problems, storage keys, size, and permissions. This is precise enough to distinguish it from sibling tools like gamealia_check_integration or gamealia_build.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says 'Call it first on an existing game', gives the alternative for the no-game case (gamealia_create_project), and names the typical follow-up (gamealia_integrate_sdk). Both the when-to-use and the sibling routing are covered.

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