Skip to main content
Glama

Add Pocket To Part

add_pocket_to_part

Cuts a circular or rectangular blind pocket into the active part at specified coordinates and depth, modifying the existing document for follow-up machining.

Instructions

Cuts a circular or rectangular blind pocket into the currently active part, modifying that same document. Use for follow-up cut requests; do not call new_part first. Dimensions and depth are in mm.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "add_pocket_to_part"
  }
}

Input Schema

NameRequiredDescriptionDefault
xcNo
ycNo
depthNo
shapeNorectangle
widthNo
heightNo
plane_or_faceNoFront Plane

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden and does disclose key traits: the operation mutates the active document in place, produces a blind (not through) pocket, and works in millimeters. It omits what happens when no part is active, whether the cut is reversible/undoable, and any failure or error conditions for a destructive CAD operation.

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 the core action, followed by routing guidance and a units note; no filler. Slightly dense given how much parameter meaning is left unstated, but nothing is wasted.

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

Completeness3/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 values need not be explained, but for a document-mutating CAD tool with 7 undocumented parameters and zero annotations the description is only minimally sufficient. An agent still cannot infer coordinate/plane conventions or required preconditions (an open, active part) from the text.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 7 parameters, so the description must compensate and largely does not. It clarifies that dimensional values are in mm and that 'shape' selects circular versus rectangular, but xc/yc (position), width vs height semantics, and the meaning/scope of plane_or_face are left entirely to the bare schema.

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?

States a specific verb ('cuts') and resource ('circular or rectangular blind pocket') and names the target document ('currently active part'), so an agent knows it is a subtractive in-place feature rather than a new body. It distinguishes itself from new_part explicitly, though it never contrasts with the sibling add_hole_to_part, leaving the pocket-vs-hole boundary implicit.

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?

'Use for follow-up cut requests; do not call new_part first' gives both a positive trigger and an explicit exclusion, which is strong guidance for sequencing. It stops short of naming a full alternative set (e.g., when to prefer add_hole_to_part or add_boss_to_part).

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