Skip to main content
Glama
Paxaver MCP Server

Paxaver MCP Server

Official

Discard Lunch Order Draft

discard_lunch_order_draft
DestructiveIdempotent

Permanently delete an unpaid lunch draft order you own that is still in draft status; no charge or refund occurs. Cancel finalized orders instead.

Instructions

Permanently discards an unpaid draft order - the caller must own it and it must still be in draft status (order_id from create_lunch_order_draft). Nothing was ever charged, so there is no refund; the draft is simply deleted. For a finalized order use cancel_my_lunch_order instead. DESTRUCTIVE - confirm with the user before discarding. Collect each required input one at a time and confirm the details with the user before calling.

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": {
      "order_id": "<order_id>"
    },
    "name": "discard_lunch_order_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYesDraft order ID from create_lunch_order_draft - must still be in draft status

Output Schema

NameRequiredDescriptionDefault
statusNoOrder status (discarded)
orderIdNoDiscarded draft order ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.5.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description goes further by explaining the consequence: nothing was ever charged, there is no refund, and the draft is simply deleted. That tells the agent exactly what is destroyed and why the operation is safe from a financial standpoint, which annotations alone cannot convey.

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 scoping and precondition sentence comes first, alternatives are routed second, and the destructive warning follows — a sensible front-loaded order. The closing sentence about collecting inputs one at a time is slightly procedural boilerplate, but it is short and relevant to a destructive action.

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

Completeness5/5

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

For a one-parameter destructive tool with full schema coverage and an output schema, the description covers purpose, preconditions, alternatives, consequences, and confirmation expectations. Nothing an agent needs in order to call it correctly is missing.

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?

With a single parameter at 100% schema coverage, the schema already documents order_id's origin (create_lunch_order_draft) and its required draft status. The description restates the same provenance and status constraint without adding syntax, format, or validation detail, so the baseline of 3 applies.

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 names a specific verb and resource ('Permanently discards an unpaid draft order') and immediately scopes it with preconditions: caller ownership and draft status. It also explicitly contrasts itself with cancel_my_lunch_order for finalized orders, so an agent can distinguish it from the create/pay/update/cancel siblings without opening a schema.

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?

It states both when to use it (unpaid draft the caller owns, still in draft status) and when not to (a finalized order belongs to cancel_my_lunch_order). It also adds a procedural guardrail — confirm with the user before discarding and collect required inputs one at a time — leaving nothing to inference.

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