Skip to main content
Glama

Prepare an order for review / הכנת הזמנה לבדיקה

create_order_draft
Idempotent

Saves the order details the person provided for 48 hours and returns a checkout URL where they are prefilled. Creates no account, order, charge or message. The person reviews, accepts the terms and pays on the site. / שומר ל-48 שעות את פרטי ההזמנה שהלקוח מסר ומחזיר קישור לעמוד ההזמנה שבו הם ממולאים מראש. לא נוצרים חשבון, הזמנה, חיוב או הודעה. הלקוח בודק, מאשר את התנאים ומשלם באתר.

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": {
      "plan_size": "<plan_size>",
      "city": "<city>",
      "full_name": "<full_name>",
      "email": "<email>",
      "phone": "<phone>",
      "person_confirmed": "<person_confirmed>"
    },
    "name": "create_order_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesCity or locality, Hebrew or English / עיר או יישוב
emailYesThe person's own email / המייל של הלקוח
floorNoFloor / קומה
phoneYesIsraeli mobile number, 05XXXXXXXX / טלפון נייד
streetNoStreet name / רחוב
dish_idsNoDish ids from get_menu, up to plan_size / מזהי מנות מ-get_menu
apartmentNoApartment / דירה
full_nameYesThe person's first and last name / שם מלא
plan_sizeYesMeals per week / מספר מנות בשבוע
delivery_dayNoPreferred delivery day / יום משלוח מועדף
house_numberNoHouse number / מספר בית
idempotency_keyNoOptional: the same key returns the same link
person_confirmedYesThe person confirmed these are their details and asked for the order to be prepared / הלקוח אישר את הפרטים

Output Schema

NameRequiredDescriptionDefault
quoteYes
summaryYes
draft_idYes
next_stepYes
expires_atYes
source_urlYes
valid_untilYes
checkout_urlYes
generated_atYes
allergy_noticeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / person_confirmed / type
      Added value: +"boolean"
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the 48-hour retention window, that the returned URL is prefilled, and an explicit inventory of side effects that will NOT occur (no account, order, charge, or message). Annotations only say non-read-only, non-destructive, idempotent; the TTL and the no-message guarantee are behavioral facts found nowhere in the 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?

The single most important fact (what is created and what is not) is front-loaded, and the second sentence covers the human handoff. The parallel Hebrew rendering roughly doubles the length, which is a deliberate localization trade-off rather than padding, but it does inflate the token footprint.

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 13-parameter mutation-shaped tool with an output schema, the description covers the essential unknowns: TTL, the non-creation guarantees, and what happens next. It leaves the relationship between dish_ids and plan_size, and the delivery_day choices, entirely to the schema, which is acceptable given full schema coverage and an output schema.

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%, including Hebrew/English field notes, enums for plan_size and delivery_day, the dish_ids → get_menu reference, and idempotency_key semantics, so the schema does the heavy lifting. The description adds no parameter-level detail beyond the notion that the values are 'prefilled' into the returned URL, which is the baseline expectation.

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?

States a specific verb and resource (saves order details as a draft) and precisely what it returns (a prefilled checkout URL). The explicit negation — 'Creates no account, order, charge or message' — separates it from any sibling that would confirm or pay for an order, so an agent can route correctly without inspecting schemas.

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 usage context is clear: this is the step taken after a person supplies and confirms their details, and the description describes the downstream handoff (person reviews, accepts terms, pays on the site). It does not name a specific alternative to use instead, but the 'prepare, don't commit' framing makes the boundary legible.

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