Skip to main content
Glama

cad_activate_document

Activate an already-open CAD document by exact name so an agent can target the right drawing for a specific task without opening, closing, saving, or changing its entities.

Instructions

Activate an exactly identified already-open CAD document for an explicit task. Does not open, close, save or alter its entities.

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": {
      "document_name": "<document_name>"
    },
    "name": "cad_activate_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
document_nameYes
explicit_requestNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the key behavioral trait: it will not open, close, save, or alter entities, so it is effectively a non-mutating focus/switch operation. It omits what happens when the document is not open or not uniquely matched, and gives no indication of permissions or return behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the core action, followed immediately by the negative scope. No filler or redundant restatement of the tool name.

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?

The tool is simple (2 params, no output schema, no nested objects), and the description adequately conveys what activation does and does not do. It falls short on the unexplained explicit_request flag and on failure behavior for a non-open or ambiguous document.

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 define both parameters. "Exactly identified" hints that document_name requires an exact match, but the explicit_request boolean (default false) is never mentioned, leaving half the parameters without any semantic guidance.

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 pairs a specific verb ("Activate") with a specific resource ("an exactly identified already-open CAD document") and adds a scoping qualifier ("for an explicit task"). The second sentence implicitly separates it from cad_open_document, cad_close_document and cad_save_as by denying those actions, though no sibling is named directly.

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?

The preconditions ("already-open", "exactly identified") imply this is only for documents that exist in the session, which nudges an agent toward cad_open_document otherwise. However, no alternative is named and "for an explicit task" is too vague to act as a selection rule.

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