Skip to main content
Glama
inventor-mcp-server

inventor-mcp-server

create_drawing

Creates a 2D Inventor drawing from the active part or assembly and exports it to PDF with views, dimensions, title block, parts list, balloons, sections, details, and flat patterns.

Instructions

2D drawing of the active part or assembly (saved to disk) → PDF for the shop floor. A base view, projected views around it, overall dimensions on the base view (between its outermost straight edges — check them on assemblies), the model dimensions Inventor can retrieve, and the template's title block (filled from properties()). Assemblies: a parts list and balloons. Any model: a section and a detail view. Flat patterns: direction, angle and radius on every bend line, and a table of the bends. An annotation that fails is named in the answer; the rest of the drawing is still made. Read the PDF back to check the layout.

Args: pdf_path: Output .pdf. views: First is the base view (front/top/right/left/back/bottom); the rest are projected from it: top (placed below), right (beside), iso (shaded, half scale). template: Drawing template name (ISO, DIN, ANSI (mm) …) or a full .idw path. scale: 0 = largest standard scale that fits; or e.g. 0.2 for 1:5. flat: Sheet metal part: draw the flat pattern (one view). drawing_path: Also keep the drawing as .idw / .dwg (otherwise it is closed). parts_list: Assembly: the parts list (first-level components: item, quantity, part number, description — fill those with edit_properties) on the title block. balloons: Assembly: an item balloon for each different first-level component, on the iso view if there is one, else on the base view. section: "vertical" or "horizontal": a full section A-A through the middle of the base view; "vertical:12.5" cuts 12.5 mm (model) right of the middle, "horizontal:-8" 8 mm below it. A vertical section takes the place of the "right" view and a horizontal one of "top" — leave that view out of views. detail: [x, y, z, radius] in model mm: an enlarged detail B of the base view around that point (a small hole pattern, a corner relief). bend_notes: With flat: the bend notes and the bend table (default on).

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": {
      "pdf_path": "<pdf_path>"
    },
    "name": "create_drawing"
  }
}

Input Schema

NameRequiredDescriptionDefault
flatNo
scaleNo
viewsNofront,top,right,iso
detailNo
sectionNo
balloonsNo
instanceNoWhich connected Inventor to use (list_instances). Leave empty when only one is connected.
pdf_pathYes
templateNoISO
bend_notesNo
parts_listNo
drawing_pathNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv1.1.0
    • addedInput schema / properties / balloons
      Added value: +{
      +  "default": false,
      +  "title": "Balloons",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / bend_notes
      Added value: +{
      +  "default": true,
      +  "title": "Bend Notes",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / detail
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "number"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Detail"
      +}
    • addedInput schema / properties / parts_list
      Added value: +{
      +  "default": false,
      +  "title": "Parts List",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / section
      Added value: +{
      +  "default": "",
      +  "title": "Section",
      +  "type": "string"
      +}
  2. Addedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and mostly succeeds: it discloses that output goes to disk, that the drawing is closed unless drawing_path is given, that failed annotations are reported by name while the rest of the drawing is still produced, and that overall dimensions on assemblies should be checked. It does not state permission/connection prerequisites or whether the source model is modified, which keeps it short of a 5.

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 purpose is front-loaded in the first sentence and the body is organized as prose summary plus an Args list, so it is navigable despite its length. Some phrasing is terse to the point of opacity ("the template's title block (filled from properties())", "check them on assemblies"), but no sentence is pure filler.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex 12-parameter generation tool, the definition covers the generation scope, every argument, partial-failure behavior, and a verification step. An output schema exists, so the description is not obliged to spell out return values, and it is complete enough for an agent to call this correctly on parts, assemblies, and sheet metal.

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?

Schema description coverage is only 8%, so the description must compensate and it does: nearly every one of the 12 parameters gets substantive meaning, including view ordering and placement, scale semantics (0 = largest standard fit, 0.2 = 1:5), section offset syntax like "vertical:12.5", and detail's [x, y, z, radius] model-mm format. Only `instance` is left to the schema, which already documents it against list_instances.

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 opening line states a specific verb and resource — a 2D drawing of the active part/assembly saved as a PDF for the shop floor — and the following lines enumerate exactly what is generated (base view, projected views, dimensions, title block, parts list, bend tables). It never names a sibling tool, so the agent has a crisp purpose but no explicit differentiation from export_document or create_document.

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?

Usage context is implied rather than stated: it is for producing a shop-floor PDF, and there is operational advice such as leaving a view out of `views` when a section replaces it, and reading the PDF back to check layout. There is no explicit when-to-use/when-not guidance and no named alternative for getting geometry out of Inventor instead of a drawing.

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