Skip to main content
Glama

add_box

Create a solid box in Rhino by specifying length, width, and height with an optional center point; returns the new object ID for placement and editing.

Instructions

在 Rhino 场景中创建一个长方体(实体)。

size: [长, 宽, 高],例如 [100, 60, 40]。
center: 盒子的几何中心 [x, y, z]。不传时默认盒子底面落在 XY 平面(z=0)、
XY 中心在原点,即中心为 [0, 0, 高/2],盒子不会沉到地面以下;
只有明确想让盒子沉入地面以下时才显式传 center(例如 center=[0, 0, 0]
会让盒子一半在地面以下)。
返回新对象的 object_id。

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": {
      "size": "<size>"
    },
    "name": "add_box"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
sizeYes
centerNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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 burden well: it explains the default placement (bottom face at z=0, XY centered at origin), guarantees the box will not go below ground by default, and states the return value (new object's object_id). It does not mention units, validation errors, or whether an empty name gets a default.

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?

Front-loads the purpose, then documents each parameter in short labeled lines. The center explanation is a bit long but each clause conveys non-obvious default placement behavior, so little is wasted.

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 three-parameter creation tool with an output schema, the description covers the essential geometry semantics and the return value. The only gap is the undocumented name parameter, which is minor since it defaults to an empty string.

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 compensate. It does well for size (element order [length, width, height] with a concrete example) and center (format [x, y, z] plus default behavior), but the third parameter, name, is not mentioned at all.

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 and resource — '在 Rhino 场景中创建一个长方体(实体)' — and clarifies that the result is a solid, which distinguishes it from curve or surface creation.

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 conditional guidance for the center parameter: omit it to place the box on the XY plane, pass it explicitly only when the box should sink below the ground. It does not name alternatives, but the sibling names (add_cylinder, add_sphere) make the choice self-evident.

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