Skip to main content
Glama
CLO Atelier

CLO Atelier

by benproj

Add an internal line or shape

clo_add_internal_shape

Draw internal lines or closed shapes like darts, fold lines, pocket placements, or cut-out guides inside an existing pattern piece, using the same coordinates as the outline.

Instructions

Draw an internal line or closed internal shape (dart, fold line, pocket placement, cut-out guide) inside an existing pattern piece.

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": {
      "pattern_index": "<pattern_index>",
      "points": "<points>"
    },
    "name": "clo_add_internal_shape"
  }
}

Input Schema

NameRequiredDescriptionDefault
closedNoJoin the last point back to the first (default false).
pointsYesVertices of the internal line, in the same coordinates as the pattern outline.
pattern_indexYesZero-based pattern index.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.3/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 and it says little beyond the purpose. It implies an additive mutation on existing geometry, but does not state whether the operation is undoable, what happens with an out-of-range pattern_index, whether the shape affects simulation or sewing, or what is returned.

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?

A single well-formed sentence with the action front-loaded and the scoping phrase at the end. Every clause earns its place by narrowing what counts as an internal shape.

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?

For a three-parameter, well-documented schema with no output schema, the description is adequate to identify the action but thin on consequences: nothing about the result of the call, error conditions, or interaction with the pattern's existing geometry. Given the tool mutates a pattern, a little more operational context would round it out.

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 100%, so points, x/y, vertex type, closed, and pattern_index are already fully documented, giving a baseline of 3. The description adds only indirect meaning — the use cases imply some shapes are closed (darts, pockets) and others open (fold lines) — without explaining the closed flag or coordinate reference itself.

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?

Uses a concrete verb ("Draw") with a precisely scoped resource ("internal line or closed internal shape") and pins it down with four real use cases (dart, fold line, pocket placement, cut-out guide) plus the constraint "inside an existing pattern piece". An agent can tell this creates geometry within a pattern rather than creating/editing a whole pattern, but no sibling is named explicitly, so it falls short of a 5.

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?

"inside an existing pattern piece" implies the prerequisite that a pattern must already exist and that this is the tool for interior markings rather than outer outlines. However, there is no explicit when-to-use/when-not and no pointer to alternatives such as clo_edit_pattern or clo_sew, so the routing guidance is only implied.

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