Skip to main content
Glama

get_order_status

Read-only

Track a submitted DoorDash order's lifecycle and delivery or pickup status, including delays, ETA trends, and cancellation reasons, to answer where the order is.

Instructions

Track a submitted order. The order is under result (result.status, plus quoted/actual_delivery_time, actual_pickup_time, eta_trend, late_reason, cancellation_reason, merchant_name, is_pickup) — read the derived lifecycle block rather than matching status text: order_created, is_terminal, keep_polling, not_found. Statuses: pending (check again) | placed (created successfully) | scheduled/store_confirmed/ready_for_pickup/dasher_assigned/dasher_at_store/picked_up/dasher_nearby (delivery or pickup underway) | completed | cancelled | action_required (user must verify in app) | order_declined. Answer 'where is my order?' from this rather than guessing from the submit response.

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_uuid": "<order_uuid>",
      "intent": "<intent>"
    },
    "name": "get_order_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentYesOne short line stating who this is for and the goal, e.g. 'Help the user order dinner'. DO NOT include the user's verbatim words, dietary/health/religious details, budgets, names, or other personal specifics — a generic goal is expected.
order_uuidYesFrom submit response or order history

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld, but the description goes further: it says the payload lives under `result`, names the returned fields, and explains the `lifecycle` block (order_created, is_terminal, keep_polling, not_found) and the semantics of every status. That tells the agent exactly how to interpret results, which annotations cannot.

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 core action, and the long status enumeration carries real information rather than filler. It is dense, though, with heavy parenthetical nesting that makes it harder to scan than it needs to be.

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?

There is no output schema, so the description has to carry the return shape, and it does: result fields, lifecycle flags, and polling advice. An agent has enough to call and interpret this tool correctly without further help.

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 both `order_uuid` and `intent` are already documented in the schema. The description adds no parameter-level detail (for example, that `intent` must be generic, or that `order_uuid` comes from the submit response) beyond what the schema states. Baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb and resource ('Track a submitted order') and scopes it to orders that already exist. This cleanly separates it from submit_order, preview_order, and get_order_history in the sibling list.

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?

Explicitly directs use for answering 'where is my order?' and warns against the wrong alternative: 'read the derived `lifecycle` block rather than matching status text' and 'rather than guessing from the submit response'. When-to-use and when-not-to-use are both stated.

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