Skip to main content
Glama
open-mcp-cad

open-mcp-cad

get_connection_status

Check the Open-MCP-CAD connection and Cadwork job state after a timeout to see whether work is still running, paused, or stuck before retrying.

Instructions

Zustand der Open-MCP-CAD-Verbindung zu Cadwork.

Antwortet auch dann, wenn Cadwork gerade minutenlang zeichnet — die Abfrage läuft NICHT über die Auftrags-Warteschlange des Plugins.

Genau dafür gedacht, wenn execute_cadwork_command in ein Timeout gelaufen ist: Hier steht, ob der Auftrag noch läuft (dann warten, NICHT wiederholen), ob die Verbindung pausiert ist oder ob der Cadwork-Hauptthread hängt.

Liefert unter anderem: instanz (A-D), port, pid, dokument, zustand + zustand_text (Aus / Wird gestartet / Bereit / Liest Modell / Bearbeitet Modell / Pausiert / Wird nach dem Auftrag beendet / Störung), laufender Auftrag mit Beschreibung und Laufzeit, wartende Aufträge, Schreiblizenz, letzter Fehler und ein Klartext-Hinweis.

cadwork_beschaeftigt nicht leer heisst: Cadwork arbeitet gerade selbst (modaler Dialog, Fortschrittsdialog, offenes Menü). Aufträge warten dann in der Warteschlange und laufen danach von selbst — NICHT wiederholen.

Sind Erweiterungen eingetragen (OPEN_MCP_CAD_ERWEITERUNGEN), steht unter erweiterungen je Eintrag, ob sie geladen ist und welche Werkzeuge sie gebracht hat (oder warum nicht).

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": "get_connection_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses that the call succeeds even while Cadwork is busy drawing for minutes and that it does not go through the job queue, which is precisely the behavioral fact an agent needs. It also enumerates the state machine (Aus / Wird gestartet / Bereit / Liest Modell / ... / Störung) and the cadwork_beschaeftigt semantics, including the guidance not to repeat queued jobs.

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?

Content is front-loaded: purpose first, then the key non-queued behavior, then the timeout use case, then the returned fields. It is longer than typical, but nearly every sentence adds operational meaning; the enumeration of state values is dense but purposeful rather than padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, yet the description enumerates the returned fields (instanz, port, pid, dokument, zustand, laufender Auftrag mit Laufzeit, wartende Aufträge, Schreiblizenz, letzter Fehler, Klartext-Hinweis) and explains the erweiterungen block. For a zero-parameter diagnostic tool, nothing an agent needs in order to interpret the result is missing.

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?

The tool takes zero parameters, so there is nothing to disambiguate and the baseline of 4 applies. The description correctly does not invent parameters and instead spends its space on return-value semantics.

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 resource and action: the state of the Open-MCP-CAD connection to Cadwork, and immediately contrasts it with execute_cadwork_command by noting the query bypasses the plugin's job queue. An agent can tell exactly what this returns and how it differs from the sibling that submits work.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says it is intended for the case where execute_cadwork_command has timed out, and prescribes the decision rule: if the job is still running, wait and do NOT retry. It also explains the meaning of a non-empty cadwork_beschaeftigt (modal dialog, progress dialog, open menu) and that queued jobs run by themselves — a clear when-to-use and when-not-to-repeat instruction.

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