Skip to main content
Glama

PlumbDraft US Imperial Floor Plan CAD, Blueprint PDF & DXF

sketch_to_floorplan

Convert a hand-drawn floor plan sketch or blueprint photo (base64 PNG/JPEG/WebP, max 8 MB) into a structured PlumbDraft FloorPlan JSON. Requires Bearer API key (pd_live_...).

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": {
      "imageBase64": "<imageBase64>"
    },
    "name": "sketch_to_floorplan"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional project name.
mimeTypeNoImage MIME type (image/png, image/jpeg, image/webp).
imageBase64YesBase64-encoded image or data URL (max 8 MB).
knownWidthFtNoOptional known overall width in feet for scale calibration.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It usefully discloses the Bearer API key requirement, accepted image formats, the 8 MB size limit, and that the output is structured JSON. However, it does not describe error behavior, rate limits, or what happens with malformed images.

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 definition is two compact sentences with no wasted wording. The core conversion purpose is front-loaded, followed by the authentication and size constraints.

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 four-parameter conversion tool with no annotations and no output schema, the description covers the important operational context: input type, supported formats, size limit, authentication, and output format. It is nearly complete, with only error and rate-limit behavior left unstated.

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?

Schema description coverage is 100%, so the input schema already documents all four parameters. The description adds useful format and size constraints for the image input, but it does not add meaning for name or knownWidthFt beyond what the schema provides.

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 uses a specific verb and resource: convert a hand-drawn floor plan sketch or blueprint photo into structured PlumbDraft FloorPlan JSON. The purpose is clear without opening the schema, though it does not explicitly distinguish this tool from sibling tools such as compile_floorplan_geometry or validate_clearance_ergonomics.

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?

Usage is implied by the input types: hand-drawn sketches or blueprint photos. There is no explicit when-to-use guidance, no when-not-to-use guidance, and no named alternative for other input formats or workflows.

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