Skip to main content
Glama
znk-mcp

znk-mcp

znk_create

Create analytic solid primitives—box, cylinder, sphere, cone, or torus—in ZNKernel-II, returning kernel measurements, optional tessellation stats, and a replayable recipe for chaining.

Instructions

Create one analytic solid in ZNKernel-II. primitive = box | cylinder | sphere | cone | torus. params: box {lo:[x,y,z],hi:[x,y,z]}; cylinder {center,axis,radius,height}; sphere {center,radius}; cone {base_center,axis,base_radius,height}; torus {center,axis,major_radius,minor_radius}. Units are model units (mm by convention). Returns kernel measurements, a tessellation summary and a replayable recipe for chaining. Set tessellate=false to skip the mesh summary.

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": {
      "primitive": "<primitive>",
      "params": "<params>"
    },
    "name": "znk_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYesprimitive parameters
primitiveYessolid primitive kind
tessellateNoalso tessellate and report mesh stats (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.1/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 a good job: it discloses the return payload (kernel measurements, tessellation summary, replayable recipe for chaining) and the unit convention (model units, mm by convention). It stops short of saying whether the solid persists, how it is identified afterward, or what happens on invalid params.

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?

Front-loaded with purpose, then a compact per-primitive field map, then return and tessellate notes in three tight sentences. No filler; every clause either constrains params or sets expectations for the response.

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?

For a mutation tool with no annotations and no output schema, the description covers inputs, units, and return contents well enough to invoke it correctly. The remaining gap is lifecycle behavior after creation (identity, persistence, error cases), which matters for chaining but is not stated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema only describes params as a generic open object, so the description supplies the critical missing meaning: the exact field layout for each of the five primitives (e.g. box {lo,hi}; torus {center,axis,major_radius,minor_radius}). It also explains units and what tessellate controls, which the 100% schema coverage alone would not convey.

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 opens with a specific verb and resource: 'Create one analytic solid in ZNKernel-II,' and enumerates the five primitive kinds, so an agent knows exactly what it produces. It does not distinguish itself explicitly from siblings like znk_boolean or znk_sketch_solve, but the scope ('one analytic solid') is narrow enough to be recognizable.

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 only implied: the primitive list and 'Set tessellate=false to skip the mesh summary' show how to call it, but there is no statement of when to use this versus znk_boolean or znk_sketch_solve, and no prerequisites or exclusions. The agent must infer the context from the tool name and sibling names.

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