Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

fasteners_mount_threaded_hole

Mounts a native screw or washer in an explicitly specified threaded hole using catalog-defined specs and measured fit, engagement, and bottom-clearance data.

Instructions

Mount native screw/washer in an explicitly specified threaded hole; catalog defines spec.

Thread fit, useful engagement and bottom clearance require explicit measured data.

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>",
      "body_name": "<body_name>",
      "hole_feature_name": "<hole_feature_name>",
      "spec": "<spec>"
    },
    "name": "fasteners_mount_threaded_hole"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoRequested internal name for a new object/document; FreeCAD may uniquify it. Use the returned name.ThreadedFastener
specYesExplicit threaded-hole mounting parameters; query fasteners_catalog for schema and examples.
doc_nameYesInternal document Name, never Label/path. Omitted/null uses active document (legacy); pass explicitly.
body_nameYesInternal object Name in the selected document, never Label; must have the type required by this tool.
hole_feature_nameYesInternal object Name in the selected document, never Label; must have the type required by this tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

A3.8/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 well: it implies a mutation that creates an object/document, enumerates error codes (invalid_arguments, transaction_conflict, execution_timeout, etc.), and explicitly warns that timeout is not cancellation and mutations must not be blindly retried. It also notes the legacy return shape is preserved, though it doesn't describe that shape.

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?

Purpose is front-loaded in the first sentence and the remaining content (fit constraints, contract, errors, retry warning) is all substantive. The layout is slightly fragmented with a floating sentence and a 'Contract:' line, but no sentence is filler.

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 mutating tool with an open-ended nested spec object and no output schema, the description covers operational caveats (measurement requirements, error taxonomy, retry safety) and points to the catalog for spec shape. The only gap is the undescribed legacy return shape, which the agent may need for follow-up calls.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: explicit internal names are recommended, units are mm/mm^2/volume mm^3, field-level units override defaults, and the opaque 'spec' object is routed to fasteners_catalog for its schema. That is genuine value beyond the schema text.

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?

States a specific verb and resource: mounting a native screw/washer into an 'explicitly specified threaded hole', and adds that the catalog defines the spec. The phrase 'explicitly specified' helps separate it from pattern/stack variants, but no sibling is named directly, so differentiation is only implied.

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

Usage Guidelines3/5

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

It gives useful procedural guidance — pass explicit internal names, query fasteners_catalog for the spec schema, supply measured thread-fit data — but never states when to choose this over fasteners_mount_pattern or fasteners_mount_stack. Usage context is implied rather than contrasted.

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