Skip to main content
Glama
archicad-tapir-mcp

archicad-tapir-mcp

by joacos

run_api_command

Destructive

Executes official Archicad JSON API commands, such as API.GetElementsByType, with parameters. Use it to query or modify an open Archicad project programmatically via Graphisoft's JSON API.

Instructions

Runs an official Archicad JSON API command, e.g. 'API.GetElementsByType' or 'API.GetBuiltInPropertyIds'. See Graphisoft's JSON API reference for parameters.

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": {
      "command": "<command>"
    },
    "name": "run_api_command"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandYesCommand name starting with 'API.'.
parametersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations declare destructiveHint=true, meaning arbitrary commands can mutate or delete model data, yet the description never warns about side effects, irreversibility, or required permissions. It says nothing about what is returned, whether execution is batched or stateful, or what happens on an invalid command name. The only added behavioral note is 'See Graphisoft's JSON API reference', which shifts the burden off the definition entirely.

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?

Two short sentences, front-loaded with the action, with no filler or repetition. The second sentence is thin ('see the reference') but at least occupies minimal space while signaling where parameter details live.

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?

This is a high-complexity dispatcher: a free-form nested parameter bag, a destructive annotation, no output schema, and many overlapping siblings. For that profile the description is far too thin — it omits return shape, error behavior, safety warnings, and routing relative to alternatives. An agent reading it can form the call but not predict the consequences.

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?

The `command` parameter is fully described in the schema (pattern ^API\.), and the description's two example command names reinforce the expected format, so that half is covered without description help. The `parameters` object is a free-form nested object with only a default of {} and no schema description; the description addresses it solely by deferring to an external reference, adding almost no local meaning. With 50% schema coverage, this leaves the most error-prone parameter underspecified.

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 states a specific verb and resource ('Runs an official Archicad JSON API command') and gives two concrete command identifiers ('API.GetElementsByType', 'API.GetBuiltInPropertyIds') that make the shape of the argument unambiguous. It does not differentiate itself from siblings like tapir_run_command or the many typed tools (GetElementsByType, GetPropertyValuesOfElements) that appear to wrap the same API surface, so the agent cannot tell from this text alone which entry point to pick.

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 or when-not-to-use guidance. Given a large set of sibling tools with equivalent outcomes (GetElementsByType, GetAllProperties, SetPropertyValuesOfElements), the description should say whether this generic escape hatch is preferred, a fallback when no typed tool exists, or something else. Instead it only points at external documentation.

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