Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

fasteners_mount_pattern

Creates native multi-part fastener stacks and a persistent controller from explicit joint patterns; failed edits stay unresolved instead of becoming valid cached geometry.

Instructions

Create native multi-part fastener stacks and a persistent controller; failed edits become unresolved, not valid cached geometry.

Contract: explicit internal names recommended. Length mm, area mm^2, volume mm^3; field units override defaults. Errors: invalid_arguments, document_not_found, object_not_found, transaction_conflict, operation_failed, execution_timeout; transport failures are possible. Timeout is not cancellation: never blindly retry mutations. Legacy return shape preserved.

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": {
      "doc_name": "<doc_name>",
      "joints": "<joints>",
      "spec": "<spec>"
    },
    "name": "fasteners_mount_pattern"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoRequested internal name for a new object/document; FreeCAD may uniquify it. Use the returned name.FastenerPattern
specYesFasteners spec: nominal_diameter_mm, diameter, screw_length_mm; optional screw_type, washer_type, nut_type.
jointsYesExplicit pattern: list of joints, each a list of measured component-hole datums.
doc_nameYesInternal document Name, never Label/path. Omitted/null uses active document (legacy); pass explicitly.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

B3.1/5.0
Behavior4/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 substantial work: it discloses failure semantics (failed edits leave an unresolved state rather than stale cached geometry), a concrete error taxonomy including transaction_conflict and execution_timeout, and the critical caveat that a timeout is not cancellation and mutations must not be blindly retried. It does not state reversibility or permission requirements, but the mutation-risk profile is unusually well covered.

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?

Front-loaded with the action, then a contract block, then units and errors — a sensible ordering for a dense tool. The prose is telegraphic and mostly earns its place, though fragments like "Legacy return shape preserved" are cryptic without context and cost the reader a beat.

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

Completeness3/5

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

For a mutation tool with nested objects, no annotations and no output schema, the error and retry coverage is good, but two gaps remain: "Legacy return shape preserved" gestures at a return value without describing it, and the tool never distinguishes itself from fasteners_mount_stack, leaving the agent without routing information for a complex geometry-creating call.

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%, so name, doc_name, spec and joints are already documented in the schema; the description only adds unit defaults (mm, mm^2, mm^3, field units overriding defaults) and reinforcement that internal names are preferable and should be passed explicitly. It adds nothing about the nested joints structure or how spec's optional fields change behavior, so it stays near the baseline.

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

Purpose3/5

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

The verb/resource is stated ("Create native multi-part fastener stacks and a persistent controller"), but the description reads almost identically to what a stack-creation tool would say, and it never explains what the 'pattern' aspect is or how it relates to the sibling fasteners_mount_stack. An agent can infer it builds fastener geometry from joints, but not why it is distinct from its closest sibling.

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 guidance and no named alternative; the sibling tools fasteners_mount_stack and fasteners_mount_threaded_hole are never referenced. The only directive content is parameter etiquette ("explicit internal names recommended", "pass explicitly"), which addresses how to call, not when to choose this tool.

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

Deploy Server

Other Tools