Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

assembly_inspect

Inspect a FreeCAD assembly to retrieve component sources, placements, native joints, limits, solver state, and exact degrees of freedom for constraint and motion analysis.

Instructions

Read component sources, placements, native joints, limits, solver state, and bounded exact DoF.

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>"
    },
    "name": "assembly_inspect"
  }
}

Input Schema

NameRequiredDescriptionDefault
doc_nameYesAssembly owner document Name.
assembly_nameYesNative Assembly object Name.

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

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does substantial work: it declares the scope limit ('bounded exact DoF'), the unit system with per-field overrides, the enumerated error codes, and the important timeout-vs-cancellation rule against blind retries. It stops short of stating read-only/non-destructive semantics explicitly or whether a document must be active.

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

Conciseness5/5

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

The capability statement is front-loaded in one sentence, followed by a compact contract block covering units, errors, and timeout policy. Every clause carries distinct information; nothing is repeated from the schema or annotations.

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 two-parameter read tool with full schema coverage and an output schema, the description supplies what structured fields cannot: unit conventions, error taxonomy, and retry safety. The only loose end is the unexplained 'Legacy return shape preserved' clause, which adds little without knowing what the legacy shape is.

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 baseline would be 3; the description earns above that by telling the agent to use explicit internal names, which disambiguates whether doc_name/assembly_name take labels or internal identifiers. It adds no per-parameter detail beyond that shared naming rule.

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 description opens with a specific verb ('Read') and enumerates exactly what is returned: component sources, placements, native joints, limits, solver state, and bounded exact DoF. That is far more precise than a tautology, though it never names a sibling to distinguish itself from tools like assembly_check_collisions or inspect_object.

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?

Usage is only implied: an agent infers this is the read-side counterpart to assembly_create/set_component_pose. The 'explicit internal names recommended' note and the retry warning after timeouts are operational hints, but there is no explicit when-to-use/when-not statement or named alternative.

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