Skip to main content
Glama

Doctor Uzelkov CNC Node Reduction — prepare request

prepare_cnc_simplify
Read-only

Remove redundant CNC vertices using a millimeter tolerance for open paths and exact collinear cleanup for closed loops. Prepare a paid HTTP request (0.05 USDC on Base). This MCP tool does not perform analysis, sign or charge. Returns the canonical endpoint, supplied input and payment instructions. Up to 2,048 vertices total. Open endpoints are preserved. Closed loops lose only duplicates and straight-through points. Returns polylines, not G-code.

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": {
      "paths": "<paths>",
      "toleranceMm": "<toleranceMm>"
    },
    "name": "prepare_cnc_simplify"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYes
toleranceMmYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true and openWorldHint=false; the description goes well beyond them by disclosing that the tool prepares, but does not perform, a paid HTTP request costing 0.05 USDC on Base, does not sign or charge, and returns the canonical endpoint, supplied input, and payment instructions. It also documents the 2,048-vertex cap and the distinct reduction semantics for open endpoints (preserved) versus closed loops (duplicates and straight-through points removed). That is exactly the kind of behavioral context annotations cannot carry.

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 core operation is front-loaded in the first sentence, followed by payment, scope disclaimers, limits, and return shape in a tight sequence of short declarative sentences. No sentence is redundant; each one adds either the operation, the contract, or a constraint.

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?

With no output schema, the description correctly takes responsibility for describing the return value (endpoint, echoed input, payment instructions; polylines rather than G-code) and covers limits, payment, and reduction semantics. It is close to complete for an agent to call correctly, with the main residual gap being the shape and units expected inside the paths array.

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 0%, so the description must carry parameter meaning. It does clarify toleranceMm by tying it to open-path simplification and contrasting it with the exact collinear rule for closed loops, and it surfaces the 2,048-vertex total limit that constrains the paths array. It says nothing about the per-path object structure, the meaning of the closed flag, or coordinate units, leaving half the parameter space undocumented.

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 a precise operation: removing redundant CNC vertices with a millimeter tolerance for open paths and exact collinear cleanup for closed loops. That is far more specific than the tool name alone and an agent can tell what geometry transformation is being prepared. It stops short of naming a sibling such as prepare_duplicate_contours or prepare_cutting_paths to distinguish itself, which keeps it at 4 rather than 5.

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 implied by the operation description ('Remove redundant CNC vertices', 'Returns polylines, not G-code'), which signals this is a polyline-simplification step rather than a G-code or analysis step. However, there is no explicit statement of when to choose this over the many other prepare_* nodes, and no stated prerequisites beyond the implicit paid-request flow. Guidance exists but must be inferred.

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