Skip to main content
Glama
dsh18235538266-crypto

onshape-mcp-codex

load_local_image

Load a PNG image from a local file path into the image cache, enabling further cropping at native resolution.

Instructions

Read a PNG from disk (e.g. the brief's reference drawing) into the image cache so you can crop_image into it at native resolution. Returns image_id + dimensions. Without this, the reference image lives only in the prompt as inline base64 — no way to zoom into a dimension callout. Use this ONCE per brief on the reference path you were given, then crop_image to read small text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
imagePathYesFilesystem path to a PNG readable by the MCP server.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It clearly explains that the image is loaded into an image cache, retains native resolution, and returns image_id plus dimensions. It could mention what happens on repeated loads or file-not-found behavior, but the core behavior is well described.

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 compact and front-loaded with the essential action, then explains the rationale and the exact usage sequence. Every sentence contributes value, and there is no redundant or vague wording.

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

Completeness5/5

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

For a simple one-parameter tool with no output schema, the description provides everything needed: what it does, why it is necessary, what it returns, and how to proceed after calling it. The guidance about using it once per brief and then cropping makes the tool's role in the overall workflow complete.

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 fully describes the single parameter imagePath as a filesystem path to a PNG. The description adds useful context about the reference drawing and native resolution, but it does not fundamentally extend the parameter semantics beyond what the schema states, so the baseline of 3 is appropriate.

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: 'Read a PNG from disk... into the image cache' and explicitly ties the tool to downstream cropping with crop_image. It clearly distinguishes this tool from the many sibling tools by explaining its unique role of loading local images for caching.

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?

The description gives explicit usage direction: 'Use this ONCE per brief on the reference path you were given, then crop_image to read small text.' It also explains the problem it solves (inline base64 prevents zooming) and the correct sequence of operations, which leaves little ambiguity about when to use this tool versus alternatives.

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