Skip to main content
Glama

unmake file tools

Photo to DXF at true size (outline, foam insert, Gridfinity, shadow board)

photo_to_dxf
Read-onlyIdempotent

Photo to DXF at true size (outline, foam insert, Gridfinity, shadow board). Traces the objects in a photo taken from above on an A4/Letter sheet, next to a bank card or on our marker sheet, at true size, and returns the outlines as DXF (mm) and SVG, optionally laid out as a foam insert, Gridfinity bin or shadow board; every size carries its stated scale error. Same engine as the photo to DXF page. Use when: An agent has a photo of a tool, gasket or part on a sheet and needs its outline as DXF/SVG for cutting or CAD. Not for: Parts thicker than about 10% of the camera height, objects that blend into the background, 3D shapes. File types: jpg, jpeg, png, webp. Max 20 MB.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "photo_to_dxf"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsNoTool options, if any (see the tool description).
file_urlNoPublic https URL of the file (preferred).
filenameNoFile name with its extension, e.g. part.step.
file_base64NoThe file as base64, for small files without a URL (give filename too).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the safe read-only profile, but the description adds substantial behavioral context: true-size tracing, stated scale error, DXF/SVG outputs, optional foam insert/Gridfinity/shadow board layouts, and input limitations. This goes well beyond what the annotations provide.

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?

The description is front-loaded and information-dense, covering purpose, usage, constraints, and output in a compact space. There is minor redundancy in repeating the title phrase and in the 'Same engine as the photo to DXF page' sentence, which adds little for an agent.

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?

For a photo-processing tool with no output schema, the description covers inputs, outputs, limits, and exclusions well enough to call correctly. The remaining gap is that the nested options parameter is only loosely explained, so selecting specific layouts is not fully documented.

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 coverage is 100%, so the baseline is 3. The description adds useful meaning by specifying accepted file types, a 20 MB maximum, photo capture requirements, and the possible layout options, though it does not explain the exact keys or values accepted by the options object.

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 states a specific verb and resource: it traces objects in a photo and returns outlines as DXF (mm) and SVG. It also distinguishes the tool from nearby siblings like photo_measure and photo_rectify by emphasizing true-size outline extraction and CAD-ready output.

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?

It gives explicit 'Use when' and 'Not for' conditions, plus file types and a 20 MB limit. The main gap is that it does not name sibling alternatives such as photo_measure or photo_rectify, so the agent must infer the alternative from the exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources