Skip to main content
Glama

Scan a project or game folder

re_scan
Read-onlyIdempotent

Scan a folder to identify game engines or frameworks in source projects and exported builds, count languages, categorize files, and find entry points, large files, and binaries.

Instructions

Reconnaissance of a folder: detects the engine/framework (Godot, Unity, Unreal, GameMaker, RPG Maker, Ren'Py, LÖVE, Defold, Bevy, MonoGame, three.js/Phaser/Electron, Flutter, .NET, Go, Rust, Python…) for source projects AND exported game builds, languages with line counts, file categories, entry points, biggest files and binaries. Start here.

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": {
      "path": "<path>"
    },
    "name": "re_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesFolder to scan.
maxFilesNoStop after this many files (default 50000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.25.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds value by enumerating the reconnaissance outputs an agent gets back (framework, line counts, categories, entry points, largest files and binaries), which matters because there is no output schema. However it says nothing about cost or duration on large trees, whether results are paginated or truncated, or the tradeoff of the maxFiles cutoff.

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 purpose, followed by a dense enumeration of detected engines and outputs, then a two-word usage cue. The engine list is long but each entry is informative rather than filler; only the trailing ellipsis adds loose wording.

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?

For a two-parameter read-only survey with no output schema, the description covers both what goes in (a folder) and what comes back (framework, languages, categories, entry points, large files). The remaining gap is operational: no hint about scan duration, truncation behavior when maxFiles is hit, or how to consume the result before branching to siblings.

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%, with both 'path' and 'maxFiles' fully documented including default (50000) and range (100–500000). The description adds no meaning beyond the schema — it never mentions the file cap or what happens when scanning a folder exceeds it. Baseline 3 applies when the schema does all the work.

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 ('Reconnaissance of a folder') and enumerates exactly what it extracts — engine/framework detection across a long but concrete list, languages with line counts, file categories, entry points, biggest files and binaries. The closing 'Start here' positions it relative to the surrounding re_* tools, so an agent can tell this is the entry-point survey rather than a targeted probe.

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?

'Start here' plus 'for source projects AND exported game builds' gives clear context for when to invoke it and signals it is the appropriate first call. It does not name a when-not condition or point to specific follow-up siblings (re_binary, re_strings, re_probe) once the survey is done, so it stops short of full alternative routing.

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