Skip to main content
Glama
znk-mcp

znk-mcp

znk_describe

Measures an existing solid from a ZNKernel recipe—volume, surface area, bounding box, centroid, B-rep topology counts, watertightness—and optionally reports mesh triangle count and watertightness.

Instructions

Measure an existing solid: volume, surface area, bounding box, centroid, B-rep topology counts (vertices/edges/coedges/loops/faces/shells, Euler characteristic), closed/watertight flag and volume_source (analytic | approximated | open_shell). Set tessellate=true to add triangle count and mesh watertightness. Pass the recipe returned by znk_create / znk_boolean / znk_import.

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": {
      "solid": "<solid>"
    },
    "name": "znk_describe"
  }
}

Input Schema

NameRequiredDescriptionDefault
solidYessolid recipe or previous tool result
tessellateNoalso tessellate and report mesh stats (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations and no output schema, this description carries the full burden and does so well: it lists every returned measurement and decodes volume_source values (analytic | approximated | open_shell), signaling when a closed volume is not available. It never explicitly states the operation is read-only/non-mutating or that it fails on open shells, which keeps it below a 5.

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 the core action and the measured quantities, then the optional tessellation flag, then the input provenance requirement. Dense but zero filler — every clause either names a return value or a calling condition.

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?

Because there is no output schema, the description must enumerate return values, and it does so comprehensively, including the edge-case volume_source flag. Minor gaps remain: no stated units, tolerance/precision, or failure behavior when the solid is not closed or the recipe is invalid.

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 coverage is 100%, so both parameters are already documented in the schema, including tessellate's default and effect. The description's only added value is provenance for `solid` (pass the recipe from znk_create / znk_boolean / znk_import), which mirrors the schema's "solid recipe or previous tool result" note. Baseline 3 applies.

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+resource ("Measure an existing solid") and enumerates exactly what is measured: volume, surface area, bounding box, centroid, B-rep topology counts, watertight flag, volume_source. It also implicitly distinguishes itself from znk_create / znk_boolean / znk_import by naming them as producers of the recipe this tool consumes.

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

Usage Guidelines4/5

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

Gives clear context: use it on an existing solid, and feed it the recipe returned by znk_create, znk_boolean, or znk_import, plus the conditional "Set tessellate=true to add triangle count and mesh watertightness." It stops short of explicit exclusions or pointing to alternatives for overlapping queries (e.g. znk_topology).

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