Skip to main content
Glama

Add Section View

add_section_view

Add a cross-section view when internal features make outline views ambiguous. Automatically detects hidden geometry, cuts through the feature, and places the section beside existing views.

Instructions

Add a cross-section view when the part has internal features the outline / hidden-line views convey ambiguously — a counterbore, a blind hole/bore, or a pocket. The need is judged automatically from the real solid (the same feature enumeration the manufacturability gate uses); the cut runs lengthwise through such a feature so its bore profile and depth read directly, and the view is placed in clear space beside the existing views.

auto (default True): add the section ONLY if the part actually has hidden internal geometry; otherwise return {added: False, recommended: False}. Set auto=False to force a section regardless. process: 'auto' (default) | 'prismatic' | 'turned' — how features are enumerated.

Returns {added, recommended, reasons, feature_ids, view?, normal?, origin?}. (drawing_gate also reports section_recommended so you can decide in advance.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
autoNo
nameNoSection
pageYes
symbolNoA
processNoauto

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false, so the description carries the burden. It explains that the view is added conditionally when auto=True, that the cut runs lengthwise through a feature, and the return structure. It does not contradict annotations; it enriches them with conditional behavior and output details.

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 logically structured: purpose and condition first, then parameter semantics, then return format. It is dense but without filler. The auto explanation is given in a dedicated paragraph, which is useful. It is slightly long but every sentence adds value, so it earns a 4.

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 tool's role in a drawing workflow, the description covers the core decision (when to add), the key parameters, the return shape, and a related tool (drawing_gate) for pre-decision. It does not mention prerequisites like an existing drawing page, but those may be inferred from the page parameter. Overall it is sufficiently complete for an agent to invoke correctly.

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 explains the auto and process parameters meaningfully, including their effect on behavior. However, it does not describe 'page', 'name', or 'symbol', though these are mostly self-evident. This partial coverage leaves some parameters undocumented, so the description does not fully compensate for the schema's silence.

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 ('Add'), resource ('cross-section view'), and a triggering condition ('when the part has internal features... convey ambiguously — a counterbore, a blind hole/bore, or a pocket'). It is clear and actionable. It does not explicitly differentiate from the sibling 'section_view', but the conditional trigger helps distinguish it from a generic section tool.

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?

It tells when to use the tool (when internal features are ambiguous) and describes the auto parameter that only adds the section if hidden geometry exists, otherwise returns a recommendation flag. It also references drawing_gate as a pre-check for section_recommended, giving a decision path. It does not name alternative tools, so it's not fully explicit on when not to use it, but the context is strong.

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