Skip to main content
Glama

Agent Menu

place_order

Place a food order. Records the order and relays it to the restaurant via their preferred channel (emails it when email is available), and returns ready-to-use contact actions (call, WhatsApp, email) so you can also reach them directly.

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": {
      "restaurant": "<restaurant>",
      "items": "<items>",
      "customer_name": "<customer_name>",
      "customer_contact": "<customer_contact>"
    },
    "name": "place_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoOrder-level note, e.g. desired pickup time
itemsYesThe dishes to order
channelNoPreferred channel to relay the order; defaults to the restaurant's preference
restaurantYesThe restaurant id (slug) from search_restaurants
fulfillmentNo
customer_nameYesName of the person ordering
customer_contactYesA phone number or email the restaurant can use to confirm

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does usefully disclose the key side effect (the order is recorded and relayed to a third party) and a defaulting rule (email is used when available), but it says nothing about confirmation semantics, failure handling, or whether a failed relay still commits the order.

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?

A single front-loaded sentence: action first, side effects second, return value third. No filler, no restatement of the tool name, and every clause adds information.

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 7-parameter mutating tool with no annotations and no output schema, the description does a reasonable job of covering purpose, side effect, and what is returned. The main gap is the absence of any statement about order confirmation or error behavior, which an agent would need before treating the call as final.

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 86%, so the schema already documents most parameters well. The description adds only marginal meaning: it clarifies the channel defaulting behavior and explains what comes back, but does not illuminate items, quantity, customer_contact, or fulfillment beyond the schema.

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 opens with a specific verb and resource ('Place a food order') and immediately explains the full consequence: the order is recorded, relayed to the restaurant, and contact actions are returned. This is clearly a write/transaction tool, easily distinguished from the read-oriented siblings like search_restaurants and get_menu.

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?

The intent to place an order is implied by the verb and is unambiguous, but there is no explicit when-to-use framing or exclusion such as 'use get_contact_methods instead if you only need to reach a restaurant.' The mention that contact actions are returned hints at overlap with contact-lookup siblings without resolving it.

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