Skip to main content
Glama
construct2-mcp

construct2-mcp

by wjrosa

ace_add

Adds a condition or action to an existing event in a Construct 2 project, so AI agents can build event logic without manual event-sheet editing.

Instructions

Add one condition (kind="condition") or action (kind="action") to an existing event.

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>",
      "event_sid": "<event_sid>",
      "kind": "<kind>",
      "ace": "<ace>"
    },
    "name": "ace_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
aceYes
kindYes
indexNo
sheetYes
projectYes
event_sidYes
editor_syncNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/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 discloses almost nothing: it does not say whether the change is persisted immediately, whether an editor sync is required, how `index` affects placement, or what happens if the ACE object is malformed. Only the mutating nature of the operation is evident from the verb "Add".

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?

One front-loaded sentence with no filler and the key kind distinction in parentheses. It is efficiently written; the shortfall is coverage, not verbosity.

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 a 7-parameter mutation tool with a free-form nested object, zero annotation coverage, and no output schema, a single sentence is not enough to invoke it reliably. The shape of the `ace` payload and the effect of `index` and `editor_sync` are the most costly omissions.

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 7 parameters, and the description compensates only for `kind`, clarifying the two accepted values (condition/action). The nested `ace` object (additionalProperties: true), plus `index`, `editor_sync`, `project`, `sheet`, and `event_sid`, are entirely undocumented 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 ("Add") and resource (one condition or action) and scopes it to "an existing event", which separates it from event-creation siblings. It stops short of naming a concrete alternative such as events_add or event_replace, so an agent must infer routing.

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?

The phrase "to an existing event" hints at the prerequisite that the event must already exist, but there is no explicit when-to-use guidance, no mention of whether the editor or project must be open, and no alternatives named. An agent gets only implied context for choosing this tool.

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