Skip to main content
Glama
construct2-mcp

construct2-mcp

by wjrosa

event_set_flags

Toggles event, group, and action flags to disable items, invert conditions, enable OR blocks, or activate groups in Construct 2 event sheets.

Instructions

Toggle flags: disabled (event, group or action), inverted (condition), or_block (event), group_active.

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>",
      "sheet": "<sheet>",
      "sid": "<sid>"
    },
    "name": "event_set_flags"
  }
}

Input Schema

NameRequiredDescriptionDefault
sidYes
sheetYes
projectYes
disabledNo
invertedNo
or_blockNo
editor_syncNo
group_activeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/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 behavioral burden and largely does not meet it. It never explains that the nullable booleans are tri-state (null presumably meaning leave unchanged), what the effect of disabling a group versus an action is, or whether changes persist to the project sheet. The only behavioral hint is which entity each flag targets.

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

Conciseness3/5

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

It is a single compact sentence with the flag list front-loaded, so there is no filler. However the terse parenthetical notation is cryptic and the term 'or_block' is left unexplained, trading clarity for brevity.

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?

For an 8-parameter mutation tool with no annotations and no output schema, the description is thin: half the parameters, including editor_sync and the three required identifiers, go undocumented. An agent could not reliably determine required inputs or the effect of the call from this text alone.

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% across 8 parameters, so the description must compensate and only partly does: it addresses four flags (disabled, inverted, or_block, group_active) but says nothing about project, sheet, sid, or editor_sync. Even for the covered flags it gives no semantics for the null-versus-boolean distinction.

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?

The description names a specific operation (toggling flags) and enumerates the concrete flags affected: disabled, inverted, or_block, group_active. The parentheticals (event, group or action / condition) tell an agent which object types each flag applies to, which is more than the title alone gives. It falls short of 5 only because 'toggle' is ambiguous against a schema of nullable booleans that read more like explicit set/unset.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool, no prerequisites, and no reference to any alternative or follow-up tool. An agent must infer the entire usage context from the name and the sibling list.

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