Skip to main content
Glama

boolean_difference

Subtract entities in subtract_ids from object_id to cut holes or grooves in Rhino; deletes inputs and returns new object IDs.

Instructions

布尔差集:从 object_id 实体上减去 subtract_ids 里的实体(打孔/挖槽用这个)。

输入对象都会被删除,返回新对象 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": {
      "object_id": "<object_id>",
      "subtract_ids": "<subtract_ids>"
    },
    "name": "boolean_difference"
  }
}

Input Schema

NameRequiredDescriptionDefault
object_idYes
subtract_idsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it discloses the critical trait that the input objects are deleted by the operation. It also notes a new object id list is returned, which signals a new result object rather than in-place mutation. It stops short of permission requirements or failure behavior, but the destructive consequence is clearly stated.

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?

Two short lines, operation defined first and the destructive side effect second. Every sentence carries information and nothing is padded.

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?

An output schema exists, so return-value detail is not required, and the description nonetheless notes a new object id list comes back. For a two-parameter destructive geometry tool the essentials are covered; only edge cases such as invalid or empty subtract sets are unaddressed.

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

Parameters4/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, and it does: object_id is identified as the target entity and subtract_ids as the entities removed from it, including that the array can hold multiple. It adds relational meaning the bare schema lacks, though it doesn't constrain array size or note both inputs must be solid bodies.

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 states a specific verb and resource — subtract the entities in subtract_ids from the object_id entity — and names the boolean-difference operation explicitly. An agent can tell this is the subtraction counterpart to boolean_union by the operation described, though the sibling is never named outright.

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?

It gives a concrete use case ('use this for drilling holes/grooving'), which sets context for when to reach for it. There is no explicit when-not guidance and no pointer to boolean_union as the alternative for additive operations, so routing is only implied.

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