Skip to main content
Glama

Sheet Flange

sheet_flange

Bend a flange off a straight free edge of a sheet part, specifying angle, inner radius, direction, and length.

Instructions

Bend a flange off a free edge of a sheet part.

edge: a stable e_* tag from list_edges (or 'EdgeN'/int) on a STRAIGHT free edge of a flat region — a bend line is the intersection of two planes, so an arc cannot carry one and is rejected. angle_deg: the bend angle, i.e. the deviation from flat, so 90 is a right-angle flange. Must be in (0, 180]. inner_radius_mm: inside bend radius; defaults to the material thickness. direction: 'up' (toward the region's outward normal) or 'down'. length_from: what length_mm measures — the number most often misread on a sheet drawing. 'outer' (default) to the outside virtual apex, which is what a drawing dimension normally means; 'inner' to the inside apex; 'tangent' for the straight leg past the end of the bend. width_mm / offset_mm: narrow the flange to part of the picked edge. k_factor: pins K for THIS bend only. Leave it unset and the choice defers to sheet_unfold — the folded solid does not depend on K at all, only the flat pattern does.

Consumes the input handle (it is hidden, having become part of the result).

Returns {handle, name, feature, kind, volume, angle_deg, inner_radius_mm, leg_tangent_mm, length_from, direction, span_mm, thickness_mm}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
edgeYes
nameNoSheetFlange
handleYes
k_factorNo
width_mmNo
angle_degNo
directionNoup
length_mmYes
offset_mmNo
length_fromNoouter
feature_nameNo
inner_radius_mmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations indicate the tool is not read-only (readOnlyHint: false), which is consistent with bending. The description adds valuable behavioral detail: that the input handle is consumed (it becomes part of the result), and that k_factor affects only the flat pattern, not the folded solid. It also discloses the return payload. This goes beyond the annotation flags and gives the agent a concrete understanding of side effects.

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?

The description is extensive but well-structured, leading with the purpose and then systematically covering each parameter. While it is not terse, every sentence earns its place given the 12-parameter complexity. It is front-loaded with the core operation and progressively details nuances, making it reasonably concise for the information conveyed.

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?

Given the high parameter count and absence of an output schema, the description explains the return object completely. It also covers edge prerequisites, angle constraints, and the material-thickness default. It omits error scenarios or edge-case warnings beyond arc rejection, but the information is sufficient for an agent to call the tool correctly. A perfect score would require explicit error handling or preconditions, but this is well above the minimum viable.

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

Parameters5/5

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

The schema has 0% description coverage across 12 parameters, so the burden falls entirely on the tool description. The description explains every parameter with concrete semantics: edge (straight free edge, rejected arcs), angle_deg (deviation from flat), inner_radius_mm (defaults to material thickness), direction (up/down), length_from ('outer' vs 'inner' vs 'tangent' with drawing interpretation), width/offset (edge restriction), and k_factor (only affects flat pattern). This fully compensates for the schema's lack of descriptions.

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?

The description opens with 'Bend a flange off a free edge of a sheet part,' which clearly states the operation, resource, and scope. It explicitly mentions the requirement for a straight free edge and rejects arcs, distinguishing it from related operations like sheet_tab or sheet_hem without needing to name them.

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?

The description provides clear context for when to use this tool: on straight free edges of flat regions, and explicitly notes that arcs cannot carry a bend line. It also mentions that k_factor defers to sheet_unfold, implying a separation of concerns. However, it does not explicitly name alternative tools or state 'use this instead of X,' so it falls short of an explicit exclusion.

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

Deploy Server

Other Tools