Skip to main content
Glama

Packrift Packaging

Prepare purchase handoff

prepare_purchase_handoff
Read-onlyIdempotent

Two-step exact-SKU purchase prep. Call first with sku, quantity, and buyer_confirmed=false to confirm the product, live price, and live stock in one call. After the buyer approves, call again with buyer_confirmed=true to receive the tracked checkout handoff URL. It never places an order.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skuYesExact Packrift SKU such as 1066, MFL1295, or LL251WR.
quantityNoBuyer-selected quantity. Defaults to 1.
journey_idNoOptional continuity ID echoed from an earlier search or pricing result in this conversation.
result_set_idNoOptional continuity ID echoed from the result set the buyer chose from.
source_contextNoOptional short context label for the handoff, such as exact_sku_reorder or quote_followup.
buyer_confirmedNoSet true only after the buyer confirms the exact SKU and quantity. Without this, no cart URL is created.

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint, openWorldHint, idempotentHint), the description discloses key behavioral traits: it never places an order, it confirms live price and stock, and it requires a two-step confirmation process. This adds meaningful context that is not captured by annotations alone, helping the agent understand the side effects and state involved.

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 concise and front-loaded with the core purpose ('Two-step exact-SKU purchase prep'). It then explains the two-step flow in two clear sentences and ends with a boundary condition ('It never places an order'). Every sentence earns its place without redundancy.

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?

The tool has moderate complexity with a two-step flow and no output schema, so the description carries the burden of explaining return behavior. It mentions the outcome ('tracked checkout handoff URL') and implies the first response includes product, live price, and stock. However, it doesn't explicitly describe the exact structure of the first response or possible error conditions, leaving a slight gap. Still, it is sufficiently complete for an agent to use the tool correctly.

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 input schema already provides 100% coverage with descriptions for all six parameters, so the baseline is 3. The description adds a bit of context by explaining the role of buyer_confirmed in the two-step flow, but it does not add significant new semantics beyond what the schema already states. It reinforces the purpose of key parameters but does not compensate for any gaps.

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 clearly states the tool's function: 'Two-step exact-SKU purchase prep.' It specifies the verb ('prepare') and the resource ('purchase handoff'), and distinguishes itself from siblings by emphasizing the exact-SKU and two-step nature. The explicit statement 'It never places an order' further clarifies its scope, separating it from order-placing tools.

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?

The description provides explicit step-by-step usage instructions: call first with buyer_confirmed=false to confirm product/price/stock, then call again with buyer_confirmed=true to receive the handoff URL. It also clarifies that no order is placed. While it doesn't explicitly name alternative tools, the two-step flow and confirmation requirement give clear context for when this tool is appropriate.

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.

TDQS

A3.9/5.0
Disambiguation4/5

Most tools have clearly distinct purposes, but there is potential confusion between inventory-checking tools (check_inventory vs. inventory_status) and cart-handoff tools (create_cart_url vs. prepare_purchase_handoff). Descriptions help differentiate, but an agent might occasionally select the wrong tool.

Naming Consistency4/5

The naming convention is generally consistent with verb_noun in snake_case (e.g., find_packaging_for_item, get_pricing). However, google_retail_ai_finder breaks the pattern with a company prefix, and some verbs vary (check vs. inventory_status). Overall clear and predictable.

Tool Count4/5

16 tools is slightly above the ideal 3-15 range, but still reasonable for a packaging e-commerce domain covering search, fit, inventory, pricing, shipping, and cart creation. Each tool serves a specific need, so the count feels appropriate.

Completeness4/5

The tool surface covers the core customer journey: product discovery, fit calculation, inventory/pricing checks, shipping estimation, cart handoff, reordering, and bulk quotes. Minor gaps exist (e.g., no order tracking or cancellation), but these are likely out of scope.

Resources