Skip to main content
Glama

List orders

list_orders
Read-onlyIdempotent

List this agent's orders newest first to find an order ID or see which need attention; shows status, shop, items, lock amount and next steps. Read-only.

Instructions

List this agent's orders (from its data dir), newest first, with status, shop, items, lock amount and next steps. Use it to find an order id or to see what needs attention; get_order shows one order in full. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNomost orders to return (default 20)
statusNoonly orders in these statuses

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and closed-world, and the description restates read-only while adding useful behavior: source is the agent's data dir and results come newest first. It does not discuss pagination or result-size limits beyond what the schema already documents.

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?

One tight sentence for purpose/scope/returned fields, one for usage and the alternative, and a two-word safety tag. No wasted text, front-loaded.

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?

With no output schema, the description enumerates the returned fields (status, shop, items, lock amount, next steps), covers usage and the sibling, and annotations cover the safety profile. Nothing needed 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.

Parameters3/5

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

The schema documents both parameters at 100% coverage (limit default, status enum list), so it carries the burden. The description's mention of 'status' refers to a returned field rather than the filter, adding no syntax or meaning 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 (list) and resource (this agent's orders) plus scope, ordering ('newest first') and the fields returned. It is clearly distinguishable from get_order, which is named explicitly.

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 when-to-use cases ('find an order id', 'see what needs attention') and names the alternative tool (get_order) with the condition that selects it (one order in full).

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