Skip to main content
Glama
cadlens-co

cadlens-mcp

Official
by cadlens-co

cadlens_parse_file

Parses local CAD files (DWG/DXF/DWF/DGN/PDF) up to 100 MB, returning a summary with preview image. Polls until completion for immediate results.

Instructions

Parse a local CAD file (DWG/DXF/DWF/DWFx/DGN-V7/PDF, max 100 MB). Polls until the job completes or 5 minutes elapse. Returns a summary including the preview image URL. Use cadlens_get_result with the returned job_id to fetch detailed entity data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute path to the file on the local filesystem.
webhook_urlNoOptional external webhook URL for state-change notifications. Independent of the auto-registered local receiver.
notify_emailNoOptional email address CADLens notifies with a job link when the parse finishes unattended.
Behavior4/5

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

No annotations are provided, so the description carries the behavioral burden. It discloses that the tool polls until completion or 5 minutes elapse, and that it returns a summary including a preview image URL. This gives a clear operational model, though it doesn't detail failure modes or timeout behavior outcomes.

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?

Three straightforward sentences cover formats, size limit, execution behavior, return value, and next-step tool. Every sentence earns its place with no redundancy or filler.

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

Completeness4/5

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

With no output schema, the description explains the return summary and preview URL, and points to cadlens_get_result for detailed data. The overall workflow is sufficiently sketched, though it omits explicit mention of job status fields or error handling.

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?

The schema already covers all three parameters at 100% coverage, so the description adds no new parameter syntax or format details. It does contextualize the returned job_id as the input for cadlens_get_result, but that is not parameter-specific.

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?

The description clearly states the tool parses local CAD files, lists supported formats (DWG/DXF/DWF/DWFx/DGN-V7/PDF), and specifies a 100 MB limit. The word 'local' distinguishes it from the sibling cadlens_parse_url, making the resource and scope unambiguous.

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

Usage Guidelines4/5

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

The description implies use for local files vs. URLs (via 'local') and explicitly directs users to call cadlens_get_result with the returned job_id for detailed entity data. It provides a clear next step but does not explicitly contrast with cadlens_parse_url or list disallowed scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cadlens-co/cadlens-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server