Skip to main content
Glama

Check a game

goof_check_game
Read-only

Validate game files against GOOF rules before upload: check index.html, file sizes, viewport, external loads, missing assets, SDK calls, and touch input; returns fixable errors and warnings.

Instructions

Checks game files against the GOOF rules without uploading: index.html, sizes, viewport, files loaded from other sites (refused by the apps), missing files, SDK calls, touch input. Returns errors (must fix) and warnings. No key needed.

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

Input Schema

NameRequiredDescriptionDefault
htmlNoThe whole game as one HTML page (everything inlined). Use this for a single-file game.
pathNoA path on this computer: an .html file, a .zip, or the game folder (it must hold index.html). Preferred when the game is on disk.
filesNoThe game as several files. One entry must be index.html at the top. Give text files as "text", binary files (images, sounds, models) as "base64".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true and openWorldHint=false, and the description is consistent, reinforcing them with 'without uploading' and 'No key needed' (no auth requirement). It adds genuinely useful behavior beyond the annotations: local-only checking, refusal of files loaded from other sites, and that results split into errors (must fix) versus warnings — the actionable distinction an agent needs.

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 verb and the key constraint, followed by a compact enumeration of checks and a short return-value sentence. The check list is dense but each item earns its place by telling the agent what rules are enforced; only the phrase 'files loaded from other sites (refused by the apps)' is slightly awkward.

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?

With no output schema, the description correctly compensates by stating the return shape (errors vs warnings). Combined with the fully documented input schema and read-only annotations, an agent has enough to invoke it correctly; only an explicit pointer to the submit/upload siblings 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 each of the three input modes (html, path, files) is fully documented in the schema, so the description carries no burden here. It adds only the implicit note that checking is local ('without uploading'), which clarifies that path reads the local disk but does not add format or precedence detail beyond 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 ('Checks game files against the GOOF rules') and immediately scopes it with 'without uploading', which separates it from the upload/submit siblings. It then enumerates exactly what is validated (index.html, sizes, viewport, cross-site loads, missing files, SDK calls, touch input), so an agent knows precisely what the tool does before opening the schema.

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?

'without uploading' and 'No key needed' imply this is a pre-flight validation step usable before submission or upload, which is real contextual guidance. However, no sibling is named and there is no explicit 'use this before goof_submit_for_review / instead of goof_create_game' routing, so the when-to-use signal is inferred rather than stated.

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