Skip to main content
Glama
construct2-mcp

construct2-mcp

by wjrosa

file_import

Import sound, music, or project files into a Construct 2 project. Use it to add both .ogg and .m4a audio so every browser can play the sound.

Instructions

Import a sound (kind="sound"), music track ("music") or project file ("file"). For audio, import both the .ogg and the .m4a so every browser can play it.

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": "<project>",
      "path": "<path>"
    },
    "name": "file_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNosound
pathYes
folderNo
projectYes
editor_syncNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden for a mutation tool. It adds one useful behavioral note about the paired audio formats, but says nothing about overwrite behavior, what folder or editor_sync change, required permissions, or what a successful import returns.

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?

Two compact sentences, front-loaded with the supported kinds and followed by a practical format rule. No filler, though the kind enumerations could have been structured as a short list for faster scanning.

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

Completeness2/5

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

With five parameters, zero schema descriptions, no annotations and no output schema, the definition is far too thin for the tool's complexity. Four of five parameters and all post-call behavior are left for the agent to guess.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for all five parameters. It only documents one of them — the allowable values for kind — leaving path, folder, project, and editor_sync completely unexplained in both schema and description.

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 ("Import") and enumerates the three resource types it accepts, including the exact kind string for each ("sound", "music", "file"). This lets an agent distinguish the target resource kinds, though it never says what "import" physically does or how it relates to the project parameter.

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?

Gives one concrete usage rule — for audio, import both .ogg and .m4a so every browser can play it — which is genuinely actionable. It offers no guidance on when to use this versus conversion siblings like capx_to_folder or folder_to_capx, nor any prerequisites about the project/path relationship.

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