Skip to main content
Glama

get_orders

List a user's online orders with pagination and status filters to find an order ID for retrieving full details. Requires authentication.

Instructions

List the user's online orders, paginated, filtered by status. Use to find an order id, then call get_order_details. Requires authentication.

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
pageNo0-based page number. Default: 0.
statusNoFilter by order status. Default: ALL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description must carry the safety and behavior profile. It usefully discloses that the tool is read-only in nature, requires authentication, and paginates — all beyond what the schema says — but gives no page size, sort order, or indication of what an empty result looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences, front-loaded with the verb and resource, followed by the workflow pointer and the auth prerequisite. Nothing is redundant.

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?

For a simple two-optional-parameter read tool with no output schema, the description covers purpose, scoping, pagination, auth, and the follow-up call. The remaining gap is the shape of the returned list, which is unaddressed but modest given the tool's simplicity.

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%, with both `page` and `status` documented including defaults and an enum, so the baseline is 3. The description only echoes 'paginated' and 'filtered by status' without adding format or behavioral detail beyond the schema.

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 ('List the user's online orders') plus its two defining traits (paginated, filtered by status). It also names the sibling get_order_details and makes clear this tool is the lookup step that feeds it, so the boundary between the two is unambiguous.

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?

Gives a concrete when-to-use ('use to find an order id, then call get_order_details'), which is exactly the decision an agent faces. It stops short of stating when *not* to use it (e.g. browsing past orders vs. checking a known id), so it earns a 4 rather than a 5.

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