Skip to main content
Glama

cad_new_document

Creates and binds a separate CAD drawing for an explicit new-document task, preserving existing documents and optionally using an absolute local DWT template.

Instructions

Create and bind a separate CAD drawing for an explicit new-document task. Preserve existing documents; require live writes. Optional template is an absolute local DWT.

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": {
      "operation_id": "<operation_id>"
    },
    "name": "cad_new_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitsNo
templateNo
operation_idYes
explicit_requestNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the whole burden; it does disclose meaningful traits: existing documents are preserved, live writes are required (a connection/session prerequisite), and the template must be an absolute local DWT. It does not say whether the new drawing becomes active, what happens on failure, or any auth/permission requirements, so mutation behavior remains partly opaque.

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?

Three short sentences with the core action front-loaded and no filler; the template format note earns its place. Slightly telegraphic phrasing ('require live writes') costs a bit of clarity but nothing is wasted.

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 four-parameter mutation tool with no annotations and no output schema, the description covers the destructive/protective posture and one parameter, but leaves the other three parameters and the post-call state (active document, return value) unexplained. Adequate but with clear gaps.

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

Parameters2/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 for all four parameters. It only explains 'template' (absolute local DWT); 'units', 'operation_id', and 'explicit_request' get no meaning at all, even though 'explicit_request' plainly relates to the stated 'explicit new-document task' premise.

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?

States a specific verb and resource: 'Create and bind a separate CAD drawing', with the scope qualifier 'for an explicit new-document task'. That distinguishes it from cad_open_document by implying creation of a new file rather than opening an existing one, though it never names that sibling explicitly.

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?

'For an explicit new-document task' implies when to use it and 'Preserve existing documents' hints at what it will not do, but there is no explicit when-not guidance and no named alternative (e.g., cad_open_document for existing files). Usage is inferable rather than stated.

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