Skip to main content
Glama

Place order

zoodex_place_order
Destructive

Place the current cart order after previewing the final summary and getting explicit confirmation; supports courier/pickup and online, cash, or wallet payment.

Instructions

Place the order for the current cart. ALWAYS show the user the final summary and get explicit confirmation first: call with confirm=false to get a preview, then call again with confirm=true. For online payment the result contains bank_url, which the user must open to pay; afterwards call zoodex_payment_status. Requires a name on the account and, for courier delivery, a selected address.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "zoodex_place_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNofalse = preview only. true = actually place the order.
deliveryNocourier
address_idNoDelivery address; defaults to the selected one. Ignored for pickup.
offer_codeNoDiscount code.
use_walletNoUse Zoodex wallet balance towards the payment (online/cash only).
payment_typeNo'online', 'cash', or a wallet key from zoodex_checkout_options.payment_methods.online
vendor_creditsNoVendor slugs whose store credit should be used.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, openWorldHint=true, and idempotentHint=false, so the safety profile is covered; the description adds real value on top with the preview-then-commit flow and the fact that online payment returns a bank_url the user must open. It does not explain cancellation/reversibility or the double-submission risk implied by idempotentHint=false, which keeps it below a 5.

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 purpose is front-loaded and each subsequent sentence carries distinct operational information: confirmation protocol, payment handoff, prerequisites. It is dense but not padded, though the single paragraph bundles several separate concerns that could be split for faster scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, non-idempotent order-placement tool with no output schema, the description covers the confirmation protocol, the payment handoff, and preconditions, and even names one return field (bank_url). It leaves the outcome of the call otherwise opaque, not stating what the order confirmation contains or how failures surface, which is a notable gap for an irreversible action.

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 coverage is 86%, so the schema already documents nearly all seven parameters; the description only expands on confirm (preview vs. actual placement) and implicitly on payment_type via the bank_url behavior. offer_code, use_wallet, vendor_credits, and address_id gain no additional meaning from the description, so the baseline 3 is appropriate.

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?

"Place the order for the current cart" gives a specific verb and resource and scopes it to the active cart, which lets an agent separate it from the zoodex_cart_* mutation siblings. It does not explicitly name any alternative tool, so it stops short of full sibling differentiation.

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

Usage Guidelines5/5

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

The description spells out a mandatory two-step protocol (confirm=false for preview, then confirm=true) and states the prerequisite human-in-the-loop step of showing the summary and getting explicit confirmation. It also routes the agent forward to zoodex_payment_status after payment and lists preconditions (name on account, address for courier).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.