Skip to main content
Glama

Compare delivered DTF quotes

estimate_dtf_order
Read-onlyIdempotent

Estimate what it costs to print a direct-to-film (DTF) order on gang sheets. Compare up to three supplier rate cards, up to 40 transfers in total, and an optional quote for individual transfers. Requires actual rates and finished sizes. Returns checked layouts, shipping, per-design costs, and whether the cheapest price was proven. The review link shows the inputs, layout, and next steps for printing. Share it only with the intended recipients.

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": {
      "designs": "<designs>",
      "suppliers": "<suppliers>"
    },
    "name": "estimate_dtf_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
gap_inNoMinimum space between prints, in inches. Use the supplier requirement. Default 0.25.
designsYesFinished design dimensions. Up to 40 transfers across all designs.
edge_inNoUnused inset along each sheet edge, in inches. Use the supplier requirement. Default 0.25.
suppliersYesEach complete order uses one supplier.
allow_rotationNoWhether the layout may turn artwork 90 degrees. Use false when direction must be preserved. Default true.
individual_quote_centsNoOptional delivered quote for individually sized transfers, in whole US cents. Include shipping, omit tax, and use the same finished sizes and quantities.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed18 schema fields changed
    • addedInput schema / properties / allow_rotation / description
      Added value: +"Whether the layout may turn artwork 90 degrees. Use false when direction must be preserved. Default true."
    • addedInput schema / properties / designs / items / description
      Added value: +"One design at one finished size."
    • changedInput schema / properties / designs / items / 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."
    • changedInput schema / properties / designs / items / properties / label / description
      Previous value: -"A short label for the review. Omit private names."New value: +"A short design label for the layout and cost ledger, such as Back print."
    • addedInput schema / properties / designs / items / properties / quantity / description
      Added value: +"Number of copies of this design. Include any spares the customer wants printed."
    • changedInput schema / properties / designs / items / 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."
    • changedInput schema / properties / edge_in / description
      Previous value: -"Inches, to two decimal places."New value: +"Unused inset along each sheet edge, in inches. Use the supplier requirement. Default 0.25."
    • changedInput schema / properties / gap_in / description
      Previous value: -"Inches, to two decimal places."New value: +"Minimum space between prints, in inches. Use the supplier requirement. Default 0.25."
    • changedInput schema / properties / individual_quote_cents / description
      Previous value: -"Optional comparable delivered quote, before tax, for the same finished transfers."New value: +"Optional delivered quote for individually sized transfers, in whole US cents. Include shipping, omit tax, and use the same finished sizes and quantities."
    • addedInput schema / properties / suppliers / items / description
      Added value: +"The quoted rate card for one supplier."
    • changedInput schema / properties / suppliers / items / properties / free_shipping_at_cents / description
      Previous value: -"Qualifying sheet subtotal. Omit if unavailable."New value: +"Minimum sheet subtotal for free shipping, in whole US cents. The exact minimum qualifies. Omit if there is no threshold."
    • changedInput schema / properties / suppliers / items / properties / label / description
      Previous value: -"A short label for the review. Omit private names."New value: +"A short supplier label for the comparison, such as Shop A."
    • changedInput schema / properties / suppliers / items / properties / shipping_cents / description
      Previous value: -"Whole US cents. $12.50 is 1250."New value: +"Flat shipping charge for one complete order below any free-shipping minimum, in whole US cents. Use 0 for free shipping or pickup."
    • addedInput schema / properties / suppliers / items / properties / stocks / description
      Added value: +"One to four sheet sizes this supplier sells, with the quoted price for each."
    • addedInput schema / properties / suppliers / items / properties / stocks / items / description
      Added value: +"One purchasable sheet size from the rate card."
    • changedInput schema / properties / suppliers / items / properties / stocks / items / properties / height_in / description
      Previous value: -"Inches, to two decimal places."New value: +"Full stock length in inches, to two decimal places. The tool applies edge clearance."
    • changedInput schema / properties / suppliers / items / properties / stocks / items / properties / price_cents / description
      Previous value: -"Whole US cents. $12.50 is 1250."New value: +"Price of one sheet at this size before tax and shipping, in whole US cents. $12.50 is 1250."
    • changedInput schema / properties / suppliers / items / properties / stocks / items / properties / width_in / description
      Previous value: -"Inches, to two decimal places."New value: +"Full stock width in inches, to two decimal places. The tool applies edge clearance."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), but the description goes further by disclosing the outputs the calculation proves (layouts, shipping, per-design costs, whether the cheapest price was proven) and by warning that a shareable review link exposes the inputs and layout and should be limited to intended recipients. That privacy/sharing caveat is real behavioral context not available from structured fields.

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?

Four sentences, front-loaded with the core purpose before constraints, outputs, and the sharing caveat. Nearly every sentence earns its place; the closing sharing warning is slightly tangential to tool selection but is legitimate safety guidance.

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 carries the burden of describing returns and does so by naming layouts, shipping, per-design costs, and the cheapest-price proof flag. It leaves minor gaps, such as what happens when the cheapest price cannot be proven or how partial/unfittable layouts are reported.

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 schema already documents every parameter including units, defaults, and the tool-applied edge clearance. The description echoes the important bounds (three suppliers, 40 transfers, optional individual quote) but adds no formatting or interpretation detail beyond the schema, so baseline 3 applies.

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 opens with a concrete verb and resource: estimate the cost of printing a DTF order on gang sheets, then narrows it to comparing up to three supplier rate cards against an optional individual-transfer quote. That is specific enough to separate it from the only listed sibling, check_artwork_dpi, without needing to name it.

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 states the preconditions clearly — actual supplier rates, finished sizes, and supplier-specific gap and edge requirements — plus hard usage bounds (three suppliers, 40 transfers total). It stops short of naming an alternative tool or saying when not to use it, so it falls just below the top mark.

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