Skip to main content
Glama

Review CAD Model

review_cad

Run a deterministic mechanism-fitness review on supplied kernelCAD code or a file. It performs a full evaluation, replaces the active MCP session model on success, and clears that session if evaluation fails. The script may load referenced assets. The review validates the assembly/mate graph and connector placement, samples declared mate limits, optionally checks interference at sampled poses, and reports connector workspace bounds, fitness findings, and a repair mode (none, local-fix, parameter-tune, or topology-redesign). Runs within time_budget_ms (default 90 s); stages that do not fit are listed in skippedStages and were not checked. Hosted: lib.fromSTEP / fromSTL / meshFromSTL / fromDXF / fromSVG and referenceImage take a direct string literal or a const bound to one (computed expressions are unsupported). They accept "asset:" (from request_upload), an https:// URL or a data: URI as the path.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "review_cad"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNoInline kernelCAD script source.
fileNoPath to a .kcad.ts script file. Hosted: `code`, `project:<slug>` (head), or a Studio `/p/<slug>?version=N` link (pinned); no local files.
assemblyNoAssembly name; defaults to the first captured assembly.
design_goalNoOriginal user design prompt or goal. Included in suggestedRepairPrompt so topology-redesign repairs restart from the intended physical design instead of local coordinate nudges.
epsilon_mm3NoInterference volume threshold in mm^3. Default 0.01.
combinatorialNoSample all 2^N limit-corner combinations across mates with declared limits. Capped at 8 mates with limits; combine with samples_per_mate for both interior coverage and worst-pose detection. Default false.
time_budget_msNoWall-clock budget for the review in ms (default 90000). Once spent, the remaining heavy stages (pose envelope, physical use case, mechanism sweep) are skipped and listed in skippedStages — a partial result instead of a timeout. stageTimingsMs reports where the time went.
samples_per_mateNoPose-envelope samples per declared-limit mate. 1 (default) = corners only; >=3 adds uniform interior points between min and max. Total samples per non-locked mate = samples_per_mate.
track_connectorsNoOptional connector refs such as ["gripper-plate.tool-tip"] to limit connector workspace reporting.
preserve_interfacesNoExternal mates, connector refs, part names, or behavioral interfaces the repair agent must preserve during redesign.
include_interferenceNoWhether sampled poses run BREP interference checks. Default true.
mechanismSweepBudgetNoMaximum estimated BREP work for mechanism limit sweeps and DOF probes. If omitted, the hosted default is 80000 on a ready sandbox with the attested bounded-16g-v1 capacity profile; otherwise it is 40000. Explicit values are preserved. Existing sampling, tolerances and job time/memory limits apply. design_loop forwards this budget to every attempt.
include_pose_envelopeNoWhether to sample declared mate limits. Default true.
mechanism_sweep_budgetNoMaximum estimated BREP work for the mechanism limit sweep and DOF probes. Default 40000. Existing sampling, tolerances and job time/memory guards apply. design_loop forwards this budget to every attempt.
physical_use_case_levelNoEscalating physical-use-case depth; each level includes the previous. 'reachability': targeted sampling over scalar-limited mates named in actuatorLimits, rejecting contacts that cannot get within criteria.maxSlipMm and multi-contact use cases that cannot satisfy every contact in the same sampled actuator pose (revolute/cylindrical/pin-slot limitsDeg, prismatic limitsMm). 'statics': adds pose-bound quasi-static certification at the exact common-contact samples (conservative friction/capacity, world force and moment balance, finite-difference revolute actuator torque); returns physicalUseCaseStaticCertificates on success. 'reactions': adds exact-pose reaction wrenches through uniquely rooted articulated trees, compared against each loaded mate's declared resultant force/moment envelope, and runs the clevis double-shear / pin-bending / bearing / tear-out / net-section check (minimum factor of safety 2) automatically for mates built with joint.clevis. Defaults to 'reachability' when require_physical_use_case is true.
require_physical_use_caseNoWhen true, articulated assemblies must declare arm.physicalUseCase(...) evidence: loads, contacts, stable parts, and actuator limits.
physical_use_case_samples_per_mateNoSamples per scalar-limited actuator mate for physical-use-case contact reachability. Samples revolute/cylindrical/pin-slot limitsDeg and prismatic limitsMm. Default 3; total targeted combinations are capped.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / file / description
      Previous value: -"Path to a .kcad.ts script file. Hosted server: cannot read files from your machine — pass `code`, or `project:<slug>` for a saved project."New value: +"Path to a .kcad.ts script file. Hosted: `code`, `project:<slug>` (head), or a Studio `/p/<slug>?version=N` link (pinned); no local files."
  2. Changed24 schema fields changed
    • changedInput schema / properties / combinatorial / description
      Previous value: -"Sample all 2^N limit-corner combinations across mates with declared limits. Capped at 8 mates with limits; combine with samplesPerMate for both interior coverage and worst-pose detection. Default false."New value: +"Sample all 2^N limit-corner combinations across mates with declared limits. Capped at 8 mates with limits; combine with samples_per_mate for both interior coverage and worst-pose detection. Default false."
    • removedInput schema / properties / designGoal
      Removed value: -{
      -  "description": "Original user design prompt or goal. Included in suggestedRepairPrompt so topology-redesign repairs restart from the intended physical design instead of local coordinate nudges.",
      -  "type": "string"
      -}
    • addedInput schema / properties / design_goal
      Added value: +{
      +  "description": "Original user design prompt or goal. Included in suggestedRepairPrompt so topology-redesign repairs restart from the intended physical design instead of local coordinate nudges.",
      +  "type": "string"
      +}
    • removedInput schema / properties / epsilonMm3
      Removed value: -{
      -  "description": "Interference volume threshold in mm^3. Default 0.01.",
      -  "type": "number"
      -}
    • addedInput schema / properties / epsilon_mm3
      Added value: +{
      +  "description": "Interference volume threshold in mm^3. Default 0.01.",
      +  "type": "number"
      +}
    • removedInput schema / properties / includeInterference
      Removed value: -{
      -  "description": "Whether sampled poses run BREP interference checks. Default true.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / includePoseEnvelope
      Removed value: -{
      -  "description": "Whether to sample declared mate limits. Default true.",
      -  "type": "boolean"
      -}
    • addedInput schema / properties / include_interference
      Added value: +{
      +  "description": "Whether sampled poses run BREP interference checks. Default true.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / include_pose_envelope
      Added value: +{
      +  "description": "Whether to sample declared mate limits. Default true.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / mechanism_sweep_budget
      Added value: +{
      +  "description": "Maximum estimated BREP work for the mechanism limit sweep and DOF probes. Default 40000. Existing sampling, tolerances and job time/memory guards apply. design_loop forwards this budget to every attempt.",
      +  "maximum": 9007199254740991,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • removedInput schema / properties / physicalUseCaseLevel
      Removed value: -{
      -  "description": "Escalating physical-use-case depth; each level includes the previous. 'reachability': targeted sampling over scalar-limited mates named in actuatorLimits, rejecting contacts that cannot get within criteria.maxSlipMm and multi-contact use cases that cannot satisfy every contact in the same sampled actuator pose (revolute/cylindrical/pin-slot limitsDeg, prismatic limitsMm). 'statics': adds pose-bound quasi-static certification at the exact common-contact samples (conservative friction/capacity, world force and moment balance, finite-difference revolute actuator torque); returns physicalUseCaseStaticCertificates on success. 'reactions': adds exact-pose reaction wrenches through uniquely rooted articulated trees, compared against each loaded mate's declared resultant force/moment envelope, and runs the clevis double-shear / pin-bending / bearing / tear-out / net-section check (minimum factor of safety 2) automatically for mates built with joint.clevis. Defaults to 'reachability' when requirePhysicalUseCase is true.",
      -  "enum": [
      -    "reachability",
      -    "statics",
      -    "reactions"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / physicalUseCaseSamplesPerMate
      Removed value: -{
      -  "description": "Samples per scalar-limited actuator mate for physical-use-case contact reachability. Samples revolute/cylindrical/pin-slot limitsDeg and prismatic limitsMm. Default 3; total targeted combinations are capped.",
      -  "minimum": 1,
      -  "type": "integer"
      -}
    • addedInput schema / properties / physical_use_case_level
      Added value: +{
      +  "description": "Escalating physical-use-case depth; each level includes the previous. 'reachability': targeted sampling over scalar-limited mates named in actuatorLimits, rejecting contacts that cannot get within criteria.maxSlipMm and multi-contact use cases that cannot satisfy every contact in the same sampled actuator pose (revolute/cylindrical/pin-slot limitsDeg, prismatic limitsMm). 'statics': adds pose-bound quasi-static certification at the exact common-contact samples (conservative friction/capacity, world force and moment balance, finite-difference revolute actuator torque); returns physicalUseCaseStaticCertificates on success. 'reactions': adds exact-pose reaction wrenches through uniquely rooted articulated trees, compared against each loaded mate's declared resultant force/moment envelope, and runs the clevis double-shear / pin-bending / bearing / tear-out / net-section check (minimum factor of safety 2) automatically for mates built with joint.clevis. Defaults to 'reachability' when require_physical_use_case is true.",
      +  "enum": [
      +    "reachability",
      +    "statics",
      +    "reactions"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / physical_use_case_samples_per_mate
      Added value: +{
      +  "description": "Samples per scalar-limited actuator mate for physical-use-case contact reachability. Samples revolute/cylindrical/pin-slot limitsDeg and prismatic limitsMm. Default 3; total targeted combinations are capped.",
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • removedInput schema / properties / preserveInterfaces
      Removed value: -{
      -  "description": "External mates, connector refs, part names, or behavioral interfaces the repair agent must preserve during redesign.",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • addedInput schema / properties / preserve_interfaces
      Added value: +{
      +  "description": "External mates, connector refs, part names, or behavioral interfaces the repair agent must preserve during redesign.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / requirePhysicalUseCase
      Removed value: -{
      -  "description": "When true, articulated assemblies must declare arm.physicalUseCase(...) evidence: loads, contacts, stable parts, and actuator limits.",
      -  "type": "boolean"
      -}
    • addedInput schema / properties / require_physical_use_case
      Added value: +{
      +  "description": "When true, articulated assemblies must declare arm.physicalUseCase(...) evidence: loads, contacts, stable parts, and actuator limits.",
      +  "type": "boolean"
      +}
    • removedInput schema / properties / samplesPerMate
      Removed value: -{
      -  "description": "Pose-envelope samples per declared-limit mate. 1 (default) = corners only; >=3 adds uniform interior points between min and max. Total samples per non-locked mate = samplesPerMate.",
      -  "minimum": 1,
      -  "type": "integer"
      -}
    • addedInput schema / properties / samples_per_mate
      Added value: +{
      +  "description": "Pose-envelope samples per declared-limit mate. 1 (default) = corners only; >=3 adds uniform interior points between min and max. Total samples per non-locked mate = samples_per_mate.",
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • removedInput schema / properties / timeBudgetMs
      Removed value: -{
      -  "description": "Wall-clock budget for the review in ms (default 90000). Once spent, the remaining heavy stages (pose envelope, physical use case, mechanism sweep) are skipped and listed in skippedStages — a partial result instead of a timeout. stageTimingsMs reports where the time went.",
      -  "type": "number"
      -}
    • addedInput schema / properties / time_budget_ms
      Added value: +{
      +  "description": "Wall-clock budget for the review in ms (default 90000). Once spent, the remaining heavy stages (pose envelope, physical use case, mechanism sweep) are skipped and listed in skippedStages — a partial result instead of a timeout. stageTimingsMs reports where the time went.",
      +  "type": "number"
      +}
    • removedInput schema / properties / trackConnectors
      Removed value: -{
      -  "description": "Optional connector refs such as [\"gripper-plate.tool-tip\"] to limit connector workspace reporting.",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • addedInput schema / properties / track_connectors
      Added value: +{
      +  "description": "Optional connector refs such as [\"gripper-plate.tool-tip\"] to limit connector workspace reporting.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / mechanismSweepBudget / description
      Previous value: -"Maximum estimated BREP work for the mechanism limit sweep and DOF probes. Default 40000. Existing sampling, tolerances and job time/memory guards apply. design_loop forwards this budget to every attempt."New value: +"Maximum estimated BREP work for mechanism limit sweeps and DOF probes. If omitted, the hosted default is 80000 on a ready sandbox with the attested bounded-16g-v1 capacity profile; otherwise it is 40000. Explicit values are preserved. Existing sampling, tolerances and job time/memory limits apply. design_loop forwards this budget to every attempt."
  4. Changed1 schema field changed
    • addedInput schema / properties / mechanismSweepBudget
      Added value: +{
      +  "description": "Maximum estimated BREP work for the mechanism limit sweep and DOF probes. Default 40000. Existing sampling, tolerances and job time/memory guards apply. design_loop forwards this budget to every attempt.",
      +  "maximum": 9007199254740991,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  5. Changed8 schema fields changed
    • removedInput schema / properties / gripperAperture
      Removed value: -{
      -  "description": "Optional fingertip connector refs for gripper aperture travel reporting.",
      -  "properties": {
      -    "left": {
      -      "description": "Left fingertip connector ref such as \"left-finger.tip\".",
      -      "type": "string"
      -    },
      -    "right": {
      -      "description": "Right fingertip connector ref such as \"right-finger.tip\".",
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedInput schema / properties / includePhysicalUseCaseJointReactions
      Removed value: -{
      -  "description": "Derive exact-pose reaction wrenches through uniquely rooted articulated trees and compare every loaded mate against a complete declared resultant force/moment envelope. Implies physical-use-case reachability and statics.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / includePhysicalUseCaseJointStructure
      Removed value: -{
      -  "description": "Run geometry/material clevis double-shear, pin-bending, bearing, tear-out, and net-section checks with minimum factor of safety 2. Unsupported axial or perpendicular-moment load cases remain blockers. Implies joint reactions, statics, and reachability.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / includePhysicalUseCaseReachability
      Removed value: -{
      -  "description": "Run targeted physical-use-case reachability sampling over scalar-limited mates named in actuatorLimits. Reject contacts that cannot get within criteria.maxSlipMm and multi-contact use cases that cannot satisfy every contact in the same sampled actuator pose. Samples revolute/cylindrical/pin-slot limitsDeg and prismatic limitsMm. Defaults to requirePhysicalUseCase.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / includePhysicalUseCaseStatics
      Removed value: -{
      -  "description": "Run opt-in pose-bound quasi-static certification at the exact common-contact samples: conservative friction/capacity, world force and moment balance, and finite-difference revolute actuator torque. Returns physicalUseCaseStaticCertificates on success; sampled linearized failures remain blocking diagnostics.",
      -  "type": "boolean"
      -}
    • addedInput schema / properties / physicalUseCaseLevel
      Added value: +{
      +  "description": "Escalating physical-use-case depth; each level includes the previous. 'reachability': targeted sampling over scalar-limited mates named in actuatorLimits, rejecting contacts that cannot get within criteria.maxSlipMm and multi-contact use cases that cannot satisfy every contact in the same sampled actuator pose (revolute/cylindrical/pin-slot limitsDeg, prismatic limitsMm). 'statics': adds pose-bound quasi-static certification at the exact common-contact samples (conservative friction/capacity, world force and moment balance, finite-difference revolute actuator torque); returns physicalUseCaseStaticCertificates on success. 'reactions': adds exact-pose reaction wrenches through uniquely rooted articulated trees, compared against each loaded mate's declared resultant force/moment envelope, and runs the clevis double-shear / pin-bending / bearing / tear-out / net-section check (minimum factor of safety 2) automatically for mates built with joint.clevis. Defaults to 'reachability' when requirePhysicalUseCase is true.",
      +  "enum": [
      +    "reachability",
      +    "statics",
      +    "reactions"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / properties / physicalUseCaseReachabilitySamplesPerMate
      Removed value: -{
      -  "description": "Samples per scalar-limited actuator mate for physical-use-case contact reachability. Samples revolute/cylindrical/pin-slot limitsDeg and prismatic limitsMm. Default 3; total targeted combinations are capped.",
      -  "minimum": 1,
      -  "type": "integer"
      -}
    • addedInput schema / properties / physicalUseCaseSamplesPerMate
      Added value: +{
      +  "description": "Samples per scalar-limited actuator mate for physical-use-case contact reachability. Samples revolute/cylindrical/pin-slot limitsDeg and prismatic limitsMm. Default 3; total targeted combinations are capped.",
      +  "minimum": 1,
      +  "type": "integer"
      +}
  6. Changed2 schema fields changed
    • removedOutput schema / properties
      Removed value: -{
      -  "assembly": {
      -    "type": "string"
      -  },
      -  "connectorWorkspace": {
      -    "description": "Connector workspace bounds.",
      -    "items": {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "diagnostics": {
      -    "items": {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "featureCount": {
      -    "type": "number"
      -  },
      -  "fitness": {
      -    "additionalProperties": true,
      -    "description": "Mechanism fitness verdict incl. repairMode.",
      -    "type": "object"
      -  },
      -  "gripperAperture": {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  "interferenceSummary": {
      -    "additionalProperties": true,
      -    "description": "Classified interference counts and pairs: raw, contact-noise, actionable, and capMm3.",
      -    "type": "object"
      -  },
      -  "mechanism": {
      -    "type": "string"
      -  },
      -  "mechanismFailures": {
      -    "items": {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "ok": {
      -    "type": "boolean"
      -  },
      -  "physicalUseCaseJointReactionCertificates": {
      -    "description": "Exact-pose parent-on-child joint reaction wrench certificates in N, mm, and Nmm.",
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "poses": {
      -          "additionalProperties": true,
      -          "type": "object"
      -        },
      -        "reactions": {
      -          "items": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "axialForceN": {
      -                "type": "number"
      -              },
      -              "axisMomentNmm": {
      -                "type": "number"
      -              },
      -              "axisWorld": {
      -                "items": {
      -                  "type": "number"
      -                },
      -                "type": "array"
      -              },
      -              "bendingMomentNmm": {
      -                "type": "number"
      -              },
      -              "childPart": {
      -                "type": "string"
      -              },
      -              "forceWorldN": {
      -                "items": {
      -                  "type": "number"
      -                },
      -                "type": "array"
      -              },
      -              "mateName": {
      -                "type": "string"
      -              },
      -              "momentWorldNmm": {
      -                "items": {
      -                  "type": "number"
      -                },
      -                "type": "array"
      -              },
      -              "parentPart": {
      -                "type": "string"
      -              },
      -              "pointWorldMm": {
      -                "items": {
      -                  "type": "number"
      -                },
      -                "type": "array"
      -              },
      -              "radialForceN": {
      -                "type": "number"
      -              },
      -              "resultantForceN": {
      -                "type": "number"
      -              },
      -              "resultantMomentNmm": {
      -                "type": "number"
      -              }
      -            },
      -            "required": [
      -              "mateName",
      -              "parentPart",
      -              "childPart",
      -              "pointWorldMm",
      -              "axisWorld",
      -              "forceWorldN",
      -              "momentWorldNmm",
      -              "resultantForceN",
      -              "resultantMomentNmm",
      -              "axialForceN",
      -              "radialForceN",
      -              "axisMomentNmm",
      -              "bendingMomentNmm"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "useCaseName": {
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "useCaseName",
      -        "poses",
      -        "reactions"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "physicalUseCaseJointStructuralCertificates": {
      -    "description": "Per-joint declared-envelope and geometry/material clevis strength evidence.",
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "joints": {
      -          "items": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "envelope": {
      -                "additionalProperties": true,
      -                "type": "object"
      -              },
      -              "mateName": {
      -                "type": "string"
      -              },
      -              "structure": {
      -                "additionalProperties": true,
      -                "type": "object"
      -              }
      -            },
      -            "required": [
      -              "mateName",
      -              "envelope"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "poses": {
      -          "additionalProperties": true,
      -          "type": "object"
      -        },
      -        "useCaseName": {
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "useCaseName",
      -        "poses",
      -        "joints"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "physicalUseCaseStaticCertificates": {
      -    "description": "Verified sampled quasi-static certificates with residual wrench, contact forces, and actuator torque evidence.",
      -    "items": {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "poseEnvelope": {
      -    "additionalProperties": true,
      -    "description": "Sampled mate-limit pose envelope.",
      -    "type": "object"
      -  },
      -  "rawInterferencePairs": {
      -    "items": {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "repairContext": {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  "skippedStages": {
      -    "description": "Stages skipped because timeBudgetMs was spent; their checks did not run.",
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "reason": {
      -          "type": "string"
      -        },
      -        "stage": {
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "stageTimingsMs": {
      -    "additionalProperties": {
      -      "type": "number"
      -    },
      -    "description": "Wall-clock ms per review stage that ran.",
      -    "type": "object"
      -  },
      -  "suggestedRepairPrompt": {
      -    "description": "Structured repair prompt (failure / repair path).",
      -    "type": "string"
      -  },
      -  "validator": {
      -    "additionalProperties": true,
      -    "description": "Assembly/mate-graph validator result.",
      -    "type": "object"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "ok",
      -  "featureCount",
      -  "diagnostics"
      -]
  7. Changed3 schema fields changed
    • addedInput schema / properties / timeBudgetMs
      Added value: +{
      +  "description": "Wall-clock budget for the review in ms (default 90000). Once spent, the remaining heavy stages (pose envelope, physical use case, mechanism sweep) are skipped and listed in skippedStages — a partial result instead of a timeout. stageTimingsMs reports where the time went.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / skippedStages
      Added value: +{
      +  "description": "Stages skipped because timeBudgetMs was spent; their checks did not run.",
      +  "items": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "reason": {
      +        "type": "string"
      +      },
      +      "stage": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / stageTimingsMs
      Added value: +{
      +  "additionalProperties": {
      +    "type": "number"
      +  },
      +  "description": "Wall-clock ms per review stage that ran.",
      +  "type": "object"
      +}
  8. Changed1 schema field changed
    • changedInput schema / properties / file / description
      Previous value: -"Path to a .kcad.ts script file."New value: +"Path to a .kcad.ts script file. Hosted server: cannot read files from your machine — pass `code`, or `project:<slug>` for a saved project."
  9. Changed10 schema fields changed
    • addedInput schema / properties / includePhysicalUseCaseJointReactions
      Added value: +{
      +  "description": "Derive exact-pose reaction wrenches through uniquely rooted articulated trees and compare every loaded mate against a complete declared resultant force/moment envelope. Implies physical-use-case reachability and statics.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / includePhysicalUseCaseJointStructure
      Added value: +{
      +  "description": "Run geometry/material clevis double-shear, pin-bending, bearing, tear-out, and net-section checks with minimum factor of safety 2. Unsupported axial or perpendicular-moment load cases remain blockers. Implies joint reactions, statics, and reachability.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / includePhysicalUseCaseReachability
      Added value: +{
      +  "description": "Run targeted physical-use-case reachability sampling over scalar-limited mates named in actuatorLimits. Reject contacts that cannot get within criteria.maxSlipMm and multi-contact use cases that cannot satisfy every contact in the same sampled actuator pose. Samples revolute/cylindrical/pin-slot limitsDeg and prismatic limitsMm. Defaults to requirePhysicalUseCase.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / includePhysicalUseCaseStatics
      Added value: +{
      +  "description": "Run opt-in pose-bound quasi-static certification at the exact common-contact samples: conservative friction/capacity, world force and moment balance, and finite-difference revolute actuator torque. Returns physicalUseCaseStaticCertificates on success; sampled linearized failures remain blocking diagnostics.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / physicalUseCaseReachabilitySamplesPerMate
      Added value: +{
      +  "description": "Samples per scalar-limited actuator mate for physical-use-case contact reachability. Samples revolute/cylindrical/pin-slot limitsDeg and prismatic limitsMm. Default 3; total targeted combinations are capped.",
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / requirePhysicalUseCase
      Added value: +{
      +  "description": "When true, articulated assemblies must declare arm.physicalUseCase(...) evidence: loads, contacts, stable parts, and actuator limits.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / interferenceSummary
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Classified interference counts and pairs: raw, contact-noise, actionable, and capMm3.",
      +  "type": "object"
      +}
    • addedOutput schema / properties / physicalUseCaseJointReactionCertificates
      Added value: +{
      +  "description": "Exact-pose parent-on-child joint reaction wrench certificates in N, mm, and Nmm.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "poses": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "reactions": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "axialForceN": {
      +              "type": "number"
      +            },
      +            "axisMomentNmm": {
      +              "type": "number"
      +            },
      +            "axisWorld": {
      +              "items": {
      +                "type": "number"
      +              },
      +              "type": "array"
      +            },
      +            "bendingMomentNmm": {
      +              "type": "number"
      +            },
      +            "childPart": {
      +              "type": "string"
      +            },
      +            "forceWorldN": {
      +              "items": {
      +                "type": "number"
      +              },
      +              "type": "array"
      +            },
      +            "mateName": {
      +              "type": "string"
      +            },
      +            "momentWorldNmm": {
      +              "items": {
      +                "type": "number"
      +              },
      +              "type": "array"
      +            },
      +            "parentPart": {
      +              "type": "string"
      +            },
      +            "pointWorldMm": {
      +              "items": {
      +                "type": "number"
      +              },
      +              "type": "array"
      +            },
      +            "radialForceN": {
      +              "type": "number"
      +            },
      +            "resultantForceN": {
      +              "type": "number"
      +            },
      +            "resultantMomentNmm": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "mateName",
      +            "parentPart",
      +            "childPart",
      +            "pointWorldMm",
      +            "axisWorld",
      +            "forceWorldN",
      +            "momentWorldNmm",
      +            "resultantForceN",
      +            "resultantMomentNmm",
      +            "axialForceN",
      +            "radialForceN",
      +            "axisMomentNmm",
      +            "bendingMomentNmm"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "useCaseName": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "useCaseName",
      +      "poses",
      +      "reactions"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / physicalUseCaseJointStructuralCertificates
      Added value: +{
      +  "description": "Per-joint declared-envelope and geometry/material clevis strength evidence.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "joints": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "envelope": {
      +              "additionalProperties": true,
      +              "type": "object"
      +            },
      +            "mateName": {
      +              "type": "string"
      +            },
      +            "structure": {
      +              "additionalProperties": true,
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "mateName",
      +            "envelope"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "poses": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "useCaseName": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "useCaseName",
      +      "poses",
      +      "joints"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / physicalUseCaseStaticCertificates
      Added value: +{
      +  "description": "Verified sampled quasi-static certificates with residual wrench, contact forces, and actuator torque evidence.",
      +  "items": {
      +    "additionalProperties": true,
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  10. Changed3 schema fields changed
    • removedOutput schema / properties / connectorWorkspace / additionalProperties
      Removed value: -true
    • addedOutput schema / properties / connectorWorkspace / items
      Added value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
    • changedOutput schema / properties / connectorWorkspace / type
      Previous value: -"object"New value: +"array"
  11. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "assembly": {
      +      "type": "string"
      +    },
      +    "connectorWorkspace": {
      +      "additionalProperties": true,
      +      "description": "Connector workspace bounds.",
      +      "type": "object"
      +    },
      +    "diagnostics": {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "featureCount": {
      +      "type": "number"
      +    },
      +    "fitness": {
      +      "additionalProperties": true,
      +      "description": "Mechanism fitness verdict incl. repairMode.",
      +      "type": "object"
      +    },
      +    "gripperAperture": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "mechanism": {
      +      "type": "string"
      +    },
      +    "mechanismFailures": {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "poseEnvelope": {
      +      "additionalProperties": true,
      +      "description": "Sampled mate-limit pose envelope.",
      +      "type": "object"
      +    },
      +    "rawInterferencePairs": {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "repairContext": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "suggestedRepairPrompt": {
      +      "description": "Structured repair prompt (failure / repair path).",
      +      "type": "string"
      +    },
      +    "validator": {
      +      "additionalProperties": true,
      +      "description": "Assembly/mate-graph validator result.",
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "ok",
      +    "featureCount",
      +    "diagnostics"
      +  ],
      +  "type": "object"
      +}
  12. Changed1 schema field changed
    • addedInput schema / properties / gripperAperture
      Added value: +{
      +  "description": "Optional fingertip connector refs for gripper aperture travel reporting.",
      +  "properties": {
      +    "left": {
      +      "description": "Left fingertip connector ref such as \"left-finger.tip\".",
      +      "type": "string"
      +    },
      +    "right": {
      +      "description": "Right fingertip connector ref such as \"right-finger.tip\".",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  13. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.