Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

assembly_set_grounded

Fix a component in an assembly by creating its native GroundedJoint, or unfix it by removing that joint.

Instructions

Create or remove the native GroundedJoint for one component.

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>",
      "assembly_name": "<assembly_name>",
      "component_name": "<component_name>"
    },
    "name": "assembly_set_grounded"
  }
}

Input Schema

NameRequiredDescriptionDefault
doc_nameYesAssembly owner document Name.
groundedNoTrue fixes the component; false removes its GroundedJoint.
assembly_nameYesNative Assembly object Name.
component_nameYesComponent link Name in the Assembly.

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
statusYes
warningsNo
referencesNo
contract_versionNo1.0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

B3.4/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 meaningful work: it implies a mutation, names the concrete error codes (invalid_arguments, object_not_found, transaction_conflict, operation_failed, execution_timeout), and explicitly warns that timeout is not cancellation so mutations must not be blindly retried. It does not state permission requirements or what happens when a component is already in the requested state (idempotency), which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is correctly front-loaded in the first sentence, but the shared contract boilerplate is bulky and includes area mm^2 and volume mm^3 guidance that cannot apply to a name-plus-boolean call. The retry-safety warning earns its place; the unit clauses do not.

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?

An output schema exists, so return values need not be described, and the description still covers error codes, timeout semantics, units, and the legacy return shape. What is missing for a mutation tool is the effect of calling it twice or on an already-grounded component, which would complete the picture.

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 description coverage is 100%, so the schema already explains doc_name, assembly_name, component_name, and the grounded boolean with its default. The description adds only a light naming hint ('explicit internal names recommended') plus unit conventions that are irrelevant to this tool's boolean/name parameters, so the baseline 3 applies.

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 first sentence gives a specific verb pair and resource: 'Create or remove the native GroundedJoint for one component', which also explains the underlying mechanism rather than leaving 'grounded' abstract. It is clear on its own, but it never contrasts itself with nearby siblings such as assembly_set_joint or assembly_set_component_pose, so differentiation is left to the agent.

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, and no alternative is named. The only directional hint (grounded=true fixes, false removes) lives in the schema, not the description, so the agent gets no routing help between this tool and the joint/pose tools.

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