Skip to main content
Glama

Run Design Loop

design_loop
Idempotent

Use this when the goal is complex / production / enclosure / gearbox / robot-arm / multi-body, or when you need evaluate→review/verify→revise until green. PREFERRED over one-shot evaluate_script+open_in_studio for Adam-level parts. Runs a CAD design loop over attempt scripts: review_cad each attempt, continue past functional attempts with unresolved warnings, return repair prompts (nextActionPrompt) plus structured revisionAssist (suggestedPatches / autoApplied.suggestedCode for repairable feature failures; cookbook steers for stacked-primitive toys). Stop on ok or convergence.escalate. To pick among N alternative candidates for one goal without a judge, pass them all as attempts with consensus:true (geometric medoid selection). Optionally write a Studio build record JSON.

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": {
      "goal": "<goal>",
      "attempts": "<attempts>"
    },
    "name": "design_loop"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalYesOriginal user design goal. Fed into every review_cad repair prompt.
assemblyNo
attemptsYesOrdered design attempts. Each item is { id?, title?, file? OR code?, visualReview? } — provide file or code (at least one). File attempts can be replayed by Studio build records.
consensusNoBest-of-N by geometric consensus. When true, attempts are N independent candidates for the SAME goal (not a repair sequence): all are reviewed (stop_on_pass ignored), all scripts are executed, candidates without a valid solid are dropped, and the candidate whose geometry agrees most with the others (medoid by symmetric Chamfer distance, same model frame) is selected. Ties go to more gates passed, then the shorter script. Returns consensus { chosenIndex, chosenAttemptId, scores, distances, reason }; ok / finalAttemptId / nextActionPrompt describe the selected candidate. Default false.
auto_reviseNoWhen true (default), failing attempts with repairable feature diagnostics (boolean miss, oversized fillet, …) run bounded repair_script and attach revisionAssist.suggestedPatches / autoApplied.suggestedCode. Set false to skip the extra repair pass (hints-only). Does not autonomously rewrite full CAD models.
epsilon_mm3NoForwarded to review_cad.
record_titleNoOptional title for the build record.
requirementsNoCall-time external requirements ([{ name, predicate }]) every attempt is graded against, in the same ledger as script require(). Predicate shape: { metric, a?, b?, op, limit, tolerance?, density? }; operands: { kind: body | faces | edges | part, ref, query? }. A failing or not-evaluated requirement blocks the attempt even with no expert geometry.
stop_on_passNoStop after the first attempt that is functional and passes the quality gate. Default true.
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.
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_connectorsNoConnector refs to track across sampled poses.
output_record_pathNoOptional JSON path to write a Studio-compatible build record.
preserve_interfacesNoExternal mates, connector refs, part names, or behavioral interfaces the agent must preserve between attempts.
include_interferenceNoForwarded to review_cad. 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.
allow_review_warningsNoWarning diagnostic codes the original prompt explicitly allows. Other review warnings keep the loop iterating even if review_cad is functionally ok.
include_pose_envelopeNoForwarded to review_cad. Default true.
require_visual_reviewNoRequire screenshot-backed visual_review with structured checks before accepting an attempt. Default true; set false only for explicit non-visual batch checks.
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.
require_physical_acceptanceNoRequire declared physicalUseCase common-pose reachability and pose-bound quasi-static certification before accepting an attempt. Design-loop also enables this automatically when an attempt script calls physicalUseCase(...).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed29 schema fields changed
    • removedInput schema / properties / allowReviewWarnings
      Removed value: -{
      -  "description": "Warning diagnostic codes the original prompt explicitly allows. Other review warnings keep the loop iterating even if review_cad is functionally ok.",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • addedInput schema / properties / allow_review_warnings
      Added value: +{
      +  "description": "Warning diagnostic codes the original prompt explicitly allows. Other review warnings keep the loop iterating even if review_cad is functionally ok.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / autoRevise
      Removed value: -{
      -  "description": "When true (default), failing attempts with repairable feature diagnostics (boolean miss, oversized fillet, …) run bounded repair_script and attach revisionAssist.suggestedPatches / autoApplied.suggestedCode. Set false to skip the extra repair pass (hints-only). Does not autonomously rewrite full CAD models.",
      -  "type": "boolean"
      -}
    • addedInput schema / properties / auto_revise
      Added value: +{
      +  "description": "When true (default), failing attempts with repairable feature diagnostics (boolean miss, oversized fillet, …) run bounded repair_script and attach revisionAssist.suggestedPatches / autoApplied.suggestedCode. Set false to skip the extra repair pass (hints-only). Does not autonomously rewrite full CAD models.",
      +  "type": "boolean"
      +}
    • 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."
    • changedInput schema / properties / consensus / description
      Previous value: -"Best-of-N by geometric consensus. When true, attempts are N independent candidates for the SAME goal (not a repair sequence): all are reviewed (stopOnPass ignored), all scripts are executed, candidates without a valid solid are dropped, and the candidate whose geometry agrees most with the others (medoid by symmetric Chamfer distance, same model frame) is selected. Ties go to more gates passed, then the shorter script. Returns consensus { chosenIndex, chosenAttemptId, scores, distances, reason }; ok / finalAttemptId / nextActionPrompt describe the selected candidate. Default false."New value: +"Best-of-N by geometric consensus. When true, attempts are N independent candidates for the SAME goal (not a repair sequence): all are reviewed (stop_on_pass ignored), all scripts are executed, candidates without a valid solid are dropped, and the candidate whose geometry agrees most with the others (medoid by symmetric Chamfer distance, same model frame) is selected. Ties go to more gates passed, then the shorter script. Returns consensus { chosenIndex, chosenAttemptId, scores, distances, reason }; ok / finalAttemptId / nextActionPrompt describe the selected candidate. Default false."
    • removedInput schema / properties / epsilonMm3
      Removed value: -{
      -  "description": "Forwarded to review_cad.",
      -  "type": "number"
      -}
    • addedInput schema / properties / epsilon_mm3
      Added value: +{
      +  "description": "Forwarded to review_cad.",
      +  "type": "number"
      +}
    • removedInput schema / properties / includeInterference
      Removed value: -{
      -  "description": "Forwarded to review_cad. Default true.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / includePoseEnvelope
      Removed value: -{
      -  "description": "Forwarded to review_cad. Default true.",
      -  "type": "boolean"
      -}
    • addedInput schema / properties / include_interference
      Added value: +{
      +  "description": "Forwarded to review_cad. Default true.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / include_pose_envelope
      Added value: +{
      +  "description": "Forwarded to review_cad. 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 / outputRecordPath
      Removed value: -{
      -  "description": "Optional JSON path to write a Studio-compatible build record.",
      -  "type": "string"
      -}
    • addedInput schema / properties / output_record_path
      Added value: +{
      +  "description": "Optional JSON path to write a Studio-compatible build record.",
      +  "type": "string"
      +}
    • removedInput schema / properties / preserveInterfaces
      Removed value: -{
      -  "description": "External mates, connector refs, part names, or behavioral interfaces the agent must preserve between attempts.",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • addedInput schema / properties / preserve_interfaces
      Added value: +{
      +  "description": "External mates, connector refs, part names, or behavioral interfaces the agent must preserve between attempts.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / recordTitle
      Removed value: -{
      -  "description": "Optional title for the build record.",
      -  "type": "string"
      -}
    • addedInput schema / properties / record_title
      Added value: +{
      +  "description": "Optional title for the build record.",
      +  "type": "string"
      +}
    • removedInput schema / properties / requirePhysicalAcceptance
      Removed value: -{
      -  "description": "Require declared physicalUseCase common-pose reachability and pose-bound quasi-static certification before accepting an attempt. Design-loop also enables this automatically when an attempt script calls physicalUseCase(...).",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / requireVisualReview
      Removed value: -{
      -  "description": "Require screenshot-backed visualReview with structured checks before accepting an attempt. Default true; set false only for explicit non-visual batch checks.",
      -  "type": "boolean"
      -}
    • addedInput schema / properties / require_physical_acceptance
      Added value: +{
      +  "description": "Require declared physicalUseCase common-pose reachability and pose-bound quasi-static certification before accepting an attempt. Design-loop also enables this automatically when an attempt script calls physicalUseCase(...).",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / require_visual_review
      Added value: +{
      +  "description": "Require screenshot-backed visual_review with structured checks before accepting an attempt. Default true; set false only for explicit non-visual batch checks.",
      +  "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 / stopOnPass
      Removed value: -{
      -  "description": "Stop after the first attempt that is functional and passes the quality gate. Default true.",
      -  "type": "boolean"
      -}
    • addedInput schema / properties / stop_on_pass
      Added value: +{
      +  "description": "Stop after the first attempt that is functional and passes the quality gate. Default true.",
      +  "type": "boolean"
      +}
    • removedInput schema / properties / trackConnectors
      Removed value: -{
      -  "description": "Connector refs to track across sampled poses.",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • addedInput schema / properties / track_connectors
      Added value: +{
      +  "description": "Connector refs to track across sampled poses.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. 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."
  3. 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"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / requirements
      Added value: +{
      +  "description": "Call-time external requirements ([{ name, predicate }]) every attempt is graded against, in the same ledger as script require(). Predicate shape: { metric, a?, b?, op, limit, tolerance?, density? }; operands: { kind: body | faces | edges | part, ref, query? }. A failing or not-evaluated requirement blocks the attempt even with no expert geometry.",
      +  "items": {
      +    "additionalProperties": true,
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  5. Changed3 schema fields changed
    • removedInput schema / properties / bodyLikeness
      Removed value: -{
      -  "description": "When likenessProfile=automotive: body_bbox (required for gate), wheels, cabin_bbox, still_verdicts. Missing body_bbox fails with reference.likeness.gate-required. Stills may also come from visualReview.checks.",
      -  "properties": {
      -    "body_bbox": {
      -      "type": "object"
      -    },
      -    "cabin_bbox": {
      -      "type": "object"
      -    },
      -    "length_axis": {
      -      "enum": [
      -        "x",
      -        "y"
      -      ],
      -      "type": "string"
      -    },
      -    "require_stills": {
      -      "type": "boolean"
      -    },
      -    "still_verdicts": {
      -      "items": {
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "wheels": {
      -      "items": {
      -        "type": "object"
      -      },
      -      "type": "array"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedInput schema / properties / gripperAperture
      Removed value: -{
      -  "description": "Optional gripper aperture request forwarded to review_cad.",
      -  "type": "object"
      -}
    • removedInput schema / properties / likenessProfile
      Removed value: -{
      -  "description": "When 'automotive', require organic-body still checks on visualReview AND the body-likeness publish gate (pass bodyLikeness or stills on checks). Attempts stay non-ok until publishReady. Final open_in_studio must pass likeness_profile:'automotive' (server hard-gates success).",
      -  "enum": [
      -    "automotive"
      -  ],
      -  "type": "string"
      -}
  6. Changed2 schema fields changed
    • removedOutput schema / properties
      Removed value: -{
      -  "attempts": {
      -    "description": "Per-attempt review results (includes revisionAssist when failed).",
      -    "items": {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "convergence": {
      -    "additionalProperties": true,
      -    "description": "Present when trailing failures share a signature (escalate).",
      -    "type": "object"
      -  },
      -  "finalAttemptId": {
      -    "type": "string"
      -  },
      -  "goal": {
      -    "description": "Echoed design goal.",
      -    "type": "string"
      -  },
      -  "nextActionPrompt": {
      -    "type": "string"
      -  },
      -  "ok": {
      -    "type": "boolean"
      -  },
      -  "outputRecordPath": {
      -    "type": "string"
      -  },
      -  "record": {
      -    "additionalProperties": true,
      -    "description": "Studio-compatible build record (when requested).",
      -    "type": "object"
      -  },
      -  "recordUrl": {
      -    "type": "string"
      -  },
      -  "revisionAssist": {
      -    "additionalProperties": true,
      -    "description": "Structured revision assist from the last failing attempt: hints, suggestedPatches (AST diffs), optional autoApplied.suggestedCode when repair_script cleared a repairable diagnostic. Honest scope — not full autonomous CAD rewrite.",
      -    "type": "object"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "ok",
      -  "goal",
      -  "attempts"
      -]
  7. Changed1 schema field changed
    • addedInput schema / properties / consensus
      Added value: +{
      +  "description": "Best-of-N by geometric consensus. When true, attempts are N independent candidates for the SAME goal (not a repair sequence): all are reviewed (stopOnPass ignored), all scripts are executed, candidates without a valid solid are dropped, and the candidate whose geometry agrees most with the others (medoid by symmetric Chamfer distance, same model frame) is selected. Ties go to more gates passed, then the shorter script. Returns consensus { chosenIndex, chosenAttemptId, scores, distances, reason }; ok / finalAttemptId / nextActionPrompt describe the selected candidate. Default false.",
      +  "type": "boolean"
      +}
  8. Changed4 schema fields changed
    • addedInput schema / properties / autoRevise
      Added value: +{
      +  "description": "When true (default), failing attempts with repairable feature diagnostics (boolean miss, oversized fillet, …) run bounded repair_script and attach revisionAssist.suggestedPatches / autoApplied.suggestedCode. Set false to skip the extra repair pass (hints-only). Does not autonomously rewrite full CAD models.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / attempts / description
      Previous value: -"Per-attempt review results."New value: +"Per-attempt review results (includes revisionAssist when failed)."
    • addedOutput schema / properties / convergence
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Present when trailing failures share a signature (escalate).",
      +  "type": "object"
      +}
    • addedOutput schema / properties / revisionAssist
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Structured revision assist from the last failing attempt: hints, suggestedPatches (AST diffs), optional autoApplied.suggestedCode when repair_script cleared a repairable diagnostic. Honest scope — not full autonomous CAD rewrite.",
      +  "type": "object"
      +}
  9. Changed2 schema fields changed
    • addedInput schema / properties / bodyLikeness
      Added value: +{
      +  "description": "When likenessProfile=automotive: body_bbox (required for gate), wheels, cabin_bbox, still_verdicts. Missing body_bbox fails with reference.likeness.gate-required. Stills may also come from visualReview.checks.",
      +  "properties": {
      +    "body_bbox": {
      +      "type": "object"
      +    },
      +    "cabin_bbox": {
      +      "type": "object"
      +    },
      +    "length_axis": {
      +      "enum": [
      +        "x",
      +        "y"
      +      ],
      +      "type": "string"
      +    },
      +    "require_stills": {
      +      "type": "boolean"
      +    },
      +    "still_verdicts": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "wheels": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
    • changedInput schema / properties / likenessProfile / description
      Previous value: -"When 'automotive', also require organic-body still checks: side-body-over-wheels, side-cabin-aft, rear-haunch, ortho-proportions-vs-reference. Pair with verify({ check: 'body-likeness' }) before open_in_studio."New value: +"When 'automotive', require organic-body still checks on visualReview AND the body-likeness publish gate (pass bodyLikeness or stills on checks). Attempts stay non-ok until publishReady. Final open_in_studio must pass likeness_profile:'automotive' (server hard-gates success)."
  10. Changed1 schema field changed
    • addedInput schema / properties / likenessProfile
      Added value: +{
      +  "description": "When 'automotive', also require organic-body still checks: side-body-over-wheels, side-cabin-aft, rear-haunch, ortho-proportions-vs-reference. Pair with verify({ check: 'body-likeness' }) before open_in_studio.",
      +  "enum": [
      +    "automotive"
      +  ],
      +  "type": "string"
      +}
  11. Changed1 schema field changed
    • addedInput schema / properties / requirePhysicalAcceptance
      Added value: +{
      +  "description": "Require declared physicalUseCase common-pose reachability and pose-bound quasi-static certification before accepting an attempt. Design-loop also enables this automatically when an attempt script calls physicalUseCase(...).",
      +  "type": "boolean"
      +}
  12. Changed5 schema fields changed
    • changedInput schema / properties / attempts / description
      Previous value: -"Ordered design attempts. Each item is { id?, title?, file? or code?, visualReview? }. File attempts can be replayed by Studio build records."New value: +"Ordered design attempts. Each item is { id?, title?, file? OR code?, visualReview? } — provide file or code (at least one). File attempts can be replayed by Studio build records."
    • addedInput schema / properties / attempts / items / anyOf
      Added value: +[
      +  {
      +    "required": [
      +      "file"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "code"
      +    ]
      +  }
      +]
    • addedInput schema / properties / attempts / items / properties / code / description
      Added value: +"Inline kernelCAD script source. Provide file or code."
    • addedInput schema / properties / attempts / items / properties / file / description
      Added value: +"Path to a .kcad.ts script on disk. Provide file or code."
    • changedInput schema / properties / attempts / items / properties / visualReview / description
      Previous value: -"Evidence from the reviewing agent after rendering/opening screenshots. Accepted reviews must include screenshotPath, concrete findings, and all required checks passing."New value: +"Optional. Evidence from the reviewing agent after rendering/opening screenshots. Accepted reviews must include screenshotPath, concrete findings, and all required checks passing."
  13. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "attempts": {
      +      "description": "Per-attempt review results.",
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "finalAttemptId": {
      +      "type": "string"
      +    },
      +    "goal": {
      +      "description": "Echoed design goal.",
      +      "type": "string"
      +    },
      +    "nextActionPrompt": {
      +      "type": "string"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "outputRecordPath": {
      +      "type": "string"
      +    },
      +    "record": {
      +      "additionalProperties": true,
      +      "description": "Studio-compatible build record (when requested).",
      +      "type": "object"
      +    },
      +    "recordUrl": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "ok",
      +    "goal",
      +    "attempts"
      +  ],
      +  "type": "object"
      +}
  14. Changed1 schema field changed
    • changedInput schema / properties / attempts / items / properties / visualReview / properties / checks / description
      Previous value: -"Required checklist entries: main-object-count, proportions-match-reference, required-visible-features, no-stray-or-floating-geometry, canonical-views-physically-coherent."New value: +"Required checklist entries: main-object-count, proportions-match-reference, required-visible-features, no-stray-or-floating-geometry, attachment-plausibility, semantic-orientation-alignment, device-depth-and-construction, canonical-views-physically-coherent."
  15. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare a non-destructive, idempotent, non-open-world operation, and the description adds substantial loop behavior: review_cad on each attempt, continuing past unresolved warnings, stopping on ok or convergence.escalate, bounded auto-repair that does not rewrite full models, and optional build-record output. No behavior conflicts with the annotations.

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?

The description is front-loaded with usage and the preferred alternative, and every clause carries operational meaning for a 21-parameter tool. It is dense and somewhat jargon-heavy, especially the phrase 'Adam-level parts', but not padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex 21-parameter tool with an output schema, the description covers the workflow, alternatives, consensus selection, stopping rules, repair behavior, and optional build-record output. The schema supplies detailed parameter descriptions, so no critical context is missing.

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 95%, so the baseline is 3, but the description adds workflow meaning for key parameters: attempts as an ordered repair sequence versus consensus candidates, stop-on-pass behavior, and auto_revise repair hints. Most parameter detail still lives in the schema, so it does not reach 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: it runs a CAD design loop over attempt scripts, reviewing and revising until a stop condition. It explicitly distinguishes itself from one-shot evaluate_script and open_in_studio, and names concrete goal types such as enclosure, gearbox, robot-arm, and multi-body.

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

Usage Guidelines5/5

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

The opening sentence gives clear when-to-use conditions and states it is preferred over one-shot evaluate_script plus open_in_studio for complex parts. It also explains the consensus mode as a distinct usage pattern for choosing among N alternative candidates without a judge.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.