Skip to main content
Glama

cad_preview

Export a native model-space WMF/BMP and a readable PNG with verified coordinate mapping for CAD previews; requires a current token and a new absolute destination.

Instructions

Export a native model-space WMF/BMP and a readable PNG using verified coordinate mapping. Requires current token and a new absolute destination. No desktop capture, drawing save or entity changes.

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>",
      "document_token": "<document_token>",
      "path": "<path>"
    },
    "name": "cad_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
render_pngNo
operation_idYes
document_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden. It usefully discloses that entity and drawing state are untouched and that a verified coordinate mapping is used, which is meaningful behavioral context. It omits what happens at the destination path (overwrite behavior, whether the directory must exist), what a partial failure looks like, and what the tool returns, leaving mutations of the filesystem uncharacterized.

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 compact sentences, front-loaded with the core action, then requirements, then exclusions. Some phrasing is compressed to the point of being cryptic ('verified coordinate mapping', 'readable PNG'), but there is no filler.

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

Completeness2/5

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

The tool has no annotations, no output schema, and zero schema description coverage, so the description is the only source of guidance — yet it leaves two of four parameters unexplained and says nothing about the written files or return value. For a tool that produces artifacts at an absolute path, that is an under-specified definition.

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 supply all four parameters' meaning. It partially covers document_token ('current token') and path ('new absolute destination'), but never explains operation_id, and the render_png flag is only hinted at by the WMF/BMP-vs-PNG phrasing without clarifying what render_png=false actually suppresses.

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 gives a specific verb plus resource: export a model-space WMF/BMP plus a PNG preview. That is far more informative than the bare name 'cad_preview'. It does not explicitly distinguish itself from look-alike siblings such as cad_native_correspondence_preview, cad_presentation_snapshot or workbench_export_pdf, so it stops short of a 5.

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?

Prerequisites are stated ('requires current token and a new absolute destination') and three exclusions are listed (no desktop capture, no drawing save, no entity changes), which implicitly tells the agent this is a non-destructive preview export. However, there is no explicit when-to-use routing against the many sibling preview/export tools, and no statement of when this tool should be avoided.

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