Skip to main content
Glama

TrueGuard CAD Manifold Certifier

certify_and_repair_cad

Read-onlyIdempotent

PAID ($0.03 x402): Snap gaps, heal bowties via make_valid, emit R2010 mm CUT_OUTLINE DXF + SVG, quoting metrics, and Ed25519 receipt.

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": "certify_and_repair_cad"
  }
}

Input Schema

NameRequiredDescriptionDefault
dxf_textNoRaw ASCII DXF content.
svg_textNoRaw SVG XML content.
dxf_base64NoBase64-encoded DXF bytes.
polygons_mmNo2D polygon vertex rings [[[x,y],...]] in mm.
kerf_offset_mmNoOptional laser/waterjet kerf offset in mm (default 0).
snap_tolerance_mmNoEndpoint micro-gap snap tolerance in mm (default 0.05).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already cover the safety profile (readOnlyHint=true, idempotentHint=true, destructiveHint=false), and the description adds genuinely new behavior: a $0.03 x402 charge, a fixed output standard (R2010 mm CUT_OUTLINE DXF + SVG), metrics quoting, and an Ed25519 receipt. It does not disclose what the repair does to geometry when make_valid alters shapes, what happens on invalid input, or whether the charge applies on failure; the pay-per-call note also sits somewhat uneasily against a declared non-destructive read-only profile.

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?

It is a single front-loaded sentence with no filler, and leading with 'PAID ($0.03 x402)' is the right prioritization. However, it is a comma-spliced run-on dense with unexplained jargon ('bowties', 'quoting metrics'), which costs readability without saving much length.

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?

Given six parameters with none required, the caller can pass DXF text, SVG XML, base64 DXF, or raw polygon rings, yet the description never signals these alternative input modes or that at least one is needed. It does cover the outputs it returns (DXF, SVG, metrics, receipt) in lieu of an output schema, but leaves failure behavior and return structure unspecified.

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 every parameter including kerf_offset_mm and snap_tolerance_mm is already documented in the schema, and the baseline is 3. The description adds only indirect hints ('snap gaps', 'mm') and does not explain the mutually exclusive input modes or the defaults that the schema carries.

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 names concrete operations and outputs: snapping endpoint gaps, healing bowties via make_valid, emitting R2010 mm CUT_OUTLINE DXF + SVG with metrics and an Ed25519 receipt. That is specific enough to distinguish it from a plain inspector or pattern generator, but it never states the resource it operates on (CAD geometry supplied as DXF/SVG/polygons) nor explicitly contrasts with the sibling tools.

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 guidance: no indication that this is the tool for broken/self-intersecting geometry versus inspect_cad_constraints for auditing, and no stated prerequisites despite the tool being paid. An agent must infer from the name alone that repair comes before or after generation.

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.

Resources