Skip to main content
Glama

toast_list_orders

Read-onlyIdempotent

Lists Toast order history newest first with restaurant, date, status, items, and totals, and supports pagination to retrieve older orders.

Instructions

Your Toast order history, newest first: each order's GUID, restaurant (GUID, name, ordering link), when it was placed (ISO-8601 UTC, plus the restaurant's time zone), dining option and status as Toast reports them, item count with the first few items, and total in dollars. Pass next_page_token from the previous answer for older orders. Use toast_get_order for a full receipt. Needs a toast.app sign-in in the browser running ContextMint Bridge.

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": "toast_list_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNocompact (default) returns the shaped result; "full" returns the Toast gateway's raw `data` object untouched. "brief" returns one line per order: restaurant (dining option, item count) — <when placed, ISO date-time, or "no date"> — <status>. The lines ride in the untrusted-data envelope as `data` (restaurant names are the restaurants' own text). Note lines start with "-- ": "-- none" when there are no orders, "-- error: …" when Toast reported a partial failure, "-- more" when older orders exist (call again with view "compact" for next_page_token).
page_sizeNoOrders per page (1–50, default 20).
next_page_tokenNoFrom a previous answer, to fetch the next (older) page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.1.1
    • changedInput schema / properties / view / description
      Previous value: -"Response shape: \"compact\" (default) drops fields the response already carries elsewhere; \"full\" returns every field this server understands. compact (default) returns the shaped result; \"full\" returns the Toast gateway's raw `data` object untouched."New value: +"compact (default) returns the shaped result; \"full\" returns the Toast gateway's raw `data` object untouched. \"brief\" returns one line per order: restaurant (dining option, item count) — <when placed, ISO date-time, or \"no date\"> — <status>. The lines ride in the untrusted-data envelope as `data` (restaurant names are the restaurants' own text). Note lines start with \"-- \": \"-- none\" when there are no orders, \"-- error: …\" when Toast reported a partial failure, \"-- more\" when older orders exist (call again with view \"compact\" for next_page_token)."
    • changedInput schema / properties / view / enum
      Previous value: -[
      -  "compact",
      -  "full"
      -]New value: +[
      +  "compact",
      +  "full",
      +  "brief"
      +]
  2. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety is covered; the description adds real context on top: an auth prerequisite ("Needs a toast.app sign-in in the browser running ContextMint Bridge") and a paging model where repeated calls with next_page_token walk backwards in time. It does not mention rate limits or what an error response looks like at the top level, keeping 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?

Front-loaded with the purpose and ordering, then the field inventory, then the paging rule, then the sibling pointer and auth note - a logical progression with no filler. The field enumeration is dense but every listed field tells the agent what it will receive, which is needed since there is no output schema.

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?

With no output schema, the description correctly substitutes a field-level account of the return payload, and it covers pagination and auth - the two things most likely to trip up a caller. The only gap is that alternate view modes and their special "-- none" / "-- error" / "-- more" line prefixes are documented in the schema rather than the description, so an agent skimming only the description would not know views exist.

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 the enum meanings for view and the 1-50 bound on page_size, so the schema carries the parameter burden. The description adds only the paging flow (next_page_token from a prior answer) and does not elaborate on when compact vs. full vs. brief matters - that lives entirely in the schema. Baseline 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?

"Your Toast order history, newest first" gives a specific resource, scope and ordering, and then enumerates exactly what each record contains (GUID, restaurant, timestamp, dining option, status, item count, total). It explicitly distinguishes itself from toast_get_order ("for a full receipt"), so an agent can choose between the list and the single-order sibling 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 Guidelines4/5

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

It names the alternative (toast_get_order) and the condition that selects it, and gives the pagination procedure: "Pass next_page_token from the previous answer for older orders." What is missing is an explicit negative case (e.g., don't use this to look up one known order id), so it falls just short of full when/when-not coverage.

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