Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

fasteners_inspect_joint

Inspect a bolted joint by measuring coaxial clamped stack alignment across actual component occurrences in world coordinates, using explicit hole datums and a radial mismatch tolerance.

Instructions

Measure a coaxial clamped stack across actual component occurrences, in world coordinates.

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

Input Schema

NameRequiredDescriptionDefault
partsYesExplicit hole datums: object_name, hole_feature_name, edge_name. For App::Link both object names identify the occurrence.
doc_nameYesInternal document Name, never Label/path. Omitted/null uses active document (legacy); pass explicitly.
alignment_tolerance_mmNoMaximum measured radial mismatch in millimetres.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

B3.3/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 declares the coordinate frame (world), default units (length mm, area mm^2, volume mm^3) with field-level overrides, an enumerated error taxonomy, transport failure possibility, and explicit retry semantics ('timeout is not cancellation'). The retry line about mutations is boilerplate for a measurement tool but still communicates timeout behavior.

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 sentence is front-loaded and earns its place, but the 'Contract:' block is telegraphic fragments and includes a six-code error list that reads as family-wide boilerplate rather than tool-specific information. Dense but not wasteful to the point of harm.

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?

A 3-parameter measurement tool with no output schema and no annotations needs some account of what comes back, and 'Legacy return shape preserved' is too vague to be actionable. Units, frame, and error behavior are covered well; the return payload and the meaning of the alignment check are not.

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 the schema already documents doc_name (internal Name, never Label/path), parts (hole datums, App::Link occurrence handling), and alignment_tolerance_mm. The description only reinforces the internal-name convention and unit defaults, adding little beyond the schema; baseline 3 is appropriate.

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 object: 'Measure a coaxial clamped stack across actual component occurrences, in world coordinates.' That distinguishes it from generic inspectors and from sibling fasteners tools like fasteners_mount_stack or fasteners_inspect_controller, though it never names an alternative to route against.

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?

Offers only a weak hint ('explicit internal names recommended') and an implicit read-only framing via 'never blindly retry mutations.' There is no statement of when to choose this over fasteners_inspect_controller, assembly_inspect, or assembly_check_joint_sweep, and no prerequisite or exclusion guidance.

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