Skip to main content
Glama

Lint the SDK integration and policies

gamealia_check_integration
Read-only

Lint a local game project for Gamealia SDK integration and listing rules, returning pass/warn/fail per check with fixes and file:line. Run it after SDK integration and before browser autotesting.

Instructions

Fast static lint of a local project's source or build (read-only, no browser, no login): SDK loaded and called, loadingStop/gameplayStart present, portal language used (locale/localeChange), no external ads/trackers/miners, no purchase UI, no own login, build security rules, sizes. Use it after gamealia_integrate_sdk and before the slower gamealia_run_autotest. Returns ok plus each check as pass/warn/fail with a message (how to fix it) and file:line.

Input Schema

NameRequiredDescriptionDefault
dirYesProject folder (absolute, or relative to the server's working directory)
backendHostsNoYour own servers the game may call, as in the listing, e.g. ["mp.example.com", "*.example.com"]; other external hosts are flagged

Output Schema

NameRequiredDescriptionDefault
okYes
nextYes
checksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.18
    • changedInput schema / properties / backendHosts / description
      Previous value: -"Your own servers (as in the listing)"New value: +"Your own servers the game may call, as in the listing, e.g. [\"mp.example.com\", \"*.example.com\"]; other external hosts are flagged"
  2. First observedv0.1.17

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description reinforces this with "no browser, no login". It also adds real behavioral context about severity levels (pass/warn/fail), fix messages, and file:line output, and notes it is a static (non-executing) check. However, with an output schema present, restating the return shape is largely duplicative, so the net addition beyond structured data is moderate.

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 and the read-only/no-login constraints, then the check list, then timing, then return shape. Dense but well ordered; the long enumeration of checks is justified because it defines scope, though the sentence is heavy.

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?

For a two-parameter read-only lint tool, the description covers purpose, scope, sequencing relative to siblings, and severity semantics, while annotations carry the safety profile and the output schema carries the return structure. Nothing an agent needs in order to call this correctly is missing.

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 description coverage is 100% and both parameters (dir, backendHosts) are fully documented in the schema, so the baseline is 3. The description does not explain dir resolution or how backendHosts changes which hosts are flagged; that detail lives only in the schema.

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 ("Fast static lint of a local project's source or build") and then enumerates exactly what is checked: SDK load/call, loadingStop/gameplayStart, locale handling, no external ads/trackers, no purchase UI, build security, sizes. That enumeration makes it unmistakable next to siblings like gamealia_analyze_project or gamealia_run_autotest.

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?

Gives explicit workflow placement: after gamealia_integrate_sdk and before the slower gamealia_run_autotest, with the speed tradeoff stated ("slower"). An agent knows both the trigger point and which sibling to defer to when a full run is needed.

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