Skip to main content
Glama

List order actions

list_order_actions
Read-only

List the workspace's order actions (refunds, cancellations, address changes, returns and the like requested by teammates or Aide), newest first, each with its status, amount, order, conversation, reason, result and who asked and approved. status: pending_approval is the approval queue.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 1 to 500; `metadata.hasMore` says whether another page follows.
statusNoOnly actions with this status; `pending_approval` for those waiting for approval.
perPageNoActions per page (at most 100).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / status / type
      Added value: +"string"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the description's added value is the ordering guarantee ('newest first'), the returned field set, and the semantic meaning of the pending_approval status. No permissions or rate-limit caveats, but for a read-only list tool this is solid added context.

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 tightly packed sentences with zero filler; the identity and scope of the tool come first and the approval-queue hint is placed last where it is most actionable.

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?

With no output schema, the description usefully enumerates the returned fields (status, amount, order, conversation, reason, result, requester/approver), and the schema handles paging via metadata.hasMore. It is essentially complete for a read-only list tool, though it does not address ordering stability or empty-result behavior.

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 the schema already documents page, perPage, and every enum value including pending_approval. The description's remark about the approval queue restates what the status enum description already says, adding little beyond the schema baseline.

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 workspace's order actions'), enumerates what counts as an action (refunds, cancellations, address changes, returns), and scopes it to the workspace, which separates it from the conversation-scoped sibling list_conversation_order_actions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The note that '`status: pending_approval` is the approval queue' implies a usage pattern, but the description never explicitly says when to pick this tool over list_conversation_order_actions or when to filter by status versus paging through everything. Usage is inferable but not stated.

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.