Skip to main content
Glama
construct2-mcp

construct2-mcp

by wjrosa

object_references

Find all usages of an object or family across events, expressions, and layout instances. Use it to locate references before editing or deleting objects in a Construct 2 project.

Instructions

Where an object or family is used: events, expressions and layout instances.

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>",
      "object": "<object>"
    },
    "name": "object_references"
  }
}

Input Schema

NameRequiredDescriptionDefault
objectYes
projectYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/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. It does disclose the search scope ('events, expressions and layout instances'), which is real added context, but it says nothing about read-only nature, output size, ordering, or what happens when the object has no references.

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?

A single front-loaded sentence with no filler; the searched domains are placed where they are immediately visible. It is efficient, though the terseness edges toward under-specification rather than optimized 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 a two-parameter lookup with no annotations and no output schema, the description should at minimum explain the project parameter and characterize the result (e.g., list of event/expression/layout locations). Neither is present, so an agent cannot predict the response shape before calling.

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 two parameters. The description hints that 'object' may also accept a family, which is useful, but the required 'project' parameter is never mentioned, and no format or identifier expectations are given for either.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The phrase 'Where an object or family is used' communicates a usage-lookup resource and scopes it to 'events, expressions and layout instances,' so the intent is inferable. However, there is no verb (find/list/report), and the description never says what is returned, leaving the purpose only implied rather than stated.

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 when-to-use guidance, no exclusion of alternatives, and no prerequisites such as which project or object must already exist. An agent must guess whether to call this versus object_aces or event_get when investigating where an object appears.

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