Skip to main content
Glama
Shapr3D Native MCP

Shapr3D Native MCP

by 21Suspect

native_create_length_variable

Create a native Shapr3D length variable from a name and expression so you can drive parametric models; Shapr3D expression validation applies.

Instructions

Create a native Shapr3D length variable, such as rotor_thickness = 3 mm. Normal Shapr3D expression validation applies.

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_length_variable"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
expressionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses only that 'normal Shapr3D expression validation applies,' which hints at error behavior, but says nothing about whether an existing variable with the same name is overwritten, what result is returned, or what project context is needed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with purpose and followed by the example, with no filler. The validation sentence is slightly hand-wavy ('normal ... applies') but still carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a creation tool with no annotations, no output schema, and no parameter descriptions, the description is thin: it omits project prerequisites, conflict/overwrite behavior, and the returned value (e.g., variable id or handle) that an agent would need to chain follow-up calls such as native_set_variable.

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 0%, so the description must compensate. The example 'rotor_thickness = 3 mm' implicitly maps name to the identifier and expression to a unit-bearing value, which is genuinely helpful, but it says nothing about naming rules, uniqueness, or whether the expression must resolve to a length.

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?

A specific verb plus a specific resource ('Create a native Shapr3D length variable') with a concrete example (rotor_thickness = 3 mm) makes the intent unambiguous. It does not, however, distinguish this from the sibling native_create_variable or explain what makes a variable a 'length' variable, which keeps it below the top mark.

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 guidance on when to call this versus native_create_variable or native_set_variable, and no mention of prerequisites (e.g., whether an active project is required). The agent must infer usage purely from the phrase 'length variable'.

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