Skip to main content
Glama

prepare_order

Creates an immutable confirmation preview from the current quote and order details. Requires payment mode, dine type, merchant name, customer name, and phone.

Instructions

Freeze the current quote and order details into an immutable confirmation preview.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
phoneYes
commentsNo
dine_typeYes
address_idNo
payment_modeYes
address_line1No
address_line2No
address_line3No
customer_nameYes
merchant_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations, the description must fully disclose behavior. It mentions 'immutable confirmation preview', indicating the result cannot be changed, but doesn't explain side effects, reversibility, or whether this triggers any external actions. This leaves significant behavioral gaps.

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 a single sentence of 12 words, front-loading the core purpose. Every word contributes meaning, with no redundancy or unnecessary elaboration.

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

Completeness1/5

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

Given the tool's 10 parameters, 5 required, and sibling tools, the description is severely incomplete. It omits parameter guidance, output details (though an output schema exists), and behavioral context beyond immutability, leaving the agent underinformed for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description adds no information about any of the 10 parameters (5 required). The phrase 'current quote and order details' implies some parameters are already set, but provides no clarity on how to supply or interpret the required fields.

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 uses a specific verb 'freeze' and resource 'current quote and order details', making it clear that this tool creates an immutable preview. It differentiates from siblings like quote_cart and submit_order by implying a intermediate step that locks the order.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives (e.g., quote_cart or submit_order). The description does not mention prerequisites, such as having an active quote, or specify which scenarios warrant using this tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Rayyan011/avasfood-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server