Skip to main content
Glama
archicad-tapir-mcp

archicad-tapir-mcp

by joacos

classify_elements

Classify many Archicad elements at once by element type and layer rules, targeting unclassified elements by default.

Instructions

Classifies many elements at once with rules by element type and/or layer (e.g. every Slab on layer '02 PLAZA - Pasto' as 'Terrain'), by default only those still unclassified. Revert with undo.

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": {
      "rules": "<rules>"
    },
    "name": "classify_elements"
  }
}

Input Schema

NameRequiredDescriptionDefault
rulesYesFirst matching rule wins for each element. A rule without elementType and layer matches everything.
dryRunNoOnly return what would change, without touching the model.
systemNoPart of the classification system name; the first one by default.
elementsNoExplicit elements, as returned by other tools: [{"elementId": {"guid": "..."}}].
overwriteNoAlso reclassify elements that already have a classification in this system.
elementTypeNoOnly elements of this type, e.g. 'Wall', 'Slab', 'Zone', 'Object', 'Window'.
selectedOnlyNoOnly the elements selected in Archicad.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, closed-world mutation, so the description's job is to add mutation context — and it does, by disclosing that unclassified elements are the default target and that changes are reversible via undo. It doesn't discuss ordering side effects beyond 'first matching rule wins' (which lives in the schema) or performance on large models.

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

Conciseness5/5

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

Two compact sentences: the core behavior and matching model come first, followed by the default scope and the revert note. The parenthetical example carries real information rather than padding, and nothing is redundant with the schema.

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 7-parameter mutation tool with full schema documentation and annotations but no output schema, the description covers the essential unknowns: default targeting, rule precedence context, and reversibility. A note on what happens when an element matches no rule, or on dryRun as the safe preview path, would close the remaining gap.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns above that by supplying a worked example that shows how elementType and layer compose into a rule and what the classification target looks like ('as Terrain'). It does not clarify the interaction between the elements list and rules, or the system-name matching behavior.

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 gives a specific verb and resource ('Classifies many elements at once with rules') plus the matching dimensions (element type and/or layer) and a concrete example rule mapping Slabs on a named layer to 'Terrain'. That is enough to distinguish it from a single-element classification setter, though no sibling is named explicitly.

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?

It states the default scope clearly ('by default only those still unclassified'), which tells the agent when the tool is safe to run without extra flags, and it names the recovery path ('Revert with undo') pointing at the sibling undo tool. It stops short of explicit when-not-to-use guidance or naming a batch-alternative.

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