Skip to main content
Glama

Quote Prints

quote_prints
Destructive

Save a quote for owned photos and a US address with buyer consent. Use productId from list_products. Single-image items use photoId; multi-image items use ordered photoIds. For calendars include startYear/startMonth and upload cover/month photos only; the service generates grids. For compositions upload separate slot images. Quantity counts complete products. Returned totals include shipping, tax and any validated coupon. Guest checkout needs no sign-in: pass the private guestToken from start_guest_checkout, or use your existing OAuth connection, never both.

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": {
      "items": "<items>",
      "shipping": "<shipping>",
      "consent": "<consent>"
    },
    "name": "quote_prints"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
consentYes
shippingYes
productIdNo
campaignIdNo
couponCodeNo
guestTokenNoPrivate guest credential; omit when Authorization Bearer is present.

Output Schema

NameRequiredDescriptionDefault
idYes
priceYes
expiresAtYesUnix time in milliseconds
lineItemsYes
validUntilYesUnix time in milliseconds
setupTermsAcceptedYesThe authenticated buyer already accepted the current terms at setup. Always confirm the quoted order and total.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / setupTermsAccepted
      Added value: +{
      +  "description": "The authenticated buyer already accepted the current terms at setup. Always confirm the quoted order and total.",
      +  "type": "boolean"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "price",
      -  "validUntil",
      -  "expiresAt",
      -  "lineItems"
      -]New value: +[
      +  "id",
      +  "price",
      +  "validUntil",
      +  "expiresAt",
      +  "lineItems",
      +  "setupTermsAccepted"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / guestToken
      Added value: +{
      +  "description": "Private guest credential; omit when Authorization Bearer is present.",
      +  "pattern": "^ppg_[a-f0-9]{64}$",
      +  "type": "string"
      +}
  3. Changed65 schema fields changed
    • addedInput schema / properties / items / items / properties / photoId / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • addedInput schema / properties / items / items / properties / photoIds / items / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • removedInput schema / properties / shipping / properties / city / $ref
      Removed value: -"#/properties/shipping/properties/firstName"
    • addedInput schema / properties / shipping / properties / city / maxLength
      Added value: +150
    • addedInput schema / properties / shipping / properties / city / minLength
      Added value: +1
    • addedInput schema / properties / shipping / properties / city / type
      Added value: +"string"
    • addedInput schema / properties / shipping / properties / email / pattern
      Added value: +"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
    • removedInput schema / properties / shipping / properties / lastName / $ref
      Removed value: -"#/properties/shipping/properties/firstName"
    • addedInput schema / properties / shipping / properties / lastName / maxLength
      Added value: +150
    • addedInput schema / properties / shipping / properties / lastName / minLength
      Added value: +1
    • addedInput schema / properties / shipping / properties / lastName / type
      Added value: +"string"
    • removedInput schema / properties / shipping / properties / line1 / $ref
      Removed value: -"#/properties/shipping/properties/firstName"
    • addedInput schema / properties / shipping / properties / line1 / maxLength
      Added value: +150
    • addedInput schema / properties / shipping / properties / line1 / minLength
      Added value: +1
    • addedInput schema / properties / shipping / properties / line1 / type
      Added value: +"string"
    • removedOutput schema / properties / expiresAt / $ref
      Removed value: -"#/properties/validUntil"
    • addedOutput schema / properties / expiresAt / description
      Added value: +"Unix time in milliseconds"
    • addedOutput schema / properties / expiresAt / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / expiresAt / minimum
      Added value: +0
    • addedOutput schema / properties / expiresAt / type
      Added value: +"integer"
    • addedOutput schema / properties / id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • addedOutput schema / properties / lineItems / items / properties / photoId / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • addedOutput schema / properties / lineItems / items / properties / photoIds / items / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • addedOutput schema / properties / lineItems / items / properties / quantity / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / lineItems / items / properties / quantity / minimum
      Added value: +-9007199254740991
    • removedOutput schema / properties / price / properties / coupon / properties / printDiscount / $ref
      Removed value: -"#/properties/price/properties/subtotal"
    • addedOutput schema / properties / price / properties / coupon / properties / printDiscount / description
      Added value: +"Integer USD cents"
    • addedOutput schema / properties / price / properties / coupon / properties / printDiscount / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / price / properties / coupon / properties / printDiscount / minimum
      Added value: +0
    • addedOutput schema / properties / price / properties / coupon / properties / printDiscount / type
      Added value: +"integer"
    • removedOutput schema / properties / price / properties / coupon / properties / shippingDiscount / $ref
      Removed value: -"#/properties/price/properties/subtotal"
    • addedOutput schema / properties / price / properties / coupon / properties / shippingDiscount / description
      Added value: +"Integer USD cents"
    • addedOutput schema / properties / price / properties / coupon / properties / shippingDiscount / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / price / properties / coupon / properties / shippingDiscount / minimum
      Added value: +0
    • addedOutput schema / properties / price / properties / coupon / properties / shippingDiscount / type
      Added value: +"integer"
    • removedOutput schema / properties / price / properties / coupon / properties / taxCredit / $ref
      Removed value: -"#/properties/price/properties/subtotal"
    • addedOutput schema / properties / price / properties / coupon / properties / taxCredit / description
      Added value: +"Integer USD cents"
    • addedOutput schema / properties / price / properties / coupon / properties / taxCredit / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / price / properties / coupon / properties / taxCredit / minimum
      Added value: +0
    • addedOutput schema / properties / price / properties / coupon / properties / taxCredit / type
      Added value: +"integer"
    • removedOutput schema / properties / price / properties / discount / $ref
      Removed value: -"#/properties/price/properties/subtotal"
    • addedOutput schema / properties / price / properties / discount / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / price / properties / discount / minimum
      Added value: +0
    • addedOutput schema / properties / price / properties / discount / type
      Added value: +"integer"
    • removedOutput schema / properties / price / properties / originalTotal / $ref
      Removed value: -"#/properties/price/properties/subtotal"
    • addedOutput schema / properties / price / properties / originalTotal / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / price / properties / originalTotal / minimum
      Added value: +0
    • addedOutput schema / properties / price / properties / originalTotal / type
      Added value: +"integer"
    • removedOutput schema / properties / price / properties / shipping / $ref
      Removed value: -"#/properties/price/properties/subtotal"
    • addedOutput schema / properties / price / properties / shipping / description
      Added value: +"Integer USD cents"
    • addedOutput schema / properties / price / properties / shipping / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / price / properties / shipping / minimum
      Added value: +0
    • addedOutput schema / properties / price / properties / shipping / type
      Added value: +"integer"
    • addedOutput schema / properties / price / properties / subtotal / maximum
      Added value: +9007199254740991
    • removedOutput schema / properties / price / properties / tax / $ref
      Removed value: -"#/properties/price/properties/subtotal"
    • addedOutput schema / properties / price / properties / tax / description
      Added value: +"Integer USD cents"
    • addedOutput schema / properties / price / properties / tax / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / price / properties / tax / minimum
      Added value: +0
    • addedOutput schema / properties / price / properties / tax / type
      Added value: +"integer"
    • removedOutput schema / properties / price / properties / total / $ref
      Removed value: -"#/properties/price/properties/subtotal"
    • addedOutput schema / properties / price / properties / total / description
      Added value: +"Integer USD cents"
    • addedOutput schema / properties / price / properties / total / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / price / properties / total / minimum
      Added value: +0
    • addedOutput schema / properties / price / properties / total / type
      Added value: +"integer"
    • addedOutput schema / properties / validUntil / maximum
      Added value: +9007199254740991
  4. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare a non-read-only, open-world, non-idempotent, destructive operation, so the description need not repeat safety flags. It adds valuable behavior beyond them: quote totals include shipping, tax, and coupon; calendars auto-generate grids; compositions require separate slot images; and guest auth is mutually exclusive with OAuth. It still does not describe quote lifetime or exactly what the destructive hint covers.

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 dense but front-loaded: it opens with the core purpose, then batches item rules and auth rules without filler. Some sentences carry multiple constraints, but every clause supplies operational information.

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 complex mutation with nested items, auth alternatives, and an output schema, the description covers the main assembly rules, pricing totals, and credential choice. Missing details such as campaignId, shipping semantics, and quote expiry are minor because the schema and output schema carry structural and return information.

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?

With only 14% schema description coverage, the description compensates by explaining the critical nested item structures: photoId for single-image, ordered photoIds for multi-image, calendar start fields plus cover/month uploads, and quantity as complete products. It also clarifies guestToken versus OAuth. It leaves campaignId and most shipping field semantics to the schema.

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 opening sentence names a specific verb and resource — saving a quote — and scopes it to owned photos, a US address, and buyer consent. This distinguishes it from order-placement and price-estimation siblings by making clear it persists a quote rather than placing an order or calculating an estimate.

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 supplies concrete routing: productId comes from list_products, item shape depends on single-image vs multi-image vs calendar vs composition, and guest checkout must use either guestToken or OAuth, never both. It does not explicitly state when to choose quote_prints over estimate_print_price or create_print_order, which is the remaining gap.

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