Skip to main content
Glama
SolidworksMCP-python

SolidworksMCP-python

Add Drawing Note

add_note

Places a text note on the active drawing sheet at a specified millimetre position, useful for material, finish, or general annotations. Requires an open drawing and returns note extent and font size.

Instructions

Place a text note on the active drawing sheet at a position in millimetres.

Use it for general notes such as material or finish. For a title block, use generate_drawing_package, which fills one. Needs: an open, active drawing. Changes: adds a note to the sheet. Returns: data with text, position, positioned (whether the position was applied), extent_mm (the note's [left, bottom, right, top] on the sheet, read back) and font_size_points.

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": {
      "input_data": "<input_data>"
    },
    "name": "add_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
input_dataYesThe note. `text`, `position_x` and `position_y` (the note's top-left corner, mm from the sheet's lower-left corner) are required; `font_size` (points) has a default.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.2.0
    • changedInput schema / properties / input_data / description
      Previous value: -"The note. `text`, `position_x` and `position_y` (mm from\nthe sheet's lower-left corner) are required; `font_size` (points)\nhas a default."New value: +"The note. `text`, `position_x` and `position_y` (the\nnote's top-left corner, mm from the sheet's lower-left corner)\nare required; `font_size` (points) has a default."
    • changedInput schema / properties / input_data / properties / position_x / description
      Previous value: -"X position for note"New value: +"X of the note's top-left corner, mm from the sheet's left edge"
    • changedInput schema / properties / input_data / properties / position_y / description
      Previous value: -"Y position for note"New value: +"Y of the note's top-left corner, mm from the sheet's bottom edge"
  2. Changed1 schema field changedv2.0.0
    • changedInput schema / properties / input_data / description
      Previous value: -"The input data value."New value: +"The note. `text`, `position_x` and `position_y` (mm from\nthe sheet's lower-left corner) are required; `font_size` (points)\nhas a default."
  3. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, and the description reinforces the mutation ('adds a note to the sheet') plus the runtime prerequisite of an open active drawing, which annotations cannot express. It does not spell out that repeated calls will stack duplicate notes, but the non-idempotent hint covers that adequately.

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?

Front-loaded purpose followed by tight 'Needs / Changes / Returns' labels is easy to scan with no filler sentences. The main loss is the enumerated return fields, which duplicate the existing output schema and could have been omitted.

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?

Covers purpose, alternative routing, prerequisites and side effects for a single-parameter write tool, with an output schema handling return structure. Nothing an agent needs in order to invoke it correctly is missing.

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 every parameter including nested `text`, `position_x`, `position_y`, `font_size` and `leader_attachment` is already documented. The description only restates the millimetre positioning already in the schema; baseline 3 applies.

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?

States a specific verb and resource ('Place a text note on the active drawing sheet'), plus scope ('at a position in millimetres'). It also distinguishes itself from a sibling by naming `generate_drawing_package` for title-block fills, so an agent can choose without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit use case ('general notes such as material or finish'), an explicit redirect for a different need (title block → `generate_drawing_package`), and the precondition ('Needs: an open, active drawing'). When-to-use, when-not-to-use and alternatives are all present.

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