Skip to main content
Glama
imnoo-team

Drawing Converter (Metric ⇄ Imperial)

Convert a drawing PDF between metric and imperial

convert_drawing_pdf
Idempotent

Convert technical drawing PDFs between metric and imperial units by stamping converted values over original callouts. Supports dimensions, tolerances, threads, and more while preserving layout.

Instructions

Produce a converted copy of a technical-drawing PDF with every recognised value stamped in place (white cover over the original callout, converted text in matching size/rotation) — dimensions, ± tolerances, fit classes, Ø/R callouts, threads. The input file is never modified. Without classifications, a heuristic converts unambiguous callouts plus (by default) bare numbers as lengths; for full control call extract_drawing_text first and pass per-token classifications. Requires a PDF with a text layer — scanned drawings need the web app (https://metric-to-imperial-converter.imnoo.com). Converted values are stamped over the original callouts. Verify safety-critical dimensions before manufacturing use.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo1-based page to convert (default 1); other pages pass through unchanged
overwriteNoallow replacing an existing output file
input_pathYespath to the source drawing PDF (read-only)
output_pathNowhere to write the converted PDF (default: next to the input as <name>.<target>.pdf)
bare_numbersNoheuristic mode only — 'convert' (default) treats bare numbers as lengths (year-like and id-like integers excluded); 'skip' converts only unambiguous callouts
source_systemNounit system of the source drawing (default auto-detect from its text)
target_systemNodefault: the opposite of the source system
classificationsNoauthoritative per-token classification: when provided, ONLY listed tokens (minus skips) are converted
Behavior4/5

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

The description confirms the input is never modified (consistent with destructiveHint=false) and notes that converted values are stamped over originals. It adds a safety warning about verifying critical dimensions, which provides context beyond what annotations convey about idempotency and non-destructiveness.

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?

The description is concise (~100 words), front-loaded with the core function, and every sentence contributes essential information (modes, prerequisites, limitations, safety warning). No redundant or filler content.

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?

Covers purpose, input/output, modes, prerequisites, and limitations. While no output schema exists, the description implies the output is a file at the specified path. Missing explicit return value details, but sufficient for a file-generation tool with high schema coverage.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so baseline is 3. The description adds value by explaining the interplay between heuristic and classification modes, linking to specific parameters (classifications, bare_numbers). It also describes default output path behavior, integrating parameter usage into an actionable workflow.

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 action ('produce a converted copy'), resource ('technical-drawing PDF'), and outcome ('every recognised value stamped in place'). It distinguishes from siblings by focusing on PDF conversion with stamping, while other tools handle individual values or text extraction.

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?

Explicitly states when to use heuristic mode vs. classification mode, prerequisites (PDF with text layer), and alternatives for scanned drawings (web app) or preparatory step (extract_drawing_text). This provides clear guidance on when and how to use the tool.

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/imnoo-team/drawing-converter-mcp'

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