Skip to main content
Glama
Toast MCP Server

Toast MCP Server

by atthewm

toast_list_orders

Retrieves orders for a specific business day and returns accurate total sales across all orders plus summary details for a configurable subset.

Instructions

List orders for a business day. Returns accurate totalSales across ALL orders and summary details for a subset (controlled by detailCount). Use businessDate in YYYYMMDD format.

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
fetchAllNoWhen true, return ALL order summaries in the orders array (ignoring detailCount). totalSales is always accurate either way.
detailCountNoNumber of order summaries to return in the orders array. Default: 20. totalSales is always computed from ALL orders regardless of this value.
businessDateNoBusiness date in YYYYMMDD format (e.g. 20260321). Filters orders to a specific business day.
restaurantGuidNoRestaurant GUID. Uses default if not provided.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description bears the full disclosure burden. It does add a genuinely non-obvious behavioral fact — totalSales is always computed from ALL orders regardless of detailCount/fetchAll — but says nothing about read-only safety, permissions, pagination, or error behavior for a 4-parameter list tool.

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?

Three short sentences, front-loaded with purpose followed by the return-value nuance and the date format. The final format reminder is redundant against a fully described schema, but the rest earns its place.

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

Completeness3/5

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

Adequate but not complete: the description explains the aggregation/subset split yet never characterizes what a "summary" contains, nor covers auth, scoping defaults, or pagination, and there is no output schema to offload return-value detail.

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 coverage is 100%, so all four parameters are already documented in the input schema, including the detailCount/fetchAll interaction. The description's only parameter note (businessDate in YYYYMMDD) merely repeats the schema, adding no new meaning; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("List orders") plus a clear scope ("for a business day"), and adds the return shape (totalSales across all orders + summaries for a subset). It doesn't explicitly distinguish itself from the sibling toast_get_order, so the singular-vs-list boundary is left to inference.

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?

Usage is implied by "for a business day" and the format instruction for businessDate, but there is no statement of when to prefer this over toast_get_order or toast_list_shifts, and no exclusions or prerequisites such as required auth or restaurant scoping.

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