Skip to main content
Glama
Shapr3D Native MCP

Shapr3D Native MCP

by 21Suspect

native_create_variable

Create a native length, angle, or number variable with units for parametric Shapr3D modeling and scripted edits.

Instructions

Create a native length, angle, or number variable. Include units, e.g. 3 mm or 12 deg. Evaluated lengths are meters and angles are radians.

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": {
      "name": "<name>",
      "expression": "<expression>"
    },
    "name": "native_create_variable"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNolength
nameYes
expressionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden of disclosing behavior, and it does add real value: it requires an expression with explicit units and states that lengths evaluate to meters and angles to radians. It still does not say what the tool returns, how name conflicts are handled, or whether the variable persists, and it does not describe what a "number" variable means in unit terms; these are notable gaps for a mutation tool that has no annotations.

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?

It is three short sentences that are front-loaded with the core action, and each sentence adds a distinct fact: purpose, input format, and evaluation units. There is no filler.

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?

Given a three-parameter tool, no annotations, and no output schema, the description still needed to states the tool's purpose, its input syntax, and its unit semantics, which together are enough for an agent to construct a valid call. The remaining gap is higher-level routing guidance against the near-identical sibling tool.

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 supply the parameter meaning, and it partially does: it defines the expected format for "expression" ("3 mm", "12 deg") and its evaluation units, and implies that "kind" accepts length, angle, or number. "name" and the default value of kind (length) are not explained, and the allowed kind values are not given as an explicit list.

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 gives a specific verb and resource: "Create a native length, angle, or number variable." This tells an agent exactly what gets produced, but it never distinguishes itself from the sibling native_create_length_variable, which looks like it overlaps for the length case, so the agent cannot decide between the two from the text alone.

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?

The description says nothing about when to use this tool rather than native_create_length_variable or native_set_variable, and gives no prerequisites or exclusions. The only guidance is implicit, from the fact that the tool handles three variable kinds, and from the instruction to include units.

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