Skip to main content
Glama
archicad-tapir-mcp

archicad-tapir-mcp

by joacos

undo

Destructive

Revert recent project edits by deleting elements created and restoring elements changed by supported Archicad commands; specify how many actions to roll back.

Instructions

Reverts the last actions made with set_element_ids, classify_elements, create_slabs, create_meshes, move_elements, rotate_elements, set_slab_levels, set_mesh, create_surface_morph, apply_dimension_favorite or create_room in the open project: deletes what they created and restores what they changed.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "undo"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsNoHow many actions to revert.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, so the key risk is flagged; the description adds real context by explaining the compound effect — created objects are deleted and modified state is restored — which is not derivable from the annotations. It leaves open what happens when steps exceeds available history and whether the undo is itself reversible, which is a meaningful gap for a destructive tool.

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?

One sentence, front-loaded with the verb and the effect, with the long tool list placed in the middle as necessary scoping detail. No filler or redundant restatement.

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 one-parameter undo tool with destructive/read-only hints already supplied, the definition covers scope and effect well. The remaining omission is edge-case behavior — exhausted history, or undo-of-undo — which an agent would benefit from knowing but which does not block correct invocation.

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

Parameters3/5

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

Schema coverage is 100% with a single optional parameter (steps, default 1, minimum 1) fully documented in the schema. The description only confirms the plural 'actions' framing and adds no format or boundary semantics beyond that, so baseline 3 applies.

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

Purpose5/5

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

States a specific verb (reverts) and a bounded resource (the last actions produced by an explicit, enumerated set of sibling tools in the open project), so an agent can tell it apart from generic deletion tools like DeleteElements. The list of supported originating tools is a precise scope statement rather than a restatement of the name.

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?

The enumeration of undoable tools functions as a clear when-to-use constraint: only reach for this after one of those operations. It does not state when NOT to use it (e.g. after operations not in the list, or when a targeted delete/edit is preferable), so it stops short of explicit alternatives.

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