Skip to main content
Glama

Get Scheduled Orders

get_current_scheduled_orders
Read-onlyIdempotent

Returns the paginated list of currently scheduled orders (not yet dispatch-eligible, i.e. scheduled for future pickup/delivery) for the current company. Defaults to page 1 with up to 50 orders if page/limit are omitted. Each order contains every field that edit_order uses, under the same names, so to change an order, take it from here and send it to edit_order with only the requested changes applied. Check the returned meta.totalPages and meta.nextPage: if meta.page is less than meta.totalPages and the user's request requires seeing every scheduled order (not just a sample or summary), call this tool again with page=meta.nextPage to fetch the remaining pages, without asking the user to specify a page number themselves.

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_current_scheduled_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1
limitNoNumber of orders per page, at most 100, default 50

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, so safety needs no restating. The description adds real behavior beyond them: the exact pagination loop keyed off meta.page/meta.totalPages/meta.nextPage, the default page size, and the guarantee that returned orders are field-compatible with edit_order. It does not describe ordering or what happens at the last page, which keeps it short of 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 what the tool returns and its distinguishing scope; the pagination instruction and the edit_order hand-off follow in logical order. The final sentence is long and slightly repetitive about meta fields, but every clause carries an instruction the agent would otherwise have to guess.

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, and the description compensates by naming the meta fields used for pagination and the fact that order objects mirror edit_order's field names. For a two-parameter read tool with full annotation coverage, nothing an agent needs 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.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description goes further by explaining how `page` is meant to be driven from meta.nextPage and by fixing the effective default limit in the prose. That is usage meaning the schema's bare 'Page number, starting at 1' does not convey.

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 paginated list of currently scheduled orders') and pins the scope with a positive definition ('not yet dispatch-eligible, i.e. scheduled for future pickup/delivery') plus company scoping. That parenthetical is what separates it from the sibling get_current_active_orders without naming it.

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?

Gives explicit defaults (page 1, 50 orders), an explicit continuation rule (loop on meta.nextPage when the user needs every order, not just a sample), and routes mutation work to edit_order. The condition under which *not* to paginate ('just a sample or summary') is stated, which is rare and valuable.

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.

Resources