Skip to main content
Glama

Check effective print DPI

check_artwork_dpi
Read-onlyIdempotent

Check both axes of a DTF artwork at the intended print size using cropped pixel dimensions. Returns the limiting effective DPI, the target check, and maximum print dimensions at that target rounded down to 0.01 inch. The user should preserve the artwork aspect ratio.

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": {
      "pixel_width": "<pixel_width>",
      "pixel_height": "<pixel_height>",
      "width_in": "<width_in>",
      "height_in": "<height_in>"
    },
    "name": "check_artwork_dpi"
  }
}

Input Schema

NameRequiredDescriptionDefault
width_inYesFinished print width in inches, to two decimal places. Exclude transparent margins.
height_inYesFinished print height in inches, to two decimal places. Exclude transparent margins.
target_dpiNoMinimum resolution required on both axes. Use the printer’s requirement. Default 300 DPI.
pixel_widthYesWidth of the visible artwork in pixels after cropping transparent margins.
pixel_heightYesHeight of the visible artwork in pixels after cropping transparent margins.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / height_in / description
      Previous value: -"Inches, to two decimal places."New value: +"Finished print height in inches, to two decimal places. Exclude transparent margins."
    • addedInput schema / properties / pixel_height / description
      Added value: +"Height of the visible artwork in pixels after cropping transparent margins."
    • addedInput schema / properties / pixel_width / description
      Added value: +"Width of the visible artwork in pixels after cropping transparent margins."
    • addedInput schema / properties / target_dpi / description
      Added value: +"Minimum resolution required on both axes. Use the printer’s requirement. Default 300 DPI."
    • changedInput schema / properties / width_in / description
      Previous value: -"Inches, to two decimal places."New value: +"Finished print width in inches, to two decimal places. Exclude transparent margins."
  2. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world behavior, so the bar is lower. The description adds real value by disclosing the return payload — limiting effective DPI, the target check, and maximum print dimensions rounded down to 0.01 inch — which goes beyond the safety hints.

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?

Three tight sentences with the computation front-loaded and the return values immediately after. The trailing aspect-ratio sentence is the least load-bearing but still relevant to producing a valid result.

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 steps in to summarize what is returned, and for a five-parameter, fully documented read-only computation that is nearly sufficient. It leaves only mild ambiguity about what 'the target check' reports when DPI falls below target.

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 every parameter is already documented, including the cropping and target DPI guidance. The description reinforces the 'cropped pixel dimensions' and 'intended print size' semantics but adds no new format or constraint detail, matching the baseline for full coverage.

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?

States a specific verb and resource ('Check both axes of a DTF artwork at the intended print size') and specifies the input basis (cropped pixel dimensions). It is clear what the tool computes, though it does not reference the sibling estimate_dtf_order to differentiate scope.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to call this versus estimate_dtf_order, no stated prerequisites, and no note on what to do when the check fails. The only directive is 'The user should preserve the artwork aspect ratio,' which is a constraint rather than usage guidance.

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