Skip to main content
Glama

Get orders

get_orders
Read-onlyIdempotent

Use this tool when the user asks about the orders their Convika pages took: 「注文は何件来た?」「今日の注文を見せて」, which orders still wait for payment, or what sold.

Returns the newest orders (number, page, status, payment method, pickup or delivery, items with quantity and price, totals, currency, and whether a test order) and a summary over every order that matches: counts by status, and per currency the amount ordered and the revenue (paid orders; cash on delivery once accepted; refunds taken off). Amounts are in the currency's main unit as text ("1080" yen, "12.50" dollars). Every order is listed on every plan; spam is left out; test orders are listed and flagged but not counted.

Buyers' names, phone numbers, emails, and addresses are never returned, and neither is where each order came from: get_order_stats gives that in totals, by source and by AI assistant. Changing an order's status, refunds, and payment settings are done on the dashboard only.

On Free, counts and totals include the first 50 cash-on-delivery, bank-transfer, and payment-link orders of each UTC month; orders past that aren't counted (get_orders still lists them), omittedOverCap says how many, and the dashboard's Orders page lists them all. Pro and above have no cap. Times are ISO 8601 in UTC.

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

Input Schema

NameRequiredDescriptionDefault
limitNoHow many of the newest orders to return. Defaults to 20, max 100.
sinceNoOnly orders placed at or after this time: an ISO 8601 date or date-time, such as 2026-11-01 (midnight UTC) or 2026-11-01T09:00:00+09:00.
siteIdNoOnly this page's orders. Leave out for every page.
statusNoOnly orders in this status: new, pending_payment, accepted, paid, done, declined, cancelled, or refunded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations it discloses substantial behavior: buyer PII and order source are never returned, spam is excluded, test orders are listed and flagged but excluded from counts, revenue rules (paid only, cash-on-delivery once accepted, refunds deducted), amounts returned as text in the currency's main unit, and UTC ISO 8601 times. The Free-plan cap with omittedOverCap is also explained, including what happens to over-cap orders.

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 use case and then the return shape, and every clause carries operational information rather than filler. It is dense and runs long, with plan-cap and revenue details packed into single sentences, so it is slightly heavy but not wasteful.

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 carries the return-value burden and does so fully: listed fields, summary composition, currency formatting, and counting exclusions. The plan-dependent counting cap and omittedOverCap are also covered, leaving nothing an agent needs before calling it.

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 100% schema description coverage, the schema already documents limit, since, siteId, and status in detail. The description adds only marginal semantics — that results are the 'newest' orders and that times are UTC ISO 8601 — rather than new per-parameter rules, so the 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?

States a specific verb and resource (returns the newest orders with a summary) and enumerates the concrete fields returned: number, page, status, payment method, items, totals, currency, test flag. It distinguishes itself from the sibling get_order_stats by naming what that tool covers instead (source and AI-assistant breakdowns).

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?

Opens with explicit trigger conditions (user asks how many orders came in, which orders await payment, or what sold) and names the alternative tool for the source/assistant breakdown. It also states exclusions: status changes, refunds, and payment settings are dashboard-only, so the agent knows not to look for a mutation tool here.

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.