Skip to main content
Glama
open-mcp-cad

open-mcp-cad

record_experience

Capture a cwapi3d troubleshooting lesson locally: record what went wrong and what helped, sanitized to remove paths, file names, and identifiers, so the next project benefits.

Instructions

Hält eine Erfahrung lokal fest: was schiefging und was geholfen hat.

Die Datei bleibt auf diesem Rechner (was du liest, geht wie jeder Werkzeugtext an den Anbieter deines Modells). Gespeichert wird bereinigt: ohne Pfade, Datei-, Dokument- und Benutzernamen; ein Befehl nur als Auszug ohne Zeichenketten, Kommentare und mehrstellige Zahlen. Keine Modelldaten hineinschreiben (Bauteilnamen, Masse, Element-IDs) — die Lehre gilt fürs nächste Projekt. Eine Erfahrung beschreibt, was an einem cwapi3d-Auftrag half; Anweisungen an einen Agenten nimmt sie nicht an.

Zwei Wege:

  • erfahrung_id (aus erfahrung_festgehalten einer Antwort) + loesung: ergänzt die Erfahrung, die der Server gerade automatisch festgehalten hat, um einen Satz, was geholfen hat.

  • problem + loesung (+ befehl, fehlermeldung): eine neue Erfahrung, z. B. eine Stolperfalle, die kein Fehler war.

Args: loesung: in einem Satz, was geholfen hat. problem: was schiefging (ohne erfahrung_id Pflicht). befehl: optional der cwapi3d-Code, um den es ging. fehlermeldung: optional die Meldung von Cadwork. erfahrung_id: optional die id einer vorhandenen Erfahrung.

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": {
      "loesung": "<loesung>"
    },
    "name": "record_experience"
  }
}

Input Schema

NameRequiredDescriptionDefault
befehlNo
loesungYes
problemNo
erfahrung_idNo
fehlermeldungNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.3

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations provided the description carries the full burden and does so: it discloses that data stays local, that tool text nonetheless reaches the model provider, and exactly what sanitization is applied (no paths, file/document/user names; commands truncated without strings, comments or multi-digit numbers). It also warns against embedding model data so a lesson generalizes to the next project — context an agent could not infer from the schema.

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?

The purpose is front-loaded and every block (privacy note, two-path routing, Args) carries distinct information with no filler. It is somewhat long and the mixed indentation plus long sanitization clause make it scan less cleanly than it could.

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 five-parameter mutation tool with no annotations and no output schema, the description covers storage behavior, privacy, sanitization rules, the two invocation modes and all parameter meanings. The only soft gap is what a successful call returns, though the reference to erfahrung_festgehalten in responses partly covers that.

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

Parameters5/5

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

Schema coverage is 0% — the schema only offers bare titles — but the Args block and the 'Zwei Wege' section explain every one of the five parameters in prose, including which are optional and that problem becomes required when erfahrung_id is absent. This fully compensates for the missing schema documentation.

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 opening sentence gives a specific verb and resource ('Hält eine Erfahrung lokal fest') and immediately names the two payloads it captures ('was schiefging und was geholfen hat'). It is clearly a write/store operation opposed to the read-side siblings such as get_experiences, though it never names an alternative tool 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?

The 'Zwei Wege' section gives explicit conditional routing: use erfahrung_id + loesung to enrich an experience the server just auto-captured, or problem + loesung to create a new one. It also states a negative case ('Anweisungen an einen Agenten nimmt sie nicht an'), which is useful scoping. It stops short of naming sibling tools for the read/search side.

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