Skip to main content
Glama

Quote gift boxes

quote_gift_boxes
Read-onlyIdempotent

The total for a number of gift boxes with shipping included, the ship-by and expected delivery dates for an order paid today, and an occasion's last day to order.

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": {
      "boxes": "<boxes>"
    },
    "name": "quote_gift_boxes"
  }
}

Input Schema

NameRequiredDescriptionDefault
boxesYesHow many boxes, one per recipient.
occasionNoOptional occasion, as get_gift_box_details names them.

Output Schema

NameRequiredDescriptionDefault
kindYes
boxesYes
notesYesThe answer's other lines, word for word: which occasions a draft takes when the one asked about isn't one, and where it ships and where it doesn't.
totalYes
productYesOur own gift box: its name and its photo.
ship_byYes
order_byYesThe last day to order for the occasion asked about, if any.
order_urlYesOur order page, where the customer starts the order.
dates_noteYesWhen the ship-by and expected dates hold.
price_noteYesWhat the total includes.
expected_byYes
delivery_noteYesHow delivery works.
price_per_boxYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "boxes": {
      +      "maximum": 9007199254740991,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "dates_note": {
      +      "description": "When the ship-by and expected dates hold.",
      +      "type": "string"
      +    },
      +    "delivery_note": {
      +      "description": "How delivery works.",
      +      "type": "string"
      +    },
      +    "expected_by": {
      +      "type": "string"
      +    },
      +    "kind": {
      +      "const": "quote",
      +      "type": "string"
      +    },
      +    "notes": {
      +      "description": "The answer's other lines, word for word: which occasions a draft takes when the one asked about isn't one, and where it ships and where it doesn't.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "order_by": {
      +      "description": "The last day to order for the occasion asked about, if any.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "date": {
      +            "type": "string"
      +          },
      +          "occasion": {
      +            "type": "string"
      +          },
      +          "passed": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "occasion",
      +          "date",
      +          "passed"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "order_url": {
      +      "description": "Our order page, where the customer starts the order.",
      +      "type": "string"
      +    },
      +    "price_note": {
      +      "description": "What the total includes.",
      +      "type": "string"
      +    },
      +    "price_per_box": {
      +      "type": "string"
      +    },
      +    "product": {
      +      "additionalProperties": false,
      +      "description": "Our own gift box: its name and its photo.",
      +      "properties": {
      +        "name": {
      +          "type": "string"
      +        },
      +        "photo_alt": {
      +          "type": "string"
      +        },
      +        "photo_url": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "photo_url",
      +        "photo_alt"
      +      ],
      +      "type": "object"
      +    },
      +    "ship_by": {
      +      "type": "string"
      +    },
      +    "total": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "kind",
      +    "product",
      +    "boxes",
      +    "price_per_box",
      +    "total",
      +    "price_note",
      +    "ship_by",
      +    "expected_by",
      +    "dates_note",
      +    "delivery_note",
      +    "order_by",
      +    "order_url",
      +    "notes"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. Beyond that the description adds genuinely useful behavioral context: shipping is included in the total, and the dates are anchored to payment today rather than an arbitrary date. It does not mention rate limits or auth, but for a pure quote tool that is minor.

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?

A single dense sentence with no filler, and the three outputs are listed in a natural reading order (price, dates, deadline). It is slightly elliptical as a fragment, which costs it the top mark, but nothing is wasted.

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?

An output schema exists, so return values need not be explained, yet the description still gives the agent enough to know what a quote contains and that it is tied to a same-day purchase. For a two-parameter read-only tool this is sufficient. Only the linkage to draft-order creation is left implicit.

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 both parameters are already documented, including the pointer to get_gift_box_details for occasion naming. The description reinforces that the occasion unlocks the 'last day to order' field and that boxes are one-per-recipient by implication, but adds little beyond the schema. Baseline 3 applies.

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 names the specific resource (gift boxes) and enumerates exactly what the tool returns: a total with shipping included, ship-by and expected delivery dates, and an occasion's last day to order. The lack of a leading verb (it reads as a noun phrase describing outputs rather than 'calculates a quote') slightly blunts it, but an agent can still tell this apart from get_gift_box_details or create_draft_order. It is clear without being explicitly framed as an action.

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 rather than stated: the phrase 'for an order paid today' signals this is a pre-purchase pricing check, and the reference to get_gift_box_details implies that tool should be consulted first for occasion names. There is no explicit 'use this before create_draft_order' or any when-not guidance. The agent must infer the sequencing from context.

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